15 lines
622 B
Rust
15 lines
622 B
Rust
/// The maturity threshold for transparent coinbase outputs.
|
|
///
|
|
/// A transaction MUST NOT spend a transparent output of a coinbase transaction
|
|
/// from a block less than 100 blocks prior to the spend. Note that transparent
|
|
/// outputs of coinbase transactions include Founders' Reward outputs.
|
|
pub const MIN_TRASPARENT_COINBASE_MATURITY: u32 = 100;
|
|
|
|
/// The maximum chain reorganisation height.
|
|
///
|
|
/// Allowing reorganisations past this height could allow double-spends of
|
|
/// coinbase transactions.
|
|
pub const MAX_BLOCK_REORG_HEIGHT: u32 = MIN_TRASPARENT_COINBASE_MATURITY - 1;
|
|
|
|
pub const SLED_FORMAT_VERSION: u32 = 1;
|