Members
(static, constant) activationThreshold :Number
For versionbits.
Type:
- Number
- Default Value:
- 1916
- Source:
(static, constant) addressPrefix :String
Address prefix.
Type:
- String
- Source:
(static) block
Block constants.
- Source:
(static, constant) brontidePort :Number
Default brontide port.
Type:
- Number
- Default Value:
- 44806
- Source:
(static, constant) checkpointMap :Object
Checkpoint block list.
Type:
- Object
- Source:
(static, constant) claimPrefix :String
DNSSEC ownership prefix.
Type:
- String
- Source:
(static, constant) coinbaseMaturity :Number
Number of blocks before a coinbase spend can occur (consensus).
Type:
- Number
- Default Value:
- 100
- Source:
(static, constant) deflationHeight :Number
Activation height for inflation bug fix.
Type:
- Number
- Source:
(static, constant) deployments :Object
Deployments for versionbits.
Type:
- Object
- Default Value:
{"hardening":"","icannlockup":"","testdummy":""}
- Source:
(static, constant) deploys :Array
Deployments for versionbits (array form, sorted).
Type:
- Array
- Default Value:
["main.deployments.hardening","main.deployments.icannlockup","main.deployments.testdummy"]
- Source:
(static, constant) feeRate :Rate
Default normal relay rate.
Type:
- Default Value:
- 100000
- 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) goosigStop
Block height at which GooSig claims are disabled. This limits risk associated with newly discovered cryptography attacks or social engineering attacks.
Estimated to be disabled at 1 year + 1 month from the start of the network on mainnet.
- Source:
(static, constant) halvingInterval :Number
Reward halving interval. Roughly every 3.25 years.
Type:
- Number
- Default Value:
- 170000
- Source:
(static, constant) identityKey :Buffer|null
Default identity key (testing only).
Type:
- Buffer | null
- Source:
(static) keyPrefix :Number|String
Key prefixes.
Type:
- Number | String
Properties:
Name | Type | Description |
---|---|---|
privkey |
Number | String | |
xpubkey |
Number | String | |
xprivkey |
Number | String | |
xpubkey58 |
Number | String | |
xprivkey58 |
Number | String | |
coinType |
Number | String |
- Default Value:
{"privkey":128,"xpubkey":76067358,"xprivkey":76066276,"xpubkey58":"xpub","xprivkey58":"xprv","coinType":5353}
- Source:
(static, constant) lastCheckpoint :Number
Last checkpoint height.
Type:
- Number
- Default Value:
- 225000
- Source:
(static, constant) magic :Number
Packet magic number.
Type:
- Number
- Source:
(static, constant) maxFeeRate :Rate
Maximum normal relay rate.
Type:
- Default Value:
- 400000
- Source:
(static, constant) minerWindow :Number
Confirmation window for versionbits.
Type:
- Number
- Default Value:
- 2016
- Source:
(static, constant) minRelay :Rate
Default min relay rate.
Type:
- Default Value:
- 1000
- Source:
(static) names
Name-related constants.
- Source:
(static, constant) network.types :Array.<NetworkType>
Network type list.
Type:
- Array.<NetworkType>
- Default Value:
["main","testnet","regtest","simnet"]
- Source:
(static, constant) nsPort :Number
Default DNS port.
Type:
- Number
- Default Value:
- 5349
- Source:
(static, constant) port :Number
Default network port.
Type:
- Number
- Default Value:
- 12038
- Source:
(static) pow :Number
POW-related constants.
Type:
- Number
- Default Value:
{}
- Source:
(static, constant) pow.bits :Number
Compact pow limit.
Type:
- Number
- Default Value:
- 469827583
- Source:
(static, constant) pow.blocksPerDay :Number
Average blocks per day.
Type:
- Number
- Source:
(static, constant) pow.chainwork :BN
Minimum chainwork for best chain.
Type:
- Source:
(static, constant) pow.limit :BN
Default target.
Type:
- Source:
(static, constant) pow.maxActual :Number
Maximum actual time.
Type:
- Number
- Source:
(static, constant) pow.minActual :Number
Minimum actual time.
Type:
- Number
- Source:
(static, constant) pow.noRetargeting :Boolean
Do not allow retargetting.
Type:
- Boolean
- Source:
(static, constant) pow.targetReset :Boolean
Whether to reset target if a block has not been mined recently.
Type:
- Boolean
- Source:
(static, constant) pow.targetSpacing :Number
Average block time.
Type:
- Number
- Source:
(static, constant) pow.targetTimespan :Number
Desired retarget period in seconds.
Type:
- Number
- Source:
(static, constant) pow.targetWindow :Number
Retarget window in blocks.
Type:
- Number
- Default Value:
- 144
- 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
- Default Value:
- true
- Source:
(static, constant) rpcPort :Number
Default http port.
Type:
- Number
- Default Value:
- 12037
- Source:
(static, constant) rsPort :Number
Default recursive DNS port.
Type:
- Number
- Default Value:
- 5350
- Source:
(static, constant) seeds :Array.<String>
Default DNS seeds.
Type:
- Array.<String>
- Default Value:
["hs-mainnet.bcoin.ninja","seed.easyhandshake.com"]
- Source:
(static, constant) selfConnect :Boolean
Whether to allow self-connection.
Type:
- Boolean
- Source:
(static, constant) txStart :Number
Prohibit all transactions until sufficient chainwork has been accumulated.
Type:
- Number
- Source:
(static, constant) type :String
Symbolic network type.
Type:
- String
- Default Value:
- main
- Source:
(static, constant) walletPort :Number
Default wallet port.
Type:
- Number
- Default Value:
- 12039
- Source: