diff --git a/sample-node/config.json b/sample-node/config.json new file mode 100644 index 0000000000..e0736c10e1 --- /dev/null +++ b/sample-node/config.json @@ -0,0 +1,34 @@ +{ + "sealEngine": "PBFT", + "systemproxyaddress":"0x0", + "listenip":"127.0.0.1", + "rpcport": "8545", + "p2pport": "30303", + "wallet":"./keys.info", + "keystoredir":"./keystore/", + "datadir":"./data/", + "vm":"interpreter", + "networkid":"12345", + "logverbosity":"4", + "coverlog":"ON", + "eventlog":"ON", + "logconf":"./log.conf", + "params": { + "accountStartNonce": "0x0", + "maximumExtraDataSize": "0x0", + "tieBreakingGas": false, + "blockReward": "0x0", + "networkID" : "0x0" + }, + "NodeextraInfo":[ + { + "Nodeid":"2a0cb7425bd63835d346ae20ec6107d28f64009a9dcca7d485713f1dfe7c4edf6e79b7e08a70cb8220beb133327361313e6bc793433311ba997a81e14800a85f", + "Nodedesc": "node1", + "Agencyinfo": "node1", + "Peerip": "127.0.0.1", + "Identitytype": 1, + "Port":30303, + "Idx":0 + } + ] +} diff --git a/sample-node/data/keys.info b/sample-node/data/keys.info new file mode 100644 index 0000000000..ed533ce2cc --- /dev/null +++ b/sample-node/data/keys.info @@ -0,0 +1 @@ +åÇß’©:OE¾~Ï…5-ñ1½,"ý¸ü†§ˆ5È®®9µO³ú \ No newline at end of file diff --git a/sample-node/data/keys.info.salt b/sample-node/data/keys.info.salt new file mode 100644 index 0000000000..ad7baffaad --- /dev/null +++ b/sample-node/data/keys.info.salt @@ -0,0 +1 @@ +\¢ÖaGݘa„Š w,²éÖ¯`L"£”É—¾þG8 \ No newline at end of file diff --git a/sample-node/data/log.conf b/sample-node/data/log.conf new file mode 100644 index 0000000000..4c3135ee05 --- /dev/null +++ b/sample-node/data/log.conf @@ -0,0 +1,28 @@ +* GLOBAL: + ENABLED = true + TO_FILE = true + TO_STANDARD_OUTPUT = false + FORMAT = "%level|%datetime{%Y-%M-%d %H:%m:%s}|%msg" + FILENAME = "./log/log_%datetime{%Y%M%d%H}.log" + MILLISECONDS_WIDTH = 3 + PERFORMANCE_TRACKING = false + MAX_LOG_FILE_SIZE = 209715200 ## 200MB - Comment starts with two hashes (##) + LOG_FLUSH_THRESHOLD = 100 ## Flush after every 100 logs + +* TRACE: + FILENAME = "./log/trace_log_%datetime{%Y%M%d%H}.log" +* DEBUG: + FILENAME = "./log/debug_log_%datetime{%Y%M%d%H}.log" +* FATAL: + ENABLED = false + +* ERROR: + FILENAME = "./log/error_log_%datetime{%Y%M%d%H}.log" + +* WARNING: + ENABLED = false + +* INFO: + FILENAME = "./log/info_log_%datetime{%Y%M%d%H}.log" +* VERBOSE: + ENABLED = false diff --git a/sample-node/data/network.rlp b/sample-node/data/network.rlp new file mode 100644 index 0000000000..dd7bf02e95 --- /dev/null +++ b/sample-node/data/network.rlp @@ -0,0 +1 @@ +ã Ô}½eb¶T1¥œMKâz|èý<’ ÷𦊻úepÀ \ No newline at end of file diff --git a/sample-node/data/network.rlp.pub b/sample-node/data/network.rlp.pub new file mode 100644 index 0000000000..a228ea2ce0 --- /dev/null +++ b/sample-node/data/network.rlp.pub @@ -0,0 +1 @@ +2a0cb7425bd63835d346ae20ec6107d28f64009a9dcca7d485713f1dfe7c4edf6e79b7e08a70cb8220beb133327361313e6bc793433311ba997a81e14800a85f \ No newline at end of file diff --git a/sample-node/eth b/sample-node/eth new file mode 100644 index 0000000000..abf6fc7761 Binary files /dev/null and b/sample-node/eth differ diff --git a/sample-node/genesis.json b/sample-node/genesis.json new file mode 100644 index 0000000000..69e0e1a7ac --- /dev/null +++ b/sample-node/genesis.json @@ -0,0 +1,12 @@ +{ +"nonce": "0x0", +"difficulty": "0x0", +"mixhash": "0x0", +"coinbase": "0x0", +"timestamp": "0x0", +"parentHash": "0x0", +"extraData": "0x0", +"gasLimit": "0x13880000000000", +"god":"0x4d23de3297034cdd4a58db35f659a9b61fc7577b", +"alloc": {}, "initMinerNodes":["2a0cb7425bd63835d346ae20ec6107d28f64009a9dcca7d485713f1dfe7c4edf6e79b7e08a70cb8220beb133327361313e6bc793433311ba997a81e14800a85f"] +} diff --git a/sample-node/start.sh b/sample-node/start.sh new file mode 100644 index 0000000000..5b546094d0 --- /dev/null +++ b/sample-node/start.sh @@ -0,0 +1,3 @@ +#!/bin/sh +./eth --genesis ./genesis.json --config ./config.json +