Skip to content
This repository has been archived by the owner on Oct 22, 2023. It is now read-only.

Update ekiden #876

Merged
merged 2 commits into from
Aug 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
218 changes: 130 additions & 88 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion configs/single_node/genesis.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"extra_data":null,"genesis_time":"2019-07-11T21:01:17.735192093Z","keymanager":{"statuses":null},"registry":{"entities":[{"signature":{"public_key":"TqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TU=","signature":"Yx7IvyWipXTNh1nGUGtukolAV3lJ2cy0F+cM6lkyKbMcYavviVEOKGyuLndxyc/o5QTuv3XUeooNeH+2OS7SDw=="},"untrusted_raw_value":"omJpZFggTqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TVxcmVnaXN0cmF0aW9uX3RpbWUaXPHAAA=="}],"nodes":null,"runtimes":[{"signature":{"public_key":"TqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TU=","signature":"H4+eP9XDWDUNNTE2jfVuWv0JHJ/omoN5NMIbPZmN3/TTlfe/Lx9l2gO6uT5/mUsVOfi/VX4V818l1bES3DaMBA=="},"untrusted_raw_value":"q2JpZFgg//////////////////////////////////////////9ka2luZAFnZ2VuZXNpc6Nlc3RhdGX2anN0YXRlX3Jvb3RYIMZyuNHvVu0oq4fDYixRFAab3TrXuPlzdJjQwB7O8JZ6b3N0b3JhZ2VfcmVjZWlwdKJpc2lnbmF0dXJlWEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAanB1YmxpY19rZXn2a2tleV9tYW5hZ2VyWCD//////////////////////////////////////////2x0ZWVfaGFyZHdhcmUAcXJlZ2lzdHJhdGlvbl90aW1lGlzxwABycmVwbGljYV9ncm91cF9zaXplAXJzdG9yYWdlX2dyb3VwX3NpemUBeBlyZXBsaWNhX2dyb3VwX2JhY2t1cF9zaXplAHgacmVwbGljYV9hbGxvd2VkX3N0cmFnZ2xlcnMAeCB0cmFuc2FjdGlvbl9zY2hlZHVsZXJfZ3JvdXBfc2l6ZQE="},{"signature":{"public_key":"TqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TU=","signature":"aGTvxcbPm14NAEdYjbDhi0YdRdGz8d3zRm+PHv/yKFhq2BJYAF55HIaG32SYoPn5caA7tzkkXGdlhR8ZjUZcAw=="},"untrusted_raw_value":"q2JpZFggAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABka2luZABnZ2VuZXNpc6Nlc3RhdGWDglQcyihgDXSRNlUgsxtGb4hke5g57FhQ+E6AiQVrx14tYxAAAKBW6B8XG8xVpv+DReaSwPhuW0jgG5lsrcABYi+142O0IaDF0kYBhvcjPJJ+fbLcxwPA5QC2U8qCJzt7+tgEXYWkcICCU2dlbmVzaXNfaW5pdGlhbGl6ZWRBAYJUcRAxa2GNINDERyisKj1oNTbqaCtYVPhSgI0BQx4Prm1yF8qgAAAAoFboHxcbzFWm/4NF5pLA+G5bSOAbmWytwAFiL7XjY7QhoMXSRgGG9yM8kn59stzHA8DlALZTyoInO3v62ARdhaRwgGpzdGF0ZV9yb290WCBnDymUuMzgbb0ghzJL+7k5vFF05EpCUx+owkG2HTjuVW9zdG9yYWdlX3JlY2VpcHSiaXNpZ25hdHVyZVhAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGpwdWJsaWNfa2V59mtrZXlfbWFuYWdlclgg//////////////////////////////////////////9sdGVlX2hhcmR3YXJlAHFyZWdpc3RyYXRpb25fdGltZRpc8cAAcnJlcGxpY2FfZ3JvdXBfc2l6ZQFyc3RvcmFnZV9ncm91cF9zaXplAXgZcmVwbGljYV9ncm91cF9iYWNrdXBfc2l6ZQB4GnJlcGxpY2FfYWxsb3dlZF9zdHJhZ2dsZXJzAHggdHJhbnNhY3Rpb25fc2NoZWR1bGVyX2dyb3VwX3NpemUB"}]},"roothash":{"blocks":{}},"staking":{"common_pool":"0","debonding_interval":0,"ledger":{"TqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TU=":{"debond_start":0,"escrow_balance":"100000000000","general_balance":"100000000000","nonce":0}},"total_supply":"200000000000"},"validators":[{"signature":{"public_key":"TqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TU=","signature":"k/htIXTUumQSwQu+2LEw2mFT5PLEKQaTHBY5kWvIkiSDs0VXjihTGmjt/CeADqJKTq8kaezPLyI4ktpIKojGAg=="},"untrusted_raw_value":"pWRuYW1la3NpbmdsZS1ub2RlZXBvd2VyCmdwdWJfa2V5WCDIRUMZhkyw2BQ82OcY6cjkSPaiSXy3c2m4u+ZgZ5UCNWllbnRpdHlfaWRYIE6lMo+UPvb2bartdMsOmcOxxF92MHtCUAPbx8s2OO01bGNvcmVfYWRkcmVzc28xMjcuMC4wLjE6MjY2NTY="}]}
{"extra_data":null,"genesis_time":"2019-08-15T08:18:48.080796251Z","keymanager":{"statuses":null},"registry":{"entities":[{"signature":{"public_key":"TqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TU=","signature":"Y4St7ly56HP2bwV0HnobuNe/QmXiSW74jr3Kfwg/CJO8q1s8Kn9vWp0x4qbEvxJg62HTG4pO/katZFsQokyiCA=="},"untrusted_raw_value":"pGJpZFggTqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TVlbm9kZXP2cXJlZ2lzdHJhdGlvbl90aW1lGlzxwAB4GWFsbG93X2VudGl0eV9zaWduZWRfbm9kZXP1"}],"nodes":[{"signature":{"public_key":"TqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TU=","signature":"0DhR1SshKvsbr6+ZkDfD0r6k4x1nJ414Ksq6Ipt4nM6Gqlpi5sFnpIRJ73qUhQ3rCHh7+ulxCJOfbC1gmABCAA=="},"untrusted_raw_value":"qWJpZFggUI4p1j9yNNZ2SOq/OKsZIlIqMWIJwlYvkyu2qexblLxjcDJwomJpZFgg6Z0ujiwk+v+gt9gSUWYecrdF7VMhTQPT9ceAkL0G64JpYWRkcmVzc2Vz9mVyb2xlcxggaHJ1bnRpbWVz9mljb21taXR0ZWWiaWFkZHJlc3Nlc/ZrY2VydGlmaWNhdGVZAU4wggFKMIHyoAMCAQICAQEwCgYIKoZIzj0EAwIwFjEUMBIGA1UEAxMLZWtpZGVuLW5vZGUwHhcNMTkwODE1MDcxODQ3WhcNMjAwODE1MDgxODQ3WjAWMRQwEgYDVQQDEwtla2lkZW4tbm9kZTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJYv+mlwqu4szxrP8crN0DpRC2OBuQysCnwmxzFyF42rH3XUDP4SKwBm8G+WCeVoJfD3/Q7WvHdhhsR0kRtondejMTAvMA4GA1UdDwEB/wQEAwICpDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCgYIKoZIzj0EAwIDRwAwRAIgNzWxHw4ubeKRrA57Ps+7CVqOXWH22btRt3hG6/VQwNoCIEda+LTCsWGijFRkIH6PY2WC5OSaYULzmGdEhU/rc5O7aWNvbnNlbnN1c6FpYWRkcmVzc2VzgaNiSVBQAAAAAAAAAAAAAP//fwAAAWRQb3J0GWggZFpvbmVgaWVudGl0eV9pZFggTqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TVqZXhwaXJhdGlvbhoAD0JAcXJlZ2lzdHJhdGlvbl90aW1lGl1VFWc="}],"runtimes":[{"signature":{"public_key":"TqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TU=","signature":"H4+eP9XDWDUNNTE2jfVuWv0JHJ/omoN5NMIbPZmN3/TTlfe/Lx9l2gO6uT5/mUsVOfi/VX4V818l1bES3DaMBA=="},"untrusted_raw_value":"q2JpZFgg//////////////////////////////////////////9ka2luZAFnZ2VuZXNpc6Nlc3RhdGX2anN0YXRlX3Jvb3RYIMZyuNHvVu0oq4fDYixRFAab3TrXuPlzdJjQwB7O8JZ6b3N0b3JhZ2VfcmVjZWlwdKJpc2lnbmF0dXJlWEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAanB1YmxpY19rZXn2a2tleV9tYW5hZ2VyWCD//////////////////////////////////////////2x0ZWVfaGFyZHdhcmUAcXJlZ2lzdHJhdGlvbl90aW1lGlzxwABycmVwbGljYV9ncm91cF9zaXplAXJzdG9yYWdlX2dyb3VwX3NpemUBeBlyZXBsaWNhX2dyb3VwX2JhY2t1cF9zaXplAHgacmVwbGljYV9hbGxvd2VkX3N0cmFnZ2xlcnMAeCB0cmFuc2FjdGlvbl9zY2hlZHVsZXJfZ3JvdXBfc2l6ZQE="},{"signature":{"public_key":"TqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TU=","signature":"06TYCCEJvZGluCmFjtgDAdNApP9IFiJ5W8ViBM0qLFTmfVDzOrrWEYuZuCACCLOurk+ULKjS2i2PQ8L2vvIFCw=="},"untrusted_raw_value":"q2JpZFggAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABka2luZABnZ2VuZXNpc6Nlc3RhdGWDglQcyihgDXSRNlUgsxtGb4hke5g57FhQ+E6AiQVrx14tYxAAAKBW6B8XG8xVpv+DReaSwPhuW0jgG5lsrcABYi+142O0IaDF0kYBhvcjPJJ+fbLcxwPA5QC2U8qCJzt7+tgEXYWkcICCU2dlbmVzaXNfaW5pdGlhbGl6ZWRBAYJUcRAxa2GNINDERyisKj1oNTbqaCtYVPhSgI0BQx4Prm1yF8qgAAAAoFboHxcbzFWm/4NF5pLA+G5bSOAbmWytwAFiL7XjY7QhoMXSRgGG9yM8kn59stzHA8DlALZTyoInO3v62ARdhaRwgGpzdGF0ZV9yb290WCDe0b9lm6EVd++a11R4ASuPnHzEf6OR0yx+Q33Ynad1c29zdG9yYWdlX3JlY2VpcHSiaXNpZ25hdHVyZVhAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGpwdWJsaWNfa2V59mtrZXlfbWFuYWdlclgg//////////////////////////////////////////9sdGVlX2hhcmR3YXJlAHFyZWdpc3RyYXRpb25fdGltZRpc8cAAcnJlcGxpY2FfZ3JvdXBfc2l6ZQFyc3RvcmFnZV9ncm91cF9zaXplAXgZcmVwbGljYV9ncm91cF9iYWNrdXBfc2l6ZQB4GnJlcGxpY2FfYWxsb3dlZF9zdHJhZ2dsZXJzAHggdHJhbnNhY3Rpb25fc2NoZWR1bGVyX2dyb3VwX3NpemUB"}]},"roothash":{"blocks":{}},"staking":{"common_pool":"0","debonding_interval":0,"ledger":{"TqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TU=":{"debond_start":0,"escrow_balance":"100000000000","general_balance":"100000000000","nonce":0}},"total_supply":"200000000000"}}
4 changes: 2 additions & 2 deletions configs/single_node/identity.pem
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-----BEGIN ED25519 PRIVATE KEY-----
O0rP98iBt9ZKR4wpoM5nn9xqnTO/gOQY2R+bCnKD2OrIRUMZhkyw2BQ82OcY6cjk
SPaiSXy3c2m4u+ZgZ5UCNQ==
3JUaXdeaGfu3vHsHHVS6i4JGuYkgI1FxevZhOnX/JhBQjinWP3I01nZI6r84qxki
UioxYgnCVi+TK7ap7FuUvA==
-----END ED25519 PRIVATE KEY-----
2 changes: 1 addition & 1 deletion configs/single_node/identity_pub.pem
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
-----BEGIN ED25519 PUBLIC KEY-----
yEVDGYZMsNgUPNjnGOnI5Ej2okl8t3NpuLvmYGeVAjU=
UI4p1j9yNNZ2SOq/OKsZIlIqMWIJwlYvkyu2qexblLw=
-----END ED25519 PUBLIC KEY-----
1 change: 1 addition & 0 deletions configs/single_node/node_genesis.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"signature":{"public_key":"TqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TU=","signature":"0DhR1SshKvsbr6+ZkDfD0r6k4x1nJ414Ksq6Ipt4nM6Gqlpi5sFnpIRJ73qUhQ3rCHh7+ulxCJOfbC1gmABCAA=="},"untrusted_raw_value":"qWJpZFggUI4p1j9yNNZ2SOq/OKsZIlIqMWIJwlYvkyu2qexblLxjcDJwomJpZFgg6Z0ujiwk+v+gt9gSUWYecrdF7VMhTQPT9ceAkL0G64JpYWRkcmVzc2Vz9mVyb2xlcxggaHJ1bnRpbWVz9mljb21taXR0ZWWiaWFkZHJlc3Nlc/ZrY2VydGlmaWNhdGVZAU4wggFKMIHyoAMCAQICAQEwCgYIKoZIzj0EAwIwFjEUMBIGA1UEAxMLZWtpZGVuLW5vZGUwHhcNMTkwODE1MDcxODQ3WhcNMjAwODE1MDgxODQ3WjAWMRQwEgYDVQQDEwtla2lkZW4tbm9kZTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJYv+mlwqu4szxrP8crN0DpRC2OBuQysCnwmxzFyF42rH3XUDP4SKwBm8G+WCeVoJfD3/Q7WvHdhhsR0kRtondejMTAvMA4GA1UdDwEB/wQEAwICpDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCgYIKoZIzj0EAwIDRwAwRAIgNzWxHw4ubeKRrA57Ps+7CVqOXWH22btRt3hG6/VQwNoCIEda+LTCsWGijFRkIH6PY2WC5OSaYULzmGdEhU/rc5O7aWNvbnNlbnN1c6FpYWRkcmVzc2VzgaNiSVBQAAAAAAAAAAAAAP//fwAAAWRQb3J0GWggZFpvbmVgaWVudGl0eV9pZFggTqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TVqZXhwaXJhdGlvbhoAD0JAcXJlZ2lzdHJhdGlvbl90aW1lGl1VFWc="}
4 changes: 4 additions & 0 deletions configs/single_node/p2p.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-----BEGIN ED25519 PRIVATE KEY-----
l1LGNu8L0UFfo5ArYTQMherOSwSxTctU4SQqYTm64R3pnS6OLCT6/6C32BJRZh5y
t0XtUyFNA9P1x4CQvQbrgg==
-----END ED25519 PRIVATE KEY-----
3 changes: 3 additions & 0 deletions configs/single_node/p2p_pub.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-----BEGIN ED25519 PUBLIC KEY-----
6Z0ujiwk+v+gt9gSUWYecrdF7VMhTQPT9ceAkL0G64I=
-----END ED25519 PUBLIC KEY-----
1 change: 0 additions & 1 deletion configs/single_node/validator.json

This file was deleted.

2 changes: 1 addition & 1 deletion configs/single_node_sgx/genesis.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"extra_data":null,"genesis_time":"2019-07-11T21:01:17.869406469Z","keymanager":{"statuses":null},"registry":{"entities":[{"signature":{"public_key":"TqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TU=","signature":"Yx7IvyWipXTNh1nGUGtukolAV3lJ2cy0F+cM6lkyKbMcYavviVEOKGyuLndxyc/o5QTuv3XUeooNeH+2OS7SDw=="},"untrusted_raw_value":"omJpZFggTqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TVxcmVnaXN0cmF0aW9uX3RpbWUaXPHAAA=="}],"nodes":null,"runtimes":[{"signature":{"public_key":"TqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TU=","signature":"BdHnB23YD4Tt+H7HvpOjxiaimMkIzQ8slGk4uY2lykqnjgNpVu2WEhYLIeSl3Vpq9w+OQCsJ85s1vTYMipB3AQ=="},"untrusted_raw_value":"q2JpZFgg//////////////////////////////////////////9ka2luZAFnZ2VuZXNpc6Nlc3RhdGX2anN0YXRlX3Jvb3RYIMZyuNHvVu0oq4fDYixRFAab3TrXuPlzdJjQwB7O8JZ6b3N0b3JhZ2VfcmVjZWlwdKJpc2lnbmF0dXJlWEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAanB1YmxpY19rZXn2a2tleV9tYW5hZ2VyWCD//////////////////////////////////////////2x0ZWVfaGFyZHdhcmUBcXJlZ2lzdHJhdGlvbl90aW1lGlzxwABycmVwbGljYV9ncm91cF9zaXplAXJzdG9yYWdlX2dyb3VwX3NpemUBeBlyZXBsaWNhX2dyb3VwX2JhY2t1cF9zaXplAHgacmVwbGljYV9hbGxvd2VkX3N0cmFnZ2xlcnMAeCB0cmFuc2FjdGlvbl9zY2hlZHVsZXJfZ3JvdXBfc2l6ZQE="},{"signature":{"public_key":"TqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TU=","signature":"P8vTY01MTreltpwEZzESCjQAhLudLlumkXqYTdRMcu3YlsjmVMyANOtoJNDrZEIiscQJBDRfSmPBTkGl6rQmCA=="},"untrusted_raw_value":"q2JpZFggAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABka2luZABnZ2VuZXNpc6Nlc3RhdGWDglQcyihgDXSRNlUgsxtGb4hke5g57FhQ+E6AiQVrx14tYxAAAKBW6B8XG8xVpv+DReaSwPhuW0jgG5lsrcABYi+142O0IaDF0kYBhvcjPJJ+fbLcxwPA5QC2U8qCJzt7+tgEXYWkcICCU2dlbmVzaXNfaW5pdGlhbGl6ZWRBAYJUcRAxa2GNINDERyisKj1oNTbqaCtYVPhSgI0BQx4Prm1yF8qgAAAAoFboHxcbzFWm/4NF5pLA+G5bSOAbmWytwAFiL7XjY7QhoMXSRgGG9yM8kn59stzHA8DlALZTyoInO3v62ARdhaRwgGpzdGF0ZV9yb290WCBnDymUuMzgbb0ghzJL+7k5vFF05EpCUx+owkG2HTjuVW9zdG9yYWdlX3JlY2VpcHSiaXNpZ25hdHVyZVhAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGpwdWJsaWNfa2V59mtrZXlfbWFuYWdlclgg//////////////////////////////////////////9sdGVlX2hhcmR3YXJlAXFyZWdpc3RyYXRpb25fdGltZRpc8cAAcnJlcGxpY2FfZ3JvdXBfc2l6ZQFyc3RvcmFnZV9ncm91cF9zaXplAXgZcmVwbGljYV9ncm91cF9iYWNrdXBfc2l6ZQB4GnJlcGxpY2FfYWxsb3dlZF9zdHJhZ2dsZXJzAHggdHJhbnNhY3Rpb25fc2NoZWR1bGVyX2dyb3VwX3NpemUB"}]},"roothash":{"blocks":{}},"staking":{"common_pool":"0","debonding_interval":0,"ledger":{"TqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TU=":{"debond_start":0,"escrow_balance":"100000000000","general_balance":"100000000000","nonce":0}},"total_supply":"200000000000"},"validators":[{"signature":{"public_key":"TqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TU=","signature":"k/htIXTUumQSwQu+2LEw2mFT5PLEKQaTHBY5kWvIkiSDs0VXjihTGmjt/CeADqJKTq8kaezPLyI4ktpIKojGAg=="},"untrusted_raw_value":"pWRuYW1la3NpbmdsZS1ub2RlZXBvd2VyCmdwdWJfa2V5WCDIRUMZhkyw2BQ82OcY6cjkSPaiSXy3c2m4u+ZgZ5UCNWllbnRpdHlfaWRYIE6lMo+UPvb2bartdMsOmcOxxF92MHtCUAPbx8s2OO01bGNvcmVfYWRkcmVzc28xMjcuMC4wLjE6MjY2NTY="}]}
{"extra_data":null,"genesis_time":"2019-08-15T08:18:48.182935834Z","keymanager":{"statuses":null},"registry":{"entities":[{"signature":{"public_key":"TqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TU=","signature":"Y4St7ly56HP2bwV0HnobuNe/QmXiSW74jr3Kfwg/CJO8q1s8Kn9vWp0x4qbEvxJg62HTG4pO/katZFsQokyiCA=="},"untrusted_raw_value":"pGJpZFggTqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TVlbm9kZXP2cXJlZ2lzdHJhdGlvbl90aW1lGlzxwAB4GWFsbG93X2VudGl0eV9zaWduZWRfbm9kZXP1"}],"nodes":[{"signature":{"public_key":"TqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TU=","signature":"0DhR1SshKvsbr6+ZkDfD0r6k4x1nJ414Ksq6Ipt4nM6Gqlpi5sFnpIRJ73qUhQ3rCHh7+ulxCJOfbC1gmABCAA=="},"untrusted_raw_value":"qWJpZFggUI4p1j9yNNZ2SOq/OKsZIlIqMWIJwlYvkyu2qexblLxjcDJwomJpZFgg6Z0ujiwk+v+gt9gSUWYecrdF7VMhTQPT9ceAkL0G64JpYWRkcmVzc2Vz9mVyb2xlcxggaHJ1bnRpbWVz9mljb21taXR0ZWWiaWFkZHJlc3Nlc/ZrY2VydGlmaWNhdGVZAU4wggFKMIHyoAMCAQICAQEwCgYIKoZIzj0EAwIwFjEUMBIGA1UEAxMLZWtpZGVuLW5vZGUwHhcNMTkwODE1MDcxODQ3WhcNMjAwODE1MDgxODQ3WjAWMRQwEgYDVQQDEwtla2lkZW4tbm9kZTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJYv+mlwqu4szxrP8crN0DpRC2OBuQysCnwmxzFyF42rH3XUDP4SKwBm8G+WCeVoJfD3/Q7WvHdhhsR0kRtondejMTAvMA4GA1UdDwEB/wQEAwICpDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCgYIKoZIzj0EAwIDRwAwRAIgNzWxHw4ubeKRrA57Ps+7CVqOXWH22btRt3hG6/VQwNoCIEda+LTCsWGijFRkIH6PY2WC5OSaYULzmGdEhU/rc5O7aWNvbnNlbnN1c6FpYWRkcmVzc2VzgaNiSVBQAAAAAAAAAAAAAP//fwAAAWRQb3J0GWggZFpvbmVgaWVudGl0eV9pZFggTqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TVqZXhwaXJhdGlvbhoAD0JAcXJlZ2lzdHJhdGlvbl90aW1lGl1VFWc="}],"runtimes":[{"signature":{"public_key":"TqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TU=","signature":"BdHnB23YD4Tt+H7HvpOjxiaimMkIzQ8slGk4uY2lykqnjgNpVu2WEhYLIeSl3Vpq9w+OQCsJ85s1vTYMipB3AQ=="},"untrusted_raw_value":"q2JpZFgg//////////////////////////////////////////9ka2luZAFnZ2VuZXNpc6Nlc3RhdGX2anN0YXRlX3Jvb3RYIMZyuNHvVu0oq4fDYixRFAab3TrXuPlzdJjQwB7O8JZ6b3N0b3JhZ2VfcmVjZWlwdKJpc2lnbmF0dXJlWEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAanB1YmxpY19rZXn2a2tleV9tYW5hZ2VyWCD//////////////////////////////////////////2x0ZWVfaGFyZHdhcmUBcXJlZ2lzdHJhdGlvbl90aW1lGlzxwABycmVwbGljYV9ncm91cF9zaXplAXJzdG9yYWdlX2dyb3VwX3NpemUBeBlyZXBsaWNhX2dyb3VwX2JhY2t1cF9zaXplAHgacmVwbGljYV9hbGxvd2VkX3N0cmFnZ2xlcnMAeCB0cmFuc2FjdGlvbl9zY2hlZHVsZXJfZ3JvdXBfc2l6ZQE="},{"signature":{"public_key":"TqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TU=","signature":"zq4P0eAqHKVg7JIZZ8QNn7xlia53TTJImTAPVSE/rEL8i9Ph9L1tjfcp9sAPK6iunkb7WMZNF1sXI4hTVUoBDw=="},"untrusted_raw_value":"q2JpZFggAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABka2luZABnZ2VuZXNpc6Nlc3RhdGWDglQcyihgDXSRNlUgsxtGb4hke5g57FhQ+E6AiQVrx14tYxAAAKBW6B8XG8xVpv+DReaSwPhuW0jgG5lsrcABYi+142O0IaDF0kYBhvcjPJJ+fbLcxwPA5QC2U8qCJzt7+tgEXYWkcICCU2dlbmVzaXNfaW5pdGlhbGl6ZWRBAYJUcRAxa2GNINDERyisKj1oNTbqaCtYVPhSgI0BQx4Prm1yF8qgAAAAoFboHxcbzFWm/4NF5pLA+G5bSOAbmWytwAFiL7XjY7QhoMXSRgGG9yM8kn59stzHA8DlALZTyoInO3v62ARdhaRwgGpzdGF0ZV9yb290WCDe0b9lm6EVd++a11R4ASuPnHzEf6OR0yx+Q33Ynad1c29zdG9yYWdlX3JlY2VpcHSiaXNpZ25hdHVyZVhAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGpwdWJsaWNfa2V59mtrZXlfbWFuYWdlclgg//////////////////////////////////////////9sdGVlX2hhcmR3YXJlAXFyZWdpc3RyYXRpb25fdGltZRpc8cAAcnJlcGxpY2FfZ3JvdXBfc2l6ZQFyc3RvcmFnZV9ncm91cF9zaXplAXgZcmVwbGljYV9ncm91cF9iYWNrdXBfc2l6ZQB4GnJlcGxpY2FfYWxsb3dlZF9zdHJhZ2dsZXJzAHggdHJhbnNhY3Rpb25fc2NoZWR1bGVyX2dyb3VwX3NpemUB"}]},"roothash":{"blocks":{}},"staking":{"common_pool":"0","debonding_interval":0,"ledger":{"TqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TU=":{"debond_start":0,"escrow_balance":"100000000000","general_balance":"100000000000","nonce":0}},"total_supply":"200000000000"}}
4 changes: 2 additions & 2 deletions configs/single_node_sgx/identity.pem
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-----BEGIN ED25519 PRIVATE KEY-----
O0rP98iBt9ZKR4wpoM5nn9xqnTO/gOQY2R+bCnKD2OrIRUMZhkyw2BQ82OcY6cjk
SPaiSXy3c2m4u+ZgZ5UCNQ==
3JUaXdeaGfu3vHsHHVS6i4JGuYkgI1FxevZhOnX/JhBQjinWP3I01nZI6r84qxki
UioxYgnCVi+TK7ap7FuUvA==
-----END ED25519 PRIVATE KEY-----
2 changes: 1 addition & 1 deletion configs/single_node_sgx/identity_pub.pem
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
-----BEGIN ED25519 PUBLIC KEY-----
yEVDGYZMsNgUPNjnGOnI5Ej2okl8t3NpuLvmYGeVAjU=
UI4p1j9yNNZ2SOq/OKsZIlIqMWIJwlYvkyu2qexblLw=
-----END ED25519 PUBLIC KEY-----
1 change: 1 addition & 0 deletions configs/single_node_sgx/node_genesis.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"signature":{"public_key":"TqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TU=","signature":"0DhR1SshKvsbr6+ZkDfD0r6k4x1nJ414Ksq6Ipt4nM6Gqlpi5sFnpIRJ73qUhQ3rCHh7+ulxCJOfbC1gmABCAA=="},"untrusted_raw_value":"qWJpZFggUI4p1j9yNNZ2SOq/OKsZIlIqMWIJwlYvkyu2qexblLxjcDJwomJpZFgg6Z0ujiwk+v+gt9gSUWYecrdF7VMhTQPT9ceAkL0G64JpYWRkcmVzc2Vz9mVyb2xlcxggaHJ1bnRpbWVz9mljb21taXR0ZWWiaWFkZHJlc3Nlc/ZrY2VydGlmaWNhdGVZAU4wggFKMIHyoAMCAQICAQEwCgYIKoZIzj0EAwIwFjEUMBIGA1UEAxMLZWtpZGVuLW5vZGUwHhcNMTkwODE1MDcxODQ3WhcNMjAwODE1MDgxODQ3WjAWMRQwEgYDVQQDEwtla2lkZW4tbm9kZTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJYv+mlwqu4szxrP8crN0DpRC2OBuQysCnwmxzFyF42rH3XUDP4SKwBm8G+WCeVoJfD3/Q7WvHdhhsR0kRtondejMTAvMA4GA1UdDwEB/wQEAwICpDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCgYIKoZIzj0EAwIDRwAwRAIgNzWxHw4ubeKRrA57Ps+7CVqOXWH22btRt3hG6/VQwNoCIEda+LTCsWGijFRkIH6PY2WC5OSaYULzmGdEhU/rc5O7aWNvbnNlbnN1c6FpYWRkcmVzc2VzgaNiSVBQAAAAAAAAAAAAAP//fwAAAWRQb3J0GWggZFpvbmVgaWVudGl0eV9pZFggTqUyj5Q+9vZtqu10yw6Zw7HEX3Ywe0JQA9vHyzY47TVqZXhwaXJhdGlvbhoAD0JAcXJlZ2lzdHJhdGlvbl90aW1lGl1VFWc="}
4 changes: 4 additions & 0 deletions configs/single_node_sgx/p2p.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-----BEGIN ED25519 PRIVATE KEY-----
l1LGNu8L0UFfo5ArYTQMherOSwSxTctU4SQqYTm64R3pnS6OLCT6/6C32BJRZh5y
t0XtUyFNA9P1x4CQvQbrgg==
-----END ED25519 PRIVATE KEY-----
3 changes: 3 additions & 0 deletions configs/single_node_sgx/p2p_pub.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-----BEGIN ED25519 PUBLIC KEY-----
6Z0ujiwk+v+gt9gSUWYecrdF7VMhTQPT9ceAkL0G64I=
-----END ED25519 PUBLIC KEY-----
1 change: 0 additions & 1 deletion configs/single_node_sgx/validator.json

