btcd icon indicating copy to clipboard operation
btcd copied to clipboard

rpcserver: add gettxoutsetinfo

Open guilhermep opened this issue 5 years ago • 1 comments

This PR adds gettxoutsetinfo to the RPC server.

Not sure whether or not to lock the blockchain during the call. Naturally it may take some time due to the size of the UTXO set, so locking may leave the node temporarily nonfunctional. However, not doing so may lead to inconsistent data.

Closes #142

guilhermep avatar Nov 20 '20 04:11 guilhermep

Pull Request Test Coverage Report for Build 373699797

  • 0 of 111 (0.0%) changed or added relevant lines in 4 files are covered.
  • 3 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.1%) to 53.271%

Changes Missing Coverage Covered Lines Changed/Added Lines %
database/ffldb/db.go 0 10 0.0%
btcjson/chainsvrresults.go 0 18 0.0%
rpcserver.go 0 18 0.0%
blockchain/chainio.go 0 65 0.0%
<!-- Total: 0 111
Files with Coverage Reduction New Missed Lines %
btcec/signature.go 3 92.48%
<!-- Total: 3
Totals Coverage Status
Change from base Build 362527469: -0.1%
Covered Lines: 20835
Relevant Lines: 39111

💛 - Coveralls

coveralls avatar Nov 20 '20 04:11 coveralls