Zebra/zebra-rpc/src
Arya 6fdd02220e
fix(rpc): Omit transactions with transparent coinbase spends that are immature at the next block height from block templates (#6510)
* Adds `maturity_height` to VerifiedUnminedTx

Filters out transactions that are invalid at next_block_height in getblocktemplate method

* Adds unit testing

* rustfmt

* rejects txs with immature coinbase spends from mempool

* Condenses fns for transparent coinbase spend check

* Updates calls to VerifiedUnminedTx::new()

* Update zebra-chain/src/transparent/utxo.rs

* Applies suggestions from code review
2023-04-18 03:43:39 +00:00
..
methods fix(rpc): Omit transactions with transparent coinbase spends that are immature at the next block height from block templates (#6510) 2023-04-18 03:43:39 +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 fix(rpc): Check that mempool transactions are valid for the state's chain info in getblocktemplate (#6416) 2023-04-03 23:22:07 +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