btcsuite / btcd

An alternative full node bitcoin implementation written in Go (golang)
https://github.com/btcsuite/btcd/blob/master/README.md
ISC License
6.09k stars 2.31k forks source link

blockchain, main: add and fix logs #2182

Closed kcalvinalvin closed 1 month ago

kcalvinalvin commented 1 month ago

The trailing : is removed from the utxocache log. It just looks better.

If the node is pruned, we now log what MiB it's pruned to. Logging alerts the user that the node is pruned and it helps for debugging purposes as well since we can now see from the logging whether or not the node is pruned.

coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 8907519746

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
server.go 0 3 0.0%
<!-- Total: 1 4 25.0% -->
Totals Coverage Status
Change from base Build 8881487645: 0.01%
Covered Lines: 29456
Relevant Lines: 51784

💛 - Coveralls