Skip to main content

Network Parameters

Complete reference of Bitmark's network and consensus parameters.

Network Configuration

Ports

ParameterMainnetTestnetRegtest
P2P Port92651926518444
RPC Port92661926618332

Network Magic

NetworkMagic BytesHex
Mainnetù¾´Ù0xf9beb4d9
Testnet·0x0b110907
RegtestúûñÝ0xfabfb5da

Address Prefixes

TypeMainnetTestnet
P2PKH85 (b)130 (u)
P2SH5196
Secret Key213239
BIP32 Public0x0488B21E0x043587CF
BIP32 Private0x0488ADE40x04358394

Genesis Block

Mainnet Genesis

ParameterValue
Timestamp1405274442 (July 13, 2014 12:00:42 UTC)
Message"13/July/2014, with memory of the past, we look to the future. TDR"
Hash0xc1fb746e87e89ae75bdec2ef0639a1f6786744639ce3d0ece1dcf979b79137cb
Merkle Root0xd4715adf41222fae3d4bf41af30c675bc27228233d0f3cfd4ae0ae1d3e760ba8
nBits0x1d00ffff
nNonce14385103
Subsidy20 MARKS

Genesis Block (Hex)

01000000
0000000000000000000000000000000000000000000000000000000000000000
d4715adf41222fae3d4bf41af30c675bc27228233d0f3cfd4ae0ae1d3e760ba8
ea594c53
ffff001d
af0fb300

Consensus Parameters

Block Timing

ParameterValueDescription
Target Block Time120 sec2 minutes
Per-Algo Target960 sec16 minutes
DGW Window25 blocksPer algorithm
Max Time Future7200 sec2 hours

Proof of Work

ParameterValue
PoW Limit (mainnet)2^224 - 1
PoW Limit (testnet)2^248 - 1
Algorithm Count8

Block Size

ParameterValue
Max Block Size1,000,000 bytes
Max Block Weight4,000,000
Max Sigops80,000

Transaction

ParameterValue
Max Tx Size100,000 bytes
Min Relay Fee1,000 satoshis/kB
Dust Threshold546 satoshis

Fork Parameters

mPoW Fork (Block 450,947)

ParameterValue
Activation Block450,947
Activation Method75% supermajority
Minimum Version4

Block Version Flags

FlagBitValue
AUXPOW80x100
ALGO (mask)9-110xE00
UPDATE_SSF120x1000
VARIANT130x2000
VARIANT2140x4000
CHAIN_ID16+0x10000+

Chain ID

ParameterValue
Bitmark Chain ID91 (0x5B)
Strict Chain IDtrue

Algorithm Weights

IDAlgorithmWeight
0SCRYPT8,000
1SHA256D1
2YESCRYPT800,000
3ARGON2D4,000,000
4X178,000
5LYRA2REv28,000
6EQUIHASH8,000,000
7CRYPTONIGHT8,000,000

Monetary Parameters

Supply

ParameterValue
Maximum Supply27,579,894.73108 MARKS
Satoshis2,757,989,473,108,000
Decimals8

Emission

ParameterValue
Initial Reward20 MARKS
Per-Algo Reward2.5 MARKS
First Halving788,000 blocks
First Quartering394,000 blocks

Difficulty Parameters

DGWv3

ParameterValue
Timespan960 seconds
Window25 blocks
Min Adjustment1/3
Max Adjustment3x

Surge Protector

ParameterValue
Trigger9 consecutive blocks
ActionDivide by 3

Resurrector

ParameterValue
Trigger9,600 seconds (160 min)
ActionProportional reduction

Script Parameters

Standard Scripts

TypeSupported
P2PKHYes
P2SHYes
P2WPKHNo (legacy)
P2WSHNo (legacy)
OP_RETURNYes

OP_RETURN

ParameterValue
Max Size80 bytes
MRK Size37 bytes

Network Seeds

DNS Seeds (Mainnet)

seed.bitmark.co
dnsseed.bitmark.io

Hardcoded Nodes

See chainparams.cpp for current list of bootstrap nodes.

Protocol Messages

Message Header

FieldSizeDescription
Magic4 bytesNetwork identifier
Command12 bytesMessage type
Length4 bytesPayload size
Checksum4 bytesFirst 4 bytes of SHA256d(payload)

Message Types

CommandDescription
versionVersion exchange
verackVersion acknowledged
addrAddress announcement
invInventory
getdataRequest data
blockBlock data
txTransaction data
getblocksRequest block locator
getheadersRequest headers
headersBlock headers
pingKeep-alive
pongKeep-alive response

Equihash Parameters

ParameterValue
N200
K9
Solution Size~1344 bytes
Nonce Size32 bytes

Configuration File

Default locations:

  • Linux: ~/.bitmark/bitmark.conf
  • macOS: ~/Library/Application Support/Bitmark/bitmark.conf
  • Windows: %APPDATA%\Bitmark\bitmark.conf

Required Settings

rpcuser=<username>
rpcpassword=<password>

Common Settings

# Network
listen=1
server=1
daemon=1
port=9265

# RPC
rpcport=9266
rpcallowip=127.0.0.1

# Testnet
testnet=0

# Mining
gen=0

# Index
txindex=1

Data Directory Structure

~/.bitmark/
├── bitmark.conf
├── blocks/
│ ├── blk00000.dat
│ ├── blk00001.dat
│ └── rev00000.dat
├── chainstate/
├── database/
├── debug.log
├── peers.dat
├── wallet.dat
└── .lock

See Also