fix: deprecate wrong and unused max script num
This commit is contained in:
parent
0d9e8f8c99
commit
345d3daa72
|
@ -47,6 +47,7 @@ pub const MAX_STACK_ELEMENT_SIZE: usize = 520;
|
||||||
/// How may blocks between halvings.
|
/// How may blocks between halvings.
|
||||||
pub const SUBSIDY_HALVING_INTERVAL: u32 = 210_000;
|
pub const SUBSIDY_HALVING_INTERVAL: u32 = 210_000;
|
||||||
/// Maximum allowed value for an integer in Script.
|
/// Maximum allowed value for an integer in Script.
|
||||||
|
#[deprecated(since = "TBD", note = "This constant has ambiguous semantics. Please carefully check your intended use-case and define a new constant reflecting that.")]
|
||||||
pub const MAX_SCRIPTNUM_VALUE: u32 = 0x80000000; // 2^31
|
pub const MAX_SCRIPTNUM_VALUE: u32 = 0x80000000; // 2^31
|
||||||
/// Number of blocks needed for an output from a coinbase transaction to be spendable.
|
/// Number of blocks needed for an output from a coinbase transaction to be spendable.
|
||||||
pub const COINBASE_MATURITY: u32 = 100;
|
pub const COINBASE_MATURITY: u32 = 100;
|
||||||
|
|
Loading…
Reference in New Issue