kubo/core
Rod Vagg 0057199af4
feat: dag import --stats (#8237)
* feat: report block count on `dag import`
* fix: clean-up dag import message format
* Only print stats when --stats flag is passed

This applies to both text and json output encoding.

- Stats data is now contained within a Stats datastructure
- Stats are printed after root so that first line of output is the same as previously, even when stats are output using --stats

* fix sharness test

* Add PayloadBytesCount to stats

* Attempt to stabilize flaky tests

* Rename PayloadBytesCount to BlockBytesCount

* Correctly calculate size or imported dag

* Use RawSize of original block for import bytes calc

* test: dag import without --stats

basic regression tests for the default output (text and json)

Co-authored-by: gammazero <gammazero@users.noreply.github.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2021-09-23 16:23:57 +02:00
..
bootstrap fix(tracing): remove event tracing 2020-01-28 21:31:12 -08:00
commands feat: dag import --stats (#8237) 2021-09-23 16:23:57 +02:00
coreapi IPLD Prime In IPFS: Target Merge Branch (#7976) 2021-08-17 13:32:49 -04:00
coredag gx: unrewrite 2019-03-05 18:33:56 +01:00
corehttp feat: ipfs-webui v2.13.0 (#8430) 2021-09-21 20:36:27 +02:00
corerepo fix(tracing): remove event tracing 2020-01-28 21:31:12 -08:00
coreunix Fix typos and cleanup 2020-04-20 22:00:01 +03:00
mock fix: run tests in "dht server" mode 2020-04-09 23:07:27 -07:00
node feat(cli): add daemon option --agent-version-suffix (#8419) 2021-09-21 20:31:08 +02:00
.gitignore
builder.go fix: get rid of shutdown errors 2020-03-29 20:48:43 -07:00
core_test.go quic: remove experimental status and add it to the default config 2020-05-22 04:54:19 +02:00
core.go update go-libp2p to v0.15.0-rc.1 2021-08-19 18:05:04 +02:00