Zebra/zebra-rpc/src
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
..
methods change(rpc): Add confirmations to getrawtransaction method response (#6287) 2023-03-26 23:53:44 +00:00
queue change(rpc): Add confirmations to getrawtransaction method response (#6287) 2023-03-26 23:53:44 +00:00
server fix(rpc): Make RPC "incorrect parameters" error code match `zcashd` (#6066) 2023-02-01 18:20:48 +00:00
tests change(rpc): Add confirmations to getrawtransaction method response (#6287) 2023-03-26 23:53:44 +00:00
config.rs change(rpc): Provide and parse a long poll ID, but don't use it yet (#5796) 2022-12-09 01:41:46 +00:00
constants.rs fix(rpc): Make RPC "incorrect parameters" error code match `zcashd` (#6066) 2023-02-01 18:20:48 +00:00
lib.rs fix(rpc): Make RPC "incorrect parameters" error code match `zcashd` (#6066) 2023-02-01 18:20:48 +00:00
methods.rs change(rpc): Add confirmations to getrawtransaction method response (#6287) 2023-03-26 23:53:44 +00:00
queue.rs change(rpc): Add confirmations to getrawtransaction method response (#6287) 2023-03-26 23:53:44 +00:00
server.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 feat(rpc): add getrawtransaction (#3908) 2022-03-24 09:45:37 +00:00