Module: protocol/networks

Members

(static, constant) activationThreshold :Number

For versionbits.

Type:
  • Number
Source:

(static) addressPrefix :Number

Address prefixes.

Type:
  • Number
Source:

(static, constant) bip30 :Object

Map of historical blocks which create duplicate transactions hashes.

Type:
  • Object
Default Value:
  • {"undefined":""}
Source:
See:

(static) block :Number

Block constants.

Type:
  • Number
Default Value:
  • {"bip34height":"","bip34hash":"","bip65height":"","bip65hash":"","bip66height":"","bip66hash":"","pruneAfterHeight":"","keepBlocks":"","maxTipAge":"","slowHeight":""}
Source:

(static, constant) checkpointMap :Object

Checkpoint block list.

Type:
  • Object
Source:

(static, constant) deployments :Object

Deployments for versionbits.

Type:
  • Object
Default Value:
  • {"csv":"","segwit":"","segsignal":"","testdummy":""}
Source:

(static, constant) deploys :Array

Deployments for versionbits (array form, sorted).

Type:
  • Array
Default Value:
  • ["main.deployments.csv","main.deployments.segwit","main.deployments.segsignal","main.deployments.testdummy"]
Source:

(static, constant) feeRate :Rate

Default normal relay rate.

Type:
  • Rate
Source:

(static, constant) genesis :Object

Genesis block header.

Type:
  • Object
Source:

(static, constant) genesisBlock :String

The network's genesis block in a hex string.

Type:
  • String
Source:

(static, constant) halvingInterval :Number

Type:
  • Number
Source:

(static) keyPrefix :Number

Key prefixes.

Type:
  • Number
Default Value:
  • {"privkey":"","xpubkey":"","xprivkey":"","xpubkey58":"","xprivkey58":"","coinType":""}
Source:

(static, constant) lastCheckpoint :Number

Last checkpoint height.

Type:
  • Number
Source:

(static, constant) magic :Number

Packet magic number.

Type:
  • Number
Source:

(static, constant) maxFeeRate :Rate

Maximum normal relay rate.

Type:
  • Rate
Source:

(static, constant) minerWindow :Number

Confirmation window for versionbits.

Type:
  • Number
Source:

(static, constant) minRelay :Rate

Default min relay rate.

Type:
  • Rate
Source:

(static, constant) network.types :Array.<String>

Network type list.

Type:
  • Array.<String>
Default Value:
  • ["","","",""]
Source:

(static, constant) port :Number

Default network port.

Type:
  • Number
Source:

(static) pow :Number

POW-related constants.

Type:
  • Number
Default Value:
  • {"limit":"","bits":"","chainwork":"","targetTimespan":"","targetSpacing":"","retargetInterval":"","targetReset":"","noRetargeting":""}
Source:

(static, constant) requestMempool :Boolean

Whether to request mempool on sync.

Type:
  • Boolean
Source:

(static, constant) requireStandard :Boolean

Default value for whether the mempool accepts non-standard transactions.

Type:
  • Boolean
Source:

(static, constant) rpcPort :Number

Default http port.

Type:
  • Number
Source:

(static, constant) seeds :Array.<String>

Default DNS seeds.

Type:
  • Array.<String>
Default Value:
  • ["","","","","",""]
Source:

(static, constant) selfConnect :Boolean

Whether to allow self-connection.

Type:
  • Boolean
Source:

(static, constant) type :String

Symbolic network type.

Type:
  • String
Source:

(static, constant) walletPort :Number

Default wallet port.

Type:
  • Number
Source: