Skip to content

Instantly share code, notes, and snippets.

@jan-willems
jan-willems / gist:626c9a663387da8292c9
Created July 15, 2015 11:14
insight regtest genesis block
/* magic: https://en.bitcoin.it/wiki/Protocol_documentation#Common_structures */
exports.testnet = {
name: 'testnet',
magic: hex('fabfb5da'), /* bitcoind with -regtest uses "testnet" magic */
addressVersion: 0x6f, /* same */
privKeyVersion: 239, /* same */
P2SHVersion: 196, /* same */
hkeyPublicVersion: 0x043587cf, /* insight specific */
hkeyPrivateVersion: 0x04358394, /* insight specific */
genesisBlock: {