Skip to content

Commit

Permalink
key_from_keystore test
Browse files Browse the repository at this point in the history
  • Loading branch information
svyatonik committed Jul 26, 2017
1 parent 4297d3a commit c043fe4
Show file tree
Hide file tree
Showing 6 changed files with 141 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
parity
ethstore
core
db.*
45 changes: 45 additions & 0 deletions key_from_keystore/dev_ss1.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
[parity]
chain = "dev"
base_path = "db.dev_ss1"

[account]
password = ["password.file"]

[ui]
disable = false

[rpc]
disable = false

[ipc]
disable = true

[websockets]
disable = false

[dapps]
disable = false

[network]
port = 30303
node_key = "6c26a76e9b31048d170873a791401c7e799a11f0cefc0171cc31a49800967509"
bootnodes = [
"enode://cac6c205eb06c8308d65156ff6c862c62b000b8ead121a4455a8ddeff7248128d895692136f240d5d1614dc7cc4147b1bd584bd617e30560bb872064d09ea325@127.0.0.1:30304",
"enode://6b8d9b9ecde2f0d8c7b2685dd10d181000fa0b26462674dece3096488d6b8d6e3c0e4e1262e3f0eb3b997783b3d6471c281905c5fafeb7908f3aeb7326274db6@127.0.0.1:30305"
]

[ipfs]
enable = false

[snapshots]
disable_periodic = true

[secretstore]
disable = false
self_secret = "6fe74e132437594baba2454a3c7132050154b0c8"
nodes = ["9a390f9c68aa0a7b2e4cdac1bf668b08c1fba27f83f9eb8066d511d471e8923c660298b968100e0d31db015576fae96b4cfd0c6611d3bd4ff3b8ab90e7797ecc@127.0.0.1:8085", "28a9bf97a20ff610f1debecbaeb66f219359d5cd108ff2d6554db811b1036c05a4add1a485a90878d5fda1d52b0063773cb506e64b6d2bad6bbc281ddc5bf608@127.0.0.1:8087"]
interface = "local"
port = 8083
http_interface = "local"
http_port = 8082
path = "db.dev_ss1/secretstore"
45 changes: 45 additions & 0 deletions key_from_keystore/dev_ss2.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
[parity]
chain = "dev"
base_path = "db.dev_ss2"

[account]
password = ["password.file"]

[ui]
disable = true

[rpc]
disable = true

[ipc]
disable = true

[websockets]
disable = true

[dapps]
disable = true

[network]
port = 30304
node_key = "7e94018b3731afdb3b4e6f4c3e179475640166da12e1d1b0c7d80729b1a5b452"
bootnodes = [
"enode://d01355a9e8858242ae190208716c48734a5bd2c417b0a9181bc563a18c8ca538cd095d8ab383ed62fba4872c5bd86bad1e82d015e6eabae18546c998d5621923@127.0.0.1:30303",
"enode://6b8d9b9ecde2f0d8c7b2685dd10d181000fa0b26462674dece3096488d6b8d6e3c0e4e1262e3f0eb3b997783b3d6471c281905c5fafeb7908f3aeb7326274db6@127.0.0.1:30305"
]

[ipfs]
enable = false

[snapshots]
disable_periodic = true

[secretstore]
disable = false
self_secret = "39ecbd0f4468269885cc519677bd6de300792a35"
nodes = ["116fbed39a6174640a2baf23f2d874dda037da9382bac7842c7dbe1a61b14947b235b571d73c5915206ab0b2f162f1069c2537c0e8480672006e0425be8b82f5@127.0.0.1:8083", "28a9bf97a20ff610f1debecbaeb66f219359d5cd108ff2d6554db811b1036c05a4add1a485a90878d5fda1d52b0063773cb506e64b6d2bad6bbc281ddc5bf608@127.0.0.1:8087"]
interface = "local"
port = 8085
http_interface = "local"
http_port = 8084
path = "db.dev_ss2/secretstore"
45 changes: 45 additions & 0 deletions key_from_keystore/dev_ss3.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
[parity]
chain = "dev"
base_path = "db.dev_ss3"

[account]
password = ["password.file"]

[ui]
disable = true

[rpc]
disable = true

[ipc]
disable = true

[websockets]
disable = true

[dapps]
disable = true

[network]
port = 30305
node_key = "5ab6ed2a52c33142380032c39a03a86b12eacb3fa4b53bc16d84f51318156f8c"
bootnodes = [
"enode://d01355a9e8858242ae190208716c48734a5bd2c417b0a9181bc563a18c8ca538cd095d8ab383ed62fba4872c5bd86bad1e82d015e6eabae18546c998d5621923@127.0.0.1:30303",
"enode://cac6c205eb06c8308d65156ff6c862c62b000b8ead121a4455a8ddeff7248128d895692136f240d5d1614dc7cc4147b1bd584bd617e30560bb872064d09ea325@127.0.0.1:30304"
]

[ipfs]
enable = false

[snapshots]
disable_periodic = true

[secretstore]
disable = false
self_secret = "0f469217c0b1725fc3c41f080e7dbc60cdc2ffa7"
nodes = ["116fbed39a6174640a2baf23f2d874dda037da9382bac7842c7dbe1a61b14947b235b571d73c5915206ab0b2f162f1069c2537c0e8480672006e0425be8b82f5@127.0.0.1:8083", "9a390f9c68aa0a7b2e4cdac1bf668b08c1fba27f83f9eb8066d511d471e8923c660298b968100e0d31db015576fae96b4cfd0c6611d3bd4ff3b8ab90e7797ecc@127.0.0.1:8085"]
interface = "local"
port = 8087
http_interface = "local"
http_port = 8086
path = "db.dev_ss3/secretstore"
1 change: 1 addition & 0 deletions key_from_keystore/password.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
password
3 changes: 3 additions & 0 deletions key_from_keystore/start
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
RUST_LOG=secretstore=trace,secretstore_net=trace ../parity --config ./dev_ss1.toml&
RUST_LOG=secretstore=trace,secretstore_net=trace ../parity --config ./dev_ss2.toml&
RUST_LOG=secretstore=trace,secretstore_net=trace ../parity --config ./dev_ss3.toml&

0 comments on commit c043fe4

Please sign in to comment.