Update network magics and genesis difficulty for v1.0.0
This commit is contained in:
parent
9e0ec8cc89
commit
b84f7ac683
|
@ -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
|
||||||
|
|
|
@ -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',
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue