aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei-Ning Huang <w@cobinhood.com>2018-10-13 16:34:36 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:49 +0800
commit7574700a4ccd20bc15c3ba28f1671eb66769e8bc (patch)
tree4a3f4f6faae5b4c7a82caee0c20850286b5d08bc
parent902f6508b7655cee0231bc5bd2ade9261f79f6f1 (diff)
downloaddexon-7574700a4ccd20bc15c3ba28f1671eb66769e8bc.tar
dexon-7574700a4ccd20bc15c3ba28f1671eb66769e8bc.tar.gz
dexon-7574700a4ccd20bc15c3ba28f1671eb66769e8bc.tar.bz2
dexon-7574700a4ccd20bc15c3ba28f1671eb66769e8bc.tar.lz
dexon-7574700a4ccd20bc15c3ba28f1671eb66769e8bc.tar.xz
dexon-7574700a4ccd20bc15c3ba28f1671eb66769e8bc.tar.zst
dexon-7574700a4ccd20bc15c3ba28f1671eb66769e8bc.zip
misc: add testing nodeKey and genesis.json
-rw-r--r--misc/genesis.json51
-rw-r--r--misc/nodekey1
-rw-r--r--misc/test.key1
3 files changed, 52 insertions, 1 deletions
diff --git a/misc/genesis.json b/misc/genesis.json
new file mode 100644
index 000000000..36284b6b7
--- /dev/null
+++ b/misc/genesis.json
@@ -0,0 +1,51 @@
+{
+ "config": {
+ "chainId": 1,
+ "homesteadBlock": 1,
+ "eip150Block": 2,
+ "eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "eip155Block": 3,
+ "eip158Block": 3,
+ "dexcon": {
+ "numChain": 4,
+ "lambdaBA": 250,
+ "lambdaDKG": 2500,
+ "k": 0,
+ "phiRatio": 667000,
+ "notarySetSize": 4,
+ "dkgSetSize": 4,
+ "roundInterval": 600000,
+ "minBlockInterval": 900,
+ "maxBlockInterval": 1100
+ }
+ },
+ "nonce": "0x42",
+ "timestamp": "0x596a5b14",
+ "extraData": "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "gasLimit": "0x2fefd800",
+ "difficulty": "0x20000",
+ "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase": "0x0000000000000000000000000000000000000000",
+ "alloc": {
+ "0x15bE695Bb823d51130924EF587B5ec5b85EF1531": {
+ "balance": "1000000000000000000000",
+ "staked": "500000000000000000000",
+ "publicKey": "0x03b14eb5acedce8fdf96d62468fd35e15ef4812cea6c08429bcd13fb8be492b63b"
+ },
+ "0x900415b2aE1Cd28460E88741860d9fD3B1D3cD14": {
+ "balance": "1000000000000000000000",
+ "staked": "500000000000000000000",
+ "publicKey": "0x024e7574e0591a1246d68c1f7fb7821a9c97958e9f5a6521a19e546bf8fb7b3ff2"
+ },
+ "0xd1f700DBF6882A53bE172Fca8ee70414211AF58E": {
+ "balance": "1000000000000000000000",
+ "staked": "500000000000000000000",
+ "publicKey": "0x031115acabff977cf2362bdec5b7f8fec2d3bfcad0b355c98595a1e92df24148ac"
+ },
+ "0x24F7C8133C6996446f6343FD321d9dB70115DB6E": {
+ "balance": "1000000000000000000000",
+ "staked": "500000000000000000000",
+ "publicKey": "0x02ee69fa89ffa168d756cae888a17b7c0369998016fc14776c483bcb955a6db823"
+ }
+ }
+}
diff --git a/misc/nodekey b/misc/nodekey
new file mode 100644
index 000000000..899c0fa90
--- /dev/null
+++ b/misc/nodekey
@@ -0,0 +1 @@
+a60cfa0d9c2be2bd4ac5fb0122d07bfedd6791a8d1fb63298b6d3668b29f653f \ No newline at end of file
diff --git a/misc/test.key b/misc/test.key
deleted file mode 100644
index 71b7eac2b..000000000
--- a/misc/test.key
+++ /dev/null
@@ -1 +0,0 @@
-a4d5f5e36d35ca74ebf20cfc20c73c66587fc9412e272346dbbdce554cbb3e06 \ No newline at end of file