Zebra/zebra-chain/src/block
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(chain): Validate header versions when serializing blocks (#6475) 2023-04-12 04:54:02 +00:00
arbitrary.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
commitment.rs fix(diagnostics): Hex-encode debug format of commitments, nonces, and nullifiers (#5960) 2023-01-17 13:57:22 +00:00
error.rs remove dead code from zebra-chain (#5464) 2022-10-25 03:23:50 +00:00
hash.rs change(rpc): Refactor get block template RPC into stages (#5837) 2022-12-13 21:25:04 +00:00
header.rs fix(diagnostics): Hex-encode debug format of commitments, nonces, and nullifiers (#5960) 2023-01-17 13:57:22 +00:00
height.rs change(chain): Refactor the handling of height differences (#6330) 2023-03-29 23:06:31 +00:00
merkle.rs 3. change(rpc): Add fee and sigops fields to getblocktemplate transactions (#5508) 2022-11-03 17:03:41 +00:00
serialize.rs fix(chain): Validate header versions when serializing blocks (#6475) 2023-04-12 04:54:02 +00:00
tests.rs change(docs): Replaces XXX with TODO (#6417) 2023-03-28 04:13:04 +00:00