Closed moodyjon closed 2 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
claimtrie/node/log.go | 0 | 6 | 0.0% | ||
claimtrie/logger.go | 19 | 35 | 54.29% | ||
<!-- | Total: | 25 | 47 | 53.19% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
peer/peer.go | 8 | 75.92% | ||
<!-- | Total: | 8 | --> |
Totals | |
---|---|
Change from base Build 2450492318: | -0.01% |
Covered Lines: | 22471 |
Relevant Lines: | 43376 |
Though we don't track total number of claims at the moment, this looks like a nice improvement already.
Fixes: https://github.com/lbryio/lbcd/issues/50
I copied claimtrie/logger.go from netsync/blocklogger.go. Copyright comment from there left intact. Let me know if there is a better way to handle derivative works like this.
I did not find a way to handle percentage progress... The pebble stats API stuff seems to be private, so I did not try to use that to estimate the number of records.
Example output: