Class: DeploymentState

blockchain.DeploymentState

new DeploymentState()

Represents the deployment state of the chain.

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

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