Skip to content

Blockchain Parameters

Jon Layton edited this page Aug 8, 2018 · 14 revisions

Zclassic (and Bitcoin Private) Parameters

Genesis Block -

'No taxation without representation. BTC #437541 - 00000000000000000397f175a94dd3f530b957182eb2a9f7b79a44a94a5e0450'

Block Hash: '0x0007104ccda289427919efc39dc9e4d499804b7bebc22df55f8b834301260602'

https://github.com/BTCPrivate/BitcoinPrivate/blob/master/src/chainparams.cpp#L94

https://github.com/BTCPrivate/BitcoinPrivate/blob/master/src/chainparams.cpp#L75

RPC / P2P Ports -

RPC port: ZCL - 8023, BTCP - 7932

P2P port: ZCL - 8033, BTCP - 7933

https://github.com/z-classic/zclassic/blob/master/src/chainparamsbase.cpp#L20

Difficulty Adjustment Algorithm -

Digishield V3

Adjusts Every Block; MAX Down 32%, Up 16%

https://github.com/BTCPrivate/BitcoinPrivate/blob/master/src/chainparams.cpp#L46

Supply -

21,000,000 (divisible into satoshis / 'zatoshis', e.g. 1/100,000,000ths)

https://github.com/BTCPrivate/BitcoinPrivate/blob/master/src/amount.h#L28

Block Interval -

2.5 Minutes

https://github.com/BTCPrivate/BitcoinPrivate/blob/master/src/chainparams.cpp#L51

Block Size -

2MB

https://github.com/BTCPrivate/BitcoinPrivate/blob/master/src/consensus/consensus.h#L14

PoW -

Equihash

https://github.com/BTCPrivate/BitcoinPrivate/blob/master/src/chainparams.cpp#L65

Max PoW: '0x07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'

https://github.com/BTCPrivate/BitcoinPrivate/blob/master/src/chainparams.cpp#L46

2-Way Replay Protection -

Yes (For BitcoinPrivate) (Implemented)

https://github.com/BTCPrivate/BitcoinPrivate/issues/8

Subsidy (aka Block Reward) Halving Interval -

Every 840,000 Blocks

https://github.com/BTCPrivate/BitcoinPrivate/blob/master/src/chainparams.cpp#L42

Halving 'Slow Start' -

No

https://github.com/BTCPrivate/BitcoinPrivate/blob/master/src/chainparams.cpp#L41

https://github.com/zcash/zcash/commit/b1f699660f0a9f313c282c0a0b376221acf909b7

Founders' Reward (20% Mining Tax) -

No

https://github.com/BTCPrivate/BitcoinPrivate/blob/master/src/chainparams.cpp#L138

Other -

Zcash Ceremony Params (Sprout Proving Key, Sprout Verifying Key):

https://github.com/z-classic/zclassic/blob/master/zcutil/fetch-params.sh#L13

pchMessageStart ("peermagic"):

https://github.com/BTCPrivate/BitcoinPrivate/blob/master/src/chainparams.cpp#L56

Latest/Current PROTOCOL_VERSION:

ZCL - 170002
https://github.com/z-classic/zclassic/blob/master/src/version.h#L12

BTCP - 180004
https://github.com/BTCPrivate/BitcoinPrivate/blob/master/src/version.h#L12

base58Prefixes:

https://github.com/BTCPrivate/BitcoinPrivate/blob/master/src/chainparams.cpp#L103

ZMQ Port:

28332
https://github.com/z-classic/zclassic/blob/master/qa/rpc-tests/zmq_test.py#L27

VERBYTES, WIF_BYTE, Ports:

https://github.com/heyrhett/electrumx/commit/e594ca8887267495b9eec22c125015e92c631364

Min Relay Fee:

https://github.com/z-classic/zclassic/blob/master/src/main.h#L64

Number of blocks for Coinbase (block reward) maturity:

https://github.com/z-classic/zclassic/blob/master/src/consensus/consensus.h#L20


BTCP vs ZCL vs ZEC vs BTC vs BCH vs BTG:

https://docs.google.com/spreadsheets/d/1YnwZc9r8SQHoAjEBEjUCsCIOGqEZujoCaK86cUTH78M/edit?usp=sharing