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.

98 lines
2.3 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. seeds = ["seed02"]
  24. [node.seed02]
  25. mode = "seed"
  26. seeds = ["seed01"]
  27. [node.validator01]
  28. seeds = ["seed01"]
  29. snapshot_interval = 5
  30. perturb = ["disconnect"]
  31. [node.validator02]
  32. seeds = ["seed02"]
  33. database = "boltdb"
  34. abci_protocol = "tcp"
  35. privval_protocol = "tcp"
  36. persist_interval = 0
  37. # FIXME The WAL gets corrupted when restarted
  38. # https://github.com/tendermint/tendermint/issues/5422
  39. #perturb = ["restart"]
  40. [node.validator03]
  41. seeds = ["seed01"]
  42. database = "badgerdb"
  43. abci_protocol = "grpc"
  44. privval_protocol = "unix"
  45. persist_interval = 3
  46. retain_blocks = 3
  47. # FIXME The WAL gets corrupted when killed
  48. # https://github.com/tendermint/tendermint/issues/5422
  49. #perturb = ["kill"]
  50. [node.validator04]
  51. persistent_peers = ["validator01"]
  52. database = "rocksdb"
  53. abci_protocol = "builtin"
  54. retain_blocks = 1
  55. perturb = ["pause"]
  56. [node.validator05]
  57. start_at = 1005 # Becomes part of the validator set at 1010
  58. seeds = ["seed02"]
  59. database = "cleveldb"
  60. fast_sync = "v0"
  61. abci_protocol = "grpc"
  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"]