You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.2 KiB
43 lines
1.2 KiB
var Put = require('bufferput');
|
|
var buffertools = require('buffertools');
|
|
var hex = function(hex) {return new Buffer(hex, 'hex');};
|
|
|
|
exports.livenet = {
|
|
name: 'livenet',
|
|
magic: hex('f9beb4d9'),
|
|
addressVersion: 0x00,
|
|
privKeyVersion: 128,
|
|
P2SHVersion: 5,
|
|
bip32publicVersion: 0x0488b21e,
|
|
bip32privateVersion: 0x0488ade4,
|
|
genesisBlock: {
|
|
hash: hex('6FE28C0AB6F1B372C1A6A246AE63F74F931E8365E15A089C68D6190000000000'),
|
|
merkle_root: hex('3BA3EDFD7A7B12B27AC72C3E67768F617FC81BC3888A51323A9FB8AA4B1E5E4A'),
|
|
height: 0,
|
|
nonce: 2083236893,
|
|
version: 1,
|
|
prev_hash: buffertools.fill(new Buffer(32), 0),
|
|
timestamp: 1231006505,
|
|
bits: 486604799,
|
|
}
|
|
};
|
|
|
|
exports.testnet = {
|
|
name: 'testnet',
|
|
magic: hex('0b110907'),
|
|
addressVersion: 0x6f,
|
|
privKeyVersion: 239,
|
|
P2SHVersion: 196,
|
|
bip32publicVersion: 0x043587cf,
|
|
bip32privateVersion: 0x04358394,
|
|
genesisBlock: {
|
|
hash: hex('43497FD7F826957108F4A30FD9CEC3AEBA79972084E90EAD01EA330900000000'),
|
|
merkle_root: hex('3BA3EDFD7A7B12B27AC72C3E67768F617FC81BC3888A51323A9FB8AA4B1E5E4A'),
|
|
height: 0,
|
|
nonce: 414098458,
|
|
version: 1,
|
|
prev_hash: buffertools.fill(new Buffer(32), 0),
|
|
timestamp: 1296688602,
|
|
bits: 486604799,
|
|
}
|
|
};
|
|
|