Zebra/zebra-chain/src/transparent
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
..
tests fix(clippy): Put Rust format variables inline (#5783) 2022-12-08 01:05:57 +00:00
address.rs change(rpc): support transparent p2pkh miner addresses (#5827) 2022-12-09 05:17:55 +00:00
arbitrary.rs Add a random number of transactions to generated blocks, rather than always 2 (#2567) 2021-08-04 20:48:15 +00:00
keys.rs chain: create a transparent module. 2020-08-17 11:46:34 -07:00
opcodes.rs change(rpc): support transparent p2pkh miner addresses (#5827) 2022-12-09 05:17:55 +00:00
script.rs change(rpc): Match `zcashd`'s block template exactly (#5867) 2022-12-19 18:52:43 +00:00
serialize.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 Fix coinbase height deserialization (#3129) 2021-12-06 08:38:02 +10:00
utxo.rs 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