utreexo / utreexod

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

wire: Add custom json marshaling for leaf data #34

Closed kcalvinalvin closed 1 year ago

kcalvinalvin commented 1 year ago

The leaf data is also useful for wallets as it's all the data they need to prove that their utxo exists to other utreexo nodes. Having json marshal support allows users to easily store the data as in json format.

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 3683129574


Changes Missing Coverage Covered Lines Changed/Added Lines %
wire/leaf.go 48 56 85.71%
<!-- Total: 48 56 85.71% -->
Files with Coverage Reduction New Missed Lines %
peer/peer.go 9 75.37%
<!-- Total: 9 -->
Totals Coverage Status
Change from base Build 3682754735: 0.04%
Covered Lines: 27283
Relevant Lines: 50986

💛 - Coveralls