Skip to content

Commit

Permalink
final genesis block for testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
maraoz committed Mar 13, 2017
1 parent 165c1c5 commit 7343db6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions bin/permanent
@@ -0,0 +1,6 @@
#!/bin/bash

until ./bin/start; do
echo "Node crashed with exit code $?. Respawning.." >&2
sleep 1
done
Binary file modified data/genesis.tld
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/protocol/networks.js
Expand Up @@ -622,7 +622,7 @@ testnet.batchSize = [
[250]
];

const testnetGenesis = genesis({network: testnet});
const testnetGenesis = genesis({network: testnet, content: new Buffer('f9173add1f30696f5f82e472e20fee6495765744000000000000000000000000', 'hex')});
testnet.genesisBlock = testnetGenesis.toRaw().toString('hex');
testnet.genesis.hash = testnetGenesis.hash().toString('hex');
testnet.genesis.merkleRoot = testnetGenesis.merkleRoot.toString();
Expand Down

0 comments on commit 7343db6

Please sign in to comment.