Zebra/zebra-rpc/src/methods
Arya 8ba3fd921a
change(rpc): Add confirmations to getrawtransaction method response (#6287)
* adds confirmation field to getrawtransaction

* Updates tests

* Adds comment about correctness

* Apply suggestion revisions from review

* fixes overflow bug and adds test for valid confirmations value

* Update test to check that confirmations isn't too high

* Update transaction request to return confirmations

* Applies suggestions from PR review

* Apply suggestions from code review

Co-authored-by: teor <teor@riseup.net>

* fixes test

* restore derives that were lost in a bad merge

---------

Co-authored-by: teor <teor@riseup.net>
2023-03-26 23:53:44 +00:00
..
get_block_template_rpcs change(log): Log a cute message for blocks that were mined by Zebra (off by default) (#6098) 2023-02-23 00:10:11 +00:00
tests change(rpc): Add confirmations to getrawtransaction method response (#6287) 2023-03-26 23:53:44 +00:00
get_block_template_rpcs.rs change(log): Log a cute message for blocks that were mined by Zebra (off by default) (#6098) 2023-02-23 00:10:11 +00:00
tests.rs change(rpc): Populate `blockcommitmenthash` and `defaultroot` fields in the getblocktemplate RPC (#5751) 2022-12-07 22:39:11 +00:00