Merge pull request #3616 from ethcore/stable-testing
Backporting to stable
This commit is contained in:
commit
88c3520563
26
Cargo.lock
generated
26
Cargo.lock
generated
@ -1,6 +1,6 @@
|
|||||||
[root]
|
[root]
|
||||||
name = "parity"
|
name = "parity"
|
||||||
version = "1.3.13"
|
version = "1.3.14"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ansi_term 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"ansi_term 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"clippy 0.0.80 (registry+https://github.com/rust-lang/crates.io-index)",
|
"clippy 0.0.80 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@ -20,7 +20,7 @@ dependencies = [
|
|||||||
"ethcore-logger 1.3.0",
|
"ethcore-logger 1.3.0",
|
||||||
"ethcore-rpc 1.3.0",
|
"ethcore-rpc 1.3.0",
|
||||||
"ethcore-signer 1.3.0",
|
"ethcore-signer 1.3.0",
|
||||||
"ethcore-util 1.3.13",
|
"ethcore-util 1.3.14",
|
||||||
"ethsync 1.3.0",
|
"ethsync 1.3.0",
|
||||||
"fdlimit 0.1.0",
|
"fdlimit 0.1.0",
|
||||||
"hyper 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@ -270,7 +270,7 @@ dependencies = [
|
|||||||
"ethcore-ipc 1.3.0",
|
"ethcore-ipc 1.3.0",
|
||||||
"ethcore-ipc-codegen 1.3.0",
|
"ethcore-ipc-codegen 1.3.0",
|
||||||
"ethcore-ipc-nano 1.3.0",
|
"ethcore-ipc-nano 1.3.0",
|
||||||
"ethcore-util 1.3.13",
|
"ethcore-util 1.3.14",
|
||||||
"ethjson 0.1.0",
|
"ethjson 0.1.0",
|
||||||
"ethstore 0.1.0",
|
"ethstore 0.1.0",
|
||||||
"evmjit 1.3.0",
|
"evmjit 1.3.0",
|
||||||
@ -294,7 +294,7 @@ version = "1.3.0"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"clippy 0.0.80 (registry+https://github.com/rust-lang/crates.io-index)",
|
"clippy 0.0.80 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"ethcore-rpc 1.3.0",
|
"ethcore-rpc 1.3.0",
|
||||||
"ethcore-util 1.3.13",
|
"ethcore-util 1.3.14",
|
||||||
"hyper 0.9.4 (git+https://github.com/ethcore/hyper)",
|
"hyper 0.9.4 (git+https://github.com/ethcore/hyper)",
|
||||||
"jsonrpc-core 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"jsonrpc-core 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"jsonrpc-http-server 6.1.0 (git+https://github.com/ethcore/jsonrpc-http-server.git?branch=beta)",
|
"jsonrpc-http-server 6.1.0 (git+https://github.com/ethcore/jsonrpc-http-server.git?branch=beta)",
|
||||||
@ -336,7 +336,7 @@ name = "ethcore-ipc"
|
|||||||
version = "1.3.0"
|
version = "1.3.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ethcore-devtools 1.3.0",
|
"ethcore-devtools 1.3.0",
|
||||||
"ethcore-util 1.3.13",
|
"ethcore-util 1.3.14",
|
||||||
"nanomsg 0.5.1 (git+https://github.com/ethcore/nanomsg.rs.git)",
|
"nanomsg 0.5.1 (git+https://github.com/ethcore/nanomsg.rs.git)",
|
||||||
"semver 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"semver 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
@ -381,7 +381,7 @@ dependencies = [
|
|||||||
"ethcore-ipc 1.3.0",
|
"ethcore-ipc 1.3.0",
|
||||||
"ethcore-ipc-codegen 1.3.0",
|
"ethcore-ipc-codegen 1.3.0",
|
||||||
"ethcore-ipc-nano 1.3.0",
|
"ethcore-ipc-nano 1.3.0",
|
||||||
"ethcore-util 1.3.13",
|
"ethcore-util 1.3.14",
|
||||||
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"nanomsg 0.5.1 (git+https://github.com/ethcore/nanomsg.rs.git)",
|
"nanomsg 0.5.1 (git+https://github.com/ethcore/nanomsg.rs.git)",
|
||||||
"semver 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"semver 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@ -393,7 +393,7 @@ name = "ethcore-logger"
|
|||||||
version = "1.3.0"
|
version = "1.3.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"env_logger 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"env_logger 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"ethcore-util 1.3.13",
|
"ethcore-util 1.3.14",
|
||||||
"isatty 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"isatty 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"lazy_static 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"lazy_static 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@ -408,7 +408,7 @@ dependencies = [
|
|||||||
"ansi_term 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"ansi_term 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"ethcore-devtools 1.3.0",
|
"ethcore-devtools 1.3.0",
|
||||||
"ethcore-io 1.3.0",
|
"ethcore-io 1.3.0",
|
||||||
"ethcore-util 1.3.13",
|
"ethcore-util 1.3.14",
|
||||||
"igd 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"igd 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"libc 0.2.12 (registry+https://github.com/rust-lang/crates.io-index)",
|
"libc 0.2.12 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@ -432,7 +432,7 @@ dependencies = [
|
|||||||
"ethcore-devtools 1.3.0",
|
"ethcore-devtools 1.3.0",
|
||||||
"ethcore-io 1.3.0",
|
"ethcore-io 1.3.0",
|
||||||
"ethcore-ipc 1.3.0",
|
"ethcore-ipc 1.3.0",
|
||||||
"ethcore-util 1.3.13",
|
"ethcore-util 1.3.14",
|
||||||
"ethjson 0.1.0",
|
"ethjson 0.1.0",
|
||||||
"ethsync 1.3.0",
|
"ethsync 1.3.0",
|
||||||
"json-ipc-server 0.2.4 (git+https://github.com/ethcore/json-ipc-server.git?branch=beta)",
|
"json-ipc-server 0.2.4 (git+https://github.com/ethcore/json-ipc-server.git?branch=beta)",
|
||||||
@ -455,7 +455,7 @@ dependencies = [
|
|||||||
"env_logger 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"env_logger 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"ethcore-io 1.3.0",
|
"ethcore-io 1.3.0",
|
||||||
"ethcore-rpc 1.3.0",
|
"ethcore-rpc 1.3.0",
|
||||||
"ethcore-util 1.3.13",
|
"ethcore-util 1.3.14",
|
||||||
"jsonrpc-core 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"jsonrpc-core 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"parity-dapps-signer 1.4.0 (git+https://github.com/ethcore/parity-ui.git)",
|
"parity-dapps-signer 1.4.0 (git+https://github.com/ethcore/parity-ui.git)",
|
||||||
@ -466,7 +466,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ethcore-util"
|
name = "ethcore-util"
|
||||||
version = "1.3.13"
|
version = "1.3.14"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ansi_term 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"ansi_term 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"arrayvec 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"arrayvec 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@ -499,7 +499,7 @@ dependencies = [
|
|||||||
name = "ethjson"
|
name = "ethjson"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ethcore-util 1.3.13",
|
"ethcore-util 1.3.14",
|
||||||
"rustc-serialize 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.7.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.7.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_codegen 0.7.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_codegen 0.7.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@ -547,7 +547,7 @@ dependencies = [
|
|||||||
"ethcore-ipc-codegen 1.3.0",
|
"ethcore-ipc-codegen 1.3.0",
|
||||||
"ethcore-ipc-nano 1.3.0",
|
"ethcore-ipc-nano 1.3.0",
|
||||||
"ethcore-network 1.3.0",
|
"ethcore-network 1.3.0",
|
||||||
"ethcore-util 1.3.13",
|
"ethcore-util 1.3.14",
|
||||||
"heapsize 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"heapsize 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"parking_lot 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"parking_lot 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
description = "Ethcore client."
|
description = "Ethcore client."
|
||||||
name = "parity"
|
name = "parity"
|
||||||
version = "1.3.13"
|
version = "1.3.14"
|
||||||
license = "GPL-3.0"
|
license = "GPL-3.0"
|
||||||
authors = ["Ethcore <admin@ethcore.io>"]
|
authors = ["Ethcore <admin@ethcore.io>"]
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
|
304
ethcore/res/ethereum/ropsten.json
Normal file
304
ethcore/res/ethereum/ropsten.json
Normal file
@ -0,0 +1,304 @@
|
|||||||
|
{
|
||||||
|
"name": "Ropsten",
|
||||||
|
"engine": {
|
||||||
|
"Ethash": {
|
||||||
|
"params": {
|
||||||
|
"gasLimitBoundDivisor": "0x0400",
|
||||||
|
"minimumDifficulty": "0x020000",
|
||||||
|
"difficultyBoundDivisor": "0x0800",
|
||||||
|
"durationLimit": "0x0d",
|
||||||
|
"blockReward": "0x4563918244F40000",
|
||||||
|
"registrar": "0x81a4b044831c4f12ba601adb9274516939e9b8a2",
|
||||||
|
"homesteadTransition": 0,
|
||||||
|
"eip150Transition": 0,
|
||||||
|
"eip155Transition": 10,
|
||||||
|
"eip160Transition": 10,
|
||||||
|
"eip161abcTransition": 10,
|
||||||
|
"eip161dTransition": 10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"params": {
|
||||||
|
"accountStartNonce": "0x0",
|
||||||
|
"maximumExtraDataSize": "0x20",
|
||||||
|
"minGasLimit": "0x1388",
|
||||||
|
"networkID" : "0x3"
|
||||||
|
},
|
||||||
|
"genesis": {
|
||||||
|
"seal": {
|
||||||
|
"ethereum": {
|
||||||
|
"nonce": "0x0000000000000042",
|
||||||
|
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"difficulty": "0x100000",
|
||||||
|
"author": "0x0000000000000000000000000000000000000000",
|
||||||
|
"timestamp": "0x00",
|
||||||
|
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||||
|
"extraData": "0x3535353535353535353535353535353535353535353535353535353535353535",
|
||||||
|
"gasLimit": "0x1000000"
|
||||||
|
},
|
||||||
|
"nodes": [
|
||||||
|
"enode://a22f0977ce02653bf95e38730106356342df48b5222e2c2a1a6f9ef34769bf593bae9ca0a888cf60839edd52efc1b6e393c63a57d76f4c4fe14e641f1f9e637e@128.199.55.137:30303",
|
||||||
|
"enode://012239fccf3ff1d92b036983a430cb6705c6528c96c0354413f8854802138e5135c084ab36e7c54efb621c46728df8c3a6f4c1db9bb48a1330efe3f82f2dd7a6@52.169.94.142:30303"
|
||||||
|
],
|
||||||
|
"accounts": {
|
||||||
|
"0000000000000000000000000000000000000001": { "balance": "1", "nonce": "0", "builtin": { "name": "ecrecover", "pricing": { "linear": { "base": 3000, "word": 0 } } } },
|
||||||
|
"0000000000000000000000000000000000000002": { "balance": "1", "nonce": "0", "builtin": { "name": "sha256", "pricing": { "linear": { "base": 60, "word": 12 } } } },
|
||||||
|
"0000000000000000000000000000000000000003": { "balance": "1", "nonce": "0", "builtin": { "name": "ripemd160", "pricing": { "linear": { "base": 600, "word": 120 } } } },
|
||||||
|
"0000000000000000000000000000000000000004": { "balance": "1", "nonce": "0", "builtin": { "name": "identity", "pricing": { "linear": { "base": 15, "word": 3 } } } },
|
||||||
|
"0000000000000000000000000000000000000000": { "balance": "1" },
|
||||||
|
"0000000000000000000000000000000000000005": { "balance": "1" },
|
||||||
|
"0000000000000000000000000000000000000006": { "balance": "1" },
|
||||||
|
"0000000000000000000000000000000000000007": { "balance": "1" },
|
||||||
|
"0000000000000000000000000000000000000008": { "balance": "1" },
|
||||||
|
"0000000000000000000000000000000000000009": { "balance": "1" },
|
||||||
|
"000000000000000000000000000000000000000a": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000000b": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000000c": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000000d": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000000e": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000000f": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000010": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000011": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000012": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000013": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000014": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000015": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000016": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000017": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000018": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000019": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000001a": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000001b": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000001c": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000001d": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000001e": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000001f": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000020": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000021": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000022": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000023": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000024": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000025": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000026": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000027": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000028": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000029": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000002a": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000002b": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000002c": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000002d": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000002e": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000002f": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000030": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000031": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000032": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000033": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000034": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000035": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000036": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000037": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000038": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000039": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000003a": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000003b": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000003c": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000003d": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000003e": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000003f": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000040": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000041": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000042": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000043": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000044": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000045": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000046": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000047": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000048": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000049": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000004a": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000004b": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000004c": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000004d": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000004e": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000004f": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000050": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000051": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000052": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000053": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000054": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000055": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000056": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000057": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000058": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000059": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000005a": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000005b": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000005c": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000005d": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000005e": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000005f": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000060": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000061": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000062": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000063": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000064": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000065": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000066": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000067": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000068": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000069": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000006a": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000006b": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000006c": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000006d": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000006e": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000006f": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000070": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000071": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000072": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000073": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000074": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000075": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000076": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000077": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000078": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000079": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000007a": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000007b": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000007c": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000007d": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000007e": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000007f": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000080": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000081": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000082": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000083": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000084": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000085": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000086": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000087": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000088": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000089": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000008a": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000008b": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000008c": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000008d": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000008e": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000008f": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000090": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000091": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000092": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000093": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000094": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000095": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000096": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000097": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000098": { "balance": "0" },
|
||||||
|
"0000000000000000000000000000000000000099": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000009a": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000009b": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000009c": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000009d": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000009e": { "balance": "0" },
|
||||||
|
"000000000000000000000000000000000000009f": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000a0": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000a1": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000a2": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000a3": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000a4": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000a5": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000a6": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000a7": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000a8": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000a9": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000aa": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000ab": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000ac": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000ad": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000ae": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000af": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000b0": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000b1": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000b2": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000b3": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000b4": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000b5": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000b6": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000b7": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000b8": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000b9": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000ba": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000bb": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000bc": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000bd": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000be": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000bf": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000c0": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000c1": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000c2": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000c3": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000c4": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000c5": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000c6": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000c7": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000c8": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000c9": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000ca": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000cb": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000cc": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000cd": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000ce": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000cf": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000d0": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000d1": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000d2": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000d3": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000d4": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000d5": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000d6": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000d7": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000d8": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000d9": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000da": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000db": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000dc": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000dd": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000de": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000df": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000e0": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000e1": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000e2": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000e3": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000e4": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000e5": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000e6": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000e7": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000e8": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000e9": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000ea": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000eb": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000ec": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000ed": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000ee": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000ef": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000f0": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000f1": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000f2": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000f3": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000f4": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000f5": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000f6": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000f7": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000f8": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000f9": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000fa": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000fb": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000fc": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000fd": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000fe": { "balance": "0" },
|
||||||
|
"00000000000000000000000000000000000000ff": { "balance": "0" },
|
||||||
|
"874b54a8bd152966d63f706bae1ffeb0411921e5": { "balance": "1000000000000000000000000000000" }
|
||||||
|
}
|
||||||
|
}
|
@ -56,6 +56,9 @@ pub fn new_transition_test() -> Spec { Spec::load(include_bytes!("../../res/ethe
|
|||||||
/// Create a new Frontier main net chain spec without genesis accounts.
|
/// Create a new Frontier main net chain spec without genesis accounts.
|
||||||
pub fn new_mainnet_like() -> Spec { Spec::load(include_bytes!("../../res/ethereum/frontier_like_test.json")) }
|
pub fn new_mainnet_like() -> Spec { Spec::load(include_bytes!("../../res/ethereum/frontier_like_test.json")) }
|
||||||
|
|
||||||
|
/// Create a new Ropsten chain spec.
|
||||||
|
pub fn new_ropsten() -> Spec { Spec::load(include_bytes!("../../res/ethereum/ropsten.json")) }
|
||||||
|
|
||||||
/// Create a new Morden chain spec.
|
/// Create a new Morden chain spec.
|
||||||
pub fn new_morden() -> Spec { Spec::load(include_bytes!("../../res/ethereum/morden.json")) }
|
pub fn new_morden() -> Spec { Spec::load(include_bytes!("../../res/ethereum/morden.json")) }
|
||||||
|
|
||||||
|
@ -470,14 +470,17 @@ impl Miner {
|
|||||||
|
|
||||||
let best_block_header: Header = ::util::rlp::decode(&chain.best_block_header());
|
let best_block_header: Header = ::util::rlp::decode(&chain.best_block_header());
|
||||||
transactions.into_iter()
|
transactions.into_iter()
|
||||||
.filter(|tx| match self.engine.verify_transaction_basic(tx, &best_block_header) {
|
.map(|tx| {
|
||||||
Ok(()) => true,
|
match self.engine.verify_transaction_basic(&tx, &best_block_header) {
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
debug!(target: "miner", "Rejected tx {:?} with invalid signature: {:?}", tx.hash(), e);
|
debug!(target: "miner", "Rejected tx {:?} with invalid signature: {:?}", tx.hash(), e);
|
||||||
false
|
Err(e)
|
||||||
|
},
|
||||||
|
Ok(()) => {
|
||||||
|
transaction_queue.add(tx, &fetch_account, origin)
|
||||||
|
},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.map(|tx| transaction_queue.add(tx, &fetch_account, origin))
|
|
||||||
.collect()
|
.collect()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
!define DESCRIPTION "Fast, light, robust Ethereum implementation"
|
!define DESCRIPTION "Fast, light, robust Ethereum implementation"
|
||||||
!define VERSIONMAJOR 1
|
!define VERSIONMAJOR 1
|
||||||
!define VERSIONMINOR 3
|
!define VERSIONMINOR 3
|
||||||
!define VERSIONBUILD 13
|
!define VERSIONBUILD 14
|
||||||
|
|
||||||
!addplugindir .\
|
!addplugindir .\
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ Operating Options:
|
|||||||
[default: 3600].
|
[default: 3600].
|
||||||
--chain CHAIN Specify the blockchain type. CHAIN may be either a
|
--chain CHAIN Specify the blockchain type. CHAIN may be either a
|
||||||
JSON chain specification file or olympic, frontier,
|
JSON chain specification file or olympic, frontier,
|
||||||
homestead, mainnet, morden, classic or testnet
|
homestead, mainnet, ropsten, morden, classic or testnet
|
||||||
[default: homestead].
|
[default: homestead].
|
||||||
-d --db-path PATH Specify the database & configuration directory path
|
-d --db-path PATH Specify the database & configuration directory path
|
||||||
[default: $HOME/.parity].
|
[default: $HOME/.parity].
|
||||||
|
@ -294,7 +294,7 @@ impl Configuration {
|
|||||||
|
|
||||||
fn chain(&self) -> String {
|
fn chain(&self) -> String {
|
||||||
if self.args.flag_testnet {
|
if self.args.flag_testnet {
|
||||||
"morden".to_owned()
|
"ropsten".to_owned()
|
||||||
} else {
|
} else {
|
||||||
self.args.flag_chain.clone()
|
self.args.flag_chain.clone()
|
||||||
}
|
}
|
||||||
@ -826,7 +826,7 @@ mod tests {
|
|||||||
// then
|
// then
|
||||||
assert_eq!(conf.network_settings(), NetworkSettings {
|
assert_eq!(conf.network_settings(), NetworkSettings {
|
||||||
name: "testname".to_owned(),
|
name: "testname".to_owned(),
|
||||||
chain: "morden".to_owned(),
|
chain: "ropsten".to_owned(),
|
||||||
network_port: 30303,
|
network_port: 30303,
|
||||||
rpc_enabled: true,
|
rpc_enabled: true,
|
||||||
rpc_interface: "local".to_owned(),
|
rpc_interface: "local".to_owned(),
|
||||||
|
@ -28,6 +28,7 @@ use dir::Directories;
|
|||||||
pub enum SpecType {
|
pub enum SpecType {
|
||||||
Mainnet,
|
Mainnet,
|
||||||
Testnet,
|
Testnet,
|
||||||
|
Ropsten,
|
||||||
Olympic,
|
Olympic,
|
||||||
Classic,
|
Classic,
|
||||||
Custom(String),
|
Custom(String),
|
||||||
@ -47,6 +48,7 @@ impl FromStr for SpecType {
|
|||||||
"frontier" | "homestead" | "mainnet" => SpecType::Mainnet,
|
"frontier" | "homestead" | "mainnet" => SpecType::Mainnet,
|
||||||
"frontier-dogmatic" | "homestead-dogmatic" | "classic" => SpecType::Classic,
|
"frontier-dogmatic" | "homestead-dogmatic" | "classic" => SpecType::Classic,
|
||||||
"morden" | "testnet" => SpecType::Testnet,
|
"morden" | "testnet" => SpecType::Testnet,
|
||||||
|
"ropsten" => SpecType::Ropsten,
|
||||||
"olympic" => SpecType::Olympic,
|
"olympic" => SpecType::Olympic,
|
||||||
other => SpecType::Custom(other.into()),
|
other => SpecType::Custom(other.into()),
|
||||||
};
|
};
|
||||||
@ -59,6 +61,7 @@ impl SpecType {
|
|||||||
match *self {
|
match *self {
|
||||||
SpecType::Mainnet => Ok(ethereum::new_frontier()),
|
SpecType::Mainnet => Ok(ethereum::new_frontier()),
|
||||||
SpecType::Testnet => Ok(ethereum::new_morden()),
|
SpecType::Testnet => Ok(ethereum::new_morden()),
|
||||||
|
SpecType::Ropsten => Ok(ethereum::new_ropsten()),
|
||||||
SpecType::Olympic => Ok(ethereum::new_olympic()),
|
SpecType::Olympic => Ok(ethereum::new_olympic()),
|
||||||
SpecType::Classic => Ok(ethereum::new_classic()),
|
SpecType::Classic => Ok(ethereum::new_classic()),
|
||||||
SpecType::Custom(ref file) => Ok(Spec::load(&try!(contents(file).map_err(|_| "Could not load specification file."))))
|
SpecType::Custom(ref file) => Ok(Spec::load(&try!(contents(file).map_err(|_| "Could not load specification file."))))
|
||||||
@ -232,6 +235,7 @@ mod tests {
|
|||||||
assert_eq!(SpecType::Mainnet, "mainnet".parse().unwrap());
|
assert_eq!(SpecType::Mainnet, "mainnet".parse().unwrap());
|
||||||
assert_eq!(SpecType::Testnet, "testnet".parse().unwrap());
|
assert_eq!(SpecType::Testnet, "testnet".parse().unwrap());
|
||||||
assert_eq!(SpecType::Testnet, "morden".parse().unwrap());
|
assert_eq!(SpecType::Testnet, "morden".parse().unwrap());
|
||||||
|
assert_eq!(SpecType::Ropsten, "ropsten".parse().unwrap());
|
||||||
assert_eq!(SpecType::Olympic, "olympic".parse().unwrap());
|
assert_eq!(SpecType::Olympic, "olympic".parse().unwrap());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ description = "Ethcore utility library"
|
|||||||
homepage = "http://ethcore.io"
|
homepage = "http://ethcore.io"
|
||||||
license = "GPL-3.0"
|
license = "GPL-3.0"
|
||||||
name = "ethcore-util"
|
name = "ethcore-util"
|
||||||
version = "1.3.13"
|
version = "1.3.14"
|
||||||
authors = ["Ethcore <admin@ethcore.io>"]
|
authors = ["Ethcore <admin@ethcore.io>"]
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user