You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
2.5 KiB

  1. # This testnet is (will be) run by CI, and attempts to cover a broad range of
  2. # functionality with a single network.
  3. initial_height = 1000
  4. initial_state = { initial01 = "a", initial02 = "b", initial03 = "c" }
  5. [validators]
  6. validator01 = 100
  7. [validator_update.0]
  8. validator01 = 10
  9. validator02 = 20
  10. validator03 = 30
  11. validator04 = 40
  12. [validator_update.1010]
  13. validator05 = 50
  14. # validator03 gets killed and validator05 has lots of perturbations, so weight them low.
  15. [validator_update.1020]
  16. validator01 = 100
  17. validator02 = 100
  18. validator03 = 50
  19. validator04 = 100
  20. validator05 = 50
  21. [node.seed01]
  22. mode = "seed"
  23. [node.validator01]
  24. seeds = ["seed01"]
  25. snapshot_interval = 5
  26. perturb = ["disconnect"]
  27. [node.validator02]
  28. seeds = ["seed01"]
  29. database = "boltdb"
  30. abci_protocol = "tcp"
  31. privval_protocol = "tcp"
  32. persist_interval = 0
  33. # FIXME The WAL gets corrupted when restarted
  34. # https://github.com/tendermint/tendermint/issues/5422
  35. #perturb = ["restart"]
  36. [node.validator03]
  37. seeds = ["seed01"]
  38. database = "badgerdb"
  39. # FIXME Should use grpc, but it has race conditions
  40. # https://github.com/tendermint/tendermint/issues/5439
  41. abci_protocol = "unix"
  42. privval_protocol = "unix"
  43. persist_interval = 3
  44. retain_blocks = 3
  45. # FIXME The WAL gets corrupted when killed
  46. # https://github.com/tendermint/tendermint/issues/5422
  47. #perturb = ["kill"]
  48. [node.validator04]
  49. persistent_peers = ["validator01"]
  50. database = "rocksdb"
  51. abci_protocol = "builtin"
  52. retain_blocks = 1
  53. perturb = ["pause"]
  54. [node.validator05]
  55. start_at = 1005 # Becomes part of the validator set at 1010
  56. seeds = ["seed01"]
  57. database = "cleveldb"
  58. fast_sync = "v0"
  59. # FIXME Should use grpc, but it has race conditions
  60. # https://github.com/tendermint/tendermint/issues/5439
  61. abci_protocol = "tcp"
  62. privval_protocol = "tcp"
  63. # FIXME The WAL gets corrupted when killed
  64. # https://github.com/tendermint/tendermint/issues/5422
  65. #perturb = ["kill", "pause", "disconnect", "restart"]
  66. [node.full01]
  67. start_at = 1010
  68. mode = "full"
  69. # FIXME Should use v1, but it won't catch up since some nodes don't have all blocks
  70. # https://github.com/tendermint/tendermint/issues/5444
  71. fast_sync = "v2"
  72. persistent_peers = ["validator01", "validator02", "validator03", "validator04", "validator05"]
  73. # FIXME The WAL gets corrupted when restarted
  74. # https://github.com/tendermint/tendermint/issues/5422
  75. #perturb = ["restart"]
  76. [node.full02]
  77. start_at = 1015
  78. mode = "full"
  79. fast_sync = "v2"
  80. state_sync = true
  81. seeds = ["seed01"]
  82. # FIXME The WAL gets corrupted when restarted
  83. # https://github.com/tendermint/tendermint/issues/5422
  84. #perturb = ["restart"]