This file was deleted.

15 changes: 8 additions & 7 deletions scripts/regenerate_single_node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,19 @@ GENESIS_DIR=${GENESIS_DIR:-"./resources/genesis/"}
#

${EKIDEN_BINARY}\
genesis provision_validator \
registry node init \
--datadir ${DATADIR} \
--debug.allow_test_keys \
--debug.test_entity \
--node_name single-node \
--node_addr 127.0.0.1:26656
--node.consensus_address 127.0.0.1:26656 \
--node.expiration 1000000 \
--node.role validator

rm ${DATADIR}/tls_identity*
cp ${DATADIR}/*.pem ${SINGLE_NODE_DIR}/
cp ${DATADIR}/validator-*.json ${SINGLE_NODE_DIR}/validator.json
cp ${DATADIR}/node_genesis.json ${SINGLE_NODE_DIR}/
cp ${DATADIR}/*.pem ${SINGLE_NODE_SGX_DIR}/
cp ${DATADIR}/validator-*.json ${SINGLE_NODE_SGX_DIR}/validator.json
cp ${DATADIR}/node_genesis.json ${SINGLE_NODE_SGX_DIR}/

#
# Non-SGX config.
Expand Down Expand Up @@ -66,7 +67,7 @@ ${EKIDEN_BINARY} \
--genesis_file ${DATADIR}/genesis_nosgx.json \
--runtime ${DATADIR}/keymanager_genesis_nosgx.json \
--runtime ${DATADIR}/runtime_genesis_nosgx.json \
--validator ${SINGLE_NODE_DIR}/validator.json
--node ${SINGLE_NODE_DIR}/node_genesis.json

cp ${DATADIR}/genesis_nosgx.json ${SINGLE_NODE_DIR}/genesis.json

Expand Down Expand Up @@ -107,6 +108,6 @@ ${EKIDEN_BINARY} \
--genesis_file ${DATADIR}/genesis_sgx.json \
--runtime ${DATADIR}/keymanager_genesis_sgx.json \
--runtime ${DATADIR}/runtime_genesis_sgx.json \
--validator ${SINGLE_NODE_SGX_DIR}/validator.json
--node ${SINGLE_NODE_SGX_DIR}/node_genesis.json

cp ${DATADIR}/genesis_sgx.json ${SINGLE_NODE_SGX_DIR}/genesis.json