We put our best effort into covering all topics related to Dimecoin. Each section will cover a different category. Not all documentation may be 100% accurate, if you spot an error, please report it or submit a PR request on GitHub.

REMINDER: This documentation is always evolving. If you have not been here for a while, perhaps check again. Things may have been added or updated since your last visit!

Constants and Defaults#

The following constants and defaults are taken from Dimecoin Core’s chainparams.cpp source code file.

Network

Default Port

Magic Value

Start String

Mainnet

11931

0xdd03a5fe

0xfea503dd

Testnet

21931

0x39309278

0x78923039

Regtest

31931

0x39923078

0x78309239

Note

The testnet start string above are for testnet3; the original testnet used a different string with less difficult nBits.

Command line parameters can change what port a node listens on (see -help). Start strings are hardcoded constants that appear at the start of all messages sent on the Dimecoin network; they may also appear in data files such as Dimecoin Core’s block database. The Magic Value and nBits displayed above are in big-endian order; they’re sent over the network in little-endian order. The Start String is simply the endian reversed Magic Value.

Dimecoin Core’s chainparams.cpp also includes other constants useful to programs, such as the hash of the genesis block blocks for the different networks.