aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorWei-Ning Huang <w@cobinhood.com>2018-10-15 10:20:59 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:49 +0800
commit68fa53f29bb7c5adc40cb3de3091be527bfb49b8 (patch)
treec1216a23248864c0274badaddb124005fd1551e4 /test
parent79e7ea1ac0feafdc63d480009bab62f7dfaa2e66 (diff)
downloaddexon-68fa53f29bb7c5adc40cb3de3091be527bfb49b8.tar
dexon-68fa53f29bb7c5adc40cb3de3091be527bfb49b8.tar.gz
dexon-68fa53f29bb7c5adc40cb3de3091be527bfb49b8.tar.bz2
dexon-68fa53f29bb7c5adc40cb3de3091be527bfb49b8.tar.lz
dexon-68fa53f29bb7c5adc40cb3de3091be527bfb49b8.tar.xz
dexon-68fa53f29bb7c5adc40cb3de3091be527bfb49b8.tar.zst
dexon-68fa53f29bb7c5adc40cb3de3091be527bfb49b8.zip
test: add test genesis and node keys
Diffstat (limited to 'test')
-rw-r--r--test/genesis.json52
-rw-r--r--test/test1.nodekey1
-rw-r--r--test/test2.nodekey1
-rw-r--r--test/test3.nodekey1
-rw-r--r--test/test4.nodekey1
5 files changed, 56 insertions, 0 deletions
diff --git a/test/genesis.json b/test/genesis.json
new file mode 100644
index 000000000..2b7637b05
--- /dev/null
+++ b/test/genesis.json
@@ -0,0 +1,52 @@
+{
+ "config": {
+ "chainId": 1,
+ "homesteadBlock": 1,
+ "eip150Block": 2,
+ "eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "eip155Block": 3,
+ "eip158Block": 3,
+ "dexcon": {
+ "genesisCRSText": "In DEXON, we trust.",
+ "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": {
+ "0x24F7C8133C6996446f6343FD321d9dB70115DB6E": {
+ "balance": "1000000000000000000000",
+ "staked": "500000000000000000000",
+ "publicKey": "0x02ee69fa89ffa168d756cae888a17b7c0369998016fc14776c483bcb955a6db823"
+ },
+ "0x99281d5aFC2F6101D1D451892B4fCB280406daf3": {
+ "balance": "1000000000000000000000",
+ "staked": "500000000000000000000",
+ "publicKey": "0x021f6cabbfc264ee9e242921d0de0d901a900ca2c451fe5257bc4db02869bbbd55"
+ },
+ "0x28Da0D80213e15F26bE1dE695C3C0ECE82EeF95E": {
+ "balance": "1000000000000000000000",
+ "staked": "500000000000000000000",
+ "publicKey": "0x035aeb928cf45dbd2ebd6f02e7ac47daddfd0491ba0e038c895e2186f9a01b262b"
+ },
+ "0x5fa3d3d095eBD1943763312770AfB284c057a5c6": {
+ "balance": "1000000000000000000000",
+ "staked": "500000000000000000000",
+ "publicKey": "0x030be934e3078764278ded0102e5c726d8db18a4d3104efe67ed3ed600e05efeef"
+ }
+ }
+}
diff --git a/test/test1.nodekey b/test/test1.nodekey
new file mode 100644
index 000000000..899c0fa90
--- /dev/null
+++ b/test/test1.nodekey
@@ -0,0 +1 @@
+a60cfa0d9c2be2bd4ac5fb0122d07bfedd6791a8d1fb63298b6d3668b29f653f \ No newline at end of file
diff --git a/test/test2.nodekey b/test/test2.nodekey
new file mode 100644
index 000000000..fe3ee658d
--- /dev/null
+++ b/test/test2.nodekey
@@ -0,0 +1 @@
+d0affc191ebffb19bfbfcefc33f6184b2d4b15ac3f0a3061f7ebd9e3a77a8597 \ No newline at end of file
diff --git a/test/test3.nodekey b/test/test3.nodekey
new file mode 100644
index 000000000..05be442dd
--- /dev/null
+++ b/test/test3.nodekey
@@ -0,0 +1 @@
+105b56e01f35a0ca75a1dd29e5f3fdd45a5a52d935dee6c4766cbe9ee4cd47fa \ No newline at end of file
diff --git a/test/test4.nodekey b/test/test4.nodekey
new file mode 100644
index 000000000..0abb56447
--- /dev/null
+++ b/test/test4.nodekey
@@ -0,0 +1 @@
+d38fd0284e90bacf671843846774e42511f4454e9b9e88c5ae7babb0d2c48211 \ No newline at end of file