utreexo / utreexod

A fully validating Bitcoin node with Utreexo support
ISC License
90 stars 21 forks source link

rpcserver: Add verbosity option to proveutxochaintipinclusion #13

Closed kcalvinalvin closed 2 years ago

kcalvinalvin commented 2 years ago

RPC call proveutxochaintipinclusion now has a verbosity option. By default it is on and when on, it will print the json representation of the proof along with the raw serialized hex string of the entire proof.

When the verbosity is off, the proveutxochaintipinclusion call will only return the raw serialized hex string of the proof.

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 1657268937


Changes Missing Coverage Covered Lines Changed/Added Lines %
blockchain/indexers/flatutreexoproofindex.go 8 14 57.14%
blockchain/indexers/utreexoproofindex.go 8 14 57.14%
rpcserver.go 0 16 0.0%
blockchain/utreexoviewpoint.go 46 68 67.65%
<!-- Total: 66 116 56.9% -->
Files with Coverage Reduction New Missed Lines %
blockchain/indexers/flatutreexoproofindex.go 1 66.8%
blockchain/indexers/utreexoproofindex.go 1 72.61%
peer/peer.go 9 74.9%
<!-- Total: 11 -->
Totals Coverage Status
Change from base Build 1656809184: 0.04%
Covered Lines: 26212
Relevant Lines: 47973

💛 - Coveralls