Constructor
new DeploymentState()
Create a deployment state.
Properties:
Name | Type | Description |
---|---|---|
flags |
VerifyFlags | |
lockFlags |
LockFlags | |
bip34 |
Boolean |
- Source:
Methods
hasBIP34() → {Boolean}
Test whether bip34 (coinbase height) is active.
- Source:
Returns:
- Type
- Boolean
hasBIP66() → {Boolean}
Test whether bip66 (VERIFY_DERSIG) is active.
- Source:
Returns:
- Type
- Boolean
hasBIP91() → {Boolean}
Test whether bip91 is active.
- Source:
Returns:
- Type
- Boolean
hasBIP148() → {Boolean}
Test whether bip148 is active.
- Source:
Returns:
- Type
- Boolean
hasCLTV() → {Boolean}
Test whether cltv is active.
- Source:
Returns:
- Type
- Boolean
hasCSV() → {Boolean}
Test whether csv is active.
- Source:
Returns:
- Type
- Boolean
hasMTP() → {Boolean}
Test whether median time past locktime is active.
- Source:
Returns:
- Type
- Boolean
hasP2SH() → {Boolean}
Test whether p2sh is active.
- Source:
Returns:
- Type
- Boolean
hasWitness() → {Boolean}
Test whether segwit is active.
- Source:
Returns:
- Type
- Boolean