Update network magics and genesis difficulty for v1.0.0

This commit is contained in:
Jack Grigg 2016-10-28 08:55:21 -07:00
parent 9e0ec8cc89
commit b84f7ac683
No known key found for this signature in database
GPG Key ID: 6A6914DAFBEA00DA
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ var Hash = require('../crypto/hash');
var JSUtil = require('../util/js'); var JSUtil = require('../util/js');
var $ = require('../util/preconditions'); var $ = require('../util/preconditions');
var GENESIS_BITS = 0x2007ffff; var GENESIS_BITS = 0x1f07ffff;
/** /**
* Instantiate a BlockHeader from a Buffer, JSON object, or Object with * Instantiate a BlockHeader from a Buffer, JSON object, or Object with

View File

@ -140,7 +140,7 @@ addNetwork({
xprivkey: 0x0488ade4, xprivkey: 0x0488ade4,
zaddr: 0x169a, zaddr: 0x169a,
zkey: 0xab36, zkey: 0xab36,
networkMagic: 0xf9f3acab, networkMagic: 0x24e92764,
port: 8233, port: 8233,
dnsSeeds: [ dnsSeeds: [
'dnsseed.z.cash', 'dnsseed.z.cash',
@ -177,7 +177,7 @@ var testnet = get('testnet');
var TESTNET = { var TESTNET = {
PORT: 18233, PORT: 18233,
NETWORK_MAGIC: BufferUtil.integerAsBuffer(0xfa1a24b6), NETWORK_MAGIC: BufferUtil.integerAsBuffer(0xfa1af9bf),
DNS_SEEDS: [ DNS_SEEDS: [
'dnsseed.testnet.z.cash', 'dnsseed.testnet.z.cash',
] ]