Function cuprate_consensus_rules::miner_tx::check_miner_tx

source ยท
pub fn check_miner_tx(
    tx: &Transaction,
    total_fees: u64,
    chain_height: usize,
    block_weight: usize,
    median_bw: usize,
    already_generated_coins: u64,
    hf: &HardFork,
) -> Result<u64, MinerTxError>
Expand description

Checks all miner transactions rules.

Excluding: https://monero-book.cuprate.org/consensus_rules/blocks/miner_tx.html#v2-output-pool

as this needs to be done in a database.