mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-08 22:23:11 +00:00
A few notes: - this is not all the deletion that we can do, but this is the most "simple" case: it leaves in shims, and there's some trivial additional cleanup to the transport that can happen but that requires writing more code, and I wanted this to be easy to review above all else. - This should land *after* we cut the branch for 0.35, but I'm anticipating that to happen soon, and I wanted to run this through CI.
89 lines
1.8 KiB
TOML
89 lines
1.8 KiB
TOML
# This testnet is run by CI, and attempts to cover a broad range of
|
|
# functionality with a single network.
|
|
|
|
evidence = 5
|
|
initial_height = 1000
|
|
initial_state = {initial01 = "a", initial02 = "b", initial03 = "c"}
|
|
queue_type = "priority"
|
|
|
|
[validators]
|
|
validator01 = 100
|
|
|
|
[validator_update.0]
|
|
validator01 = 10
|
|
validator02 = 20
|
|
validator03 = 30
|
|
validator04 = 40
|
|
|
|
[validator_update.1010]
|
|
validator05 = 50
|
|
|
|
# validator03 gets killed and validator05 has lots of perturbations, so weight them low.
|
|
[validator_update.1020]
|
|
validator01 = 100
|
|
validator02 = 100
|
|
validator03 = 50
|
|
validator04 = 100
|
|
validator05 = 50
|
|
|
|
[node.seed01]
|
|
mode = "seed"
|
|
perturb = ["restart"]
|
|
|
|
[node.validator01]
|
|
perturb = ["disconnect"]
|
|
seeds = ["seed01"]
|
|
snapshot_interval = 5
|
|
block_sync = "v0"
|
|
|
|
[node.validator02]
|
|
abci_protocol = "tcp"
|
|
database = "boltdb"
|
|
persist_interval = 0
|
|
perturb = ["restart"]
|
|
privval_protocol = "tcp"
|
|
seeds = ["seed01"]
|
|
block_sync = "v0"
|
|
|
|
[node.validator03]
|
|
database = "badgerdb"
|
|
seeds = ["seed01"]
|
|
abci_protocol = "grpc"
|
|
persist_interval = 3
|
|
perturb = ["kill"]
|
|
privval_protocol = "grpc"
|
|
block_sync = "v0"
|
|
retain_blocks = 10
|
|
|
|
[node.validator04]
|
|
abci_protocol = "builtin"
|
|
snapshot_interval = 5
|
|
database = "rocksdb"
|
|
persistent_peers = ["validator01"]
|
|
perturb = ["pause"]
|
|
block_sync = "v0"
|
|
|
|
[node.validator05]
|
|
database = "cleveldb"
|
|
block_sync = "v0"
|
|
state_sync = "p2p"
|
|
seeds = ["seed01"]
|
|
start_at = 1005 # Becomes part of the validator set at 1010
|
|
abci_protocol = "grpc"
|
|
perturb = ["pause", "disconnect", "restart"]
|
|
privval_protocol = "tcp"
|
|
|
|
[node.full01]
|
|
mode = "full"
|
|
start_at = 1010
|
|
block_sync = "v0"
|
|
persistent_peers = ["validator01", "validator02", "validator03", "validator04"]
|
|
perturb = ["restart"]
|
|
retain_blocks = 10
|
|
state_sync = "rpc"
|
|
|
|
[node.light01]
|
|
mode = "light"
|
|
persistent_peers = ["validator01", "validator02", "validator03"]
|
|
start_at = 1010
|