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.

102 lines
2.6 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. persistent_peers = ["seed02"]
  24. [node.seed02]
  25. mode = "seed"
  26. persistent_peers = ["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. # FIXME Should use grpc, but it has race conditions
  44. # https://github.com/tendermint/tendermint/issues/5439
  45. abci_protocol = "unix"
  46. privval_protocol = "unix"
  47. persist_interval = 3
  48. retain_blocks = 3
  49. # FIXME The WAL gets corrupted when killed
  50. # https://github.com/tendermint/tendermint/issues/5422
  51. #perturb = ["kill"]
  52. [node.validator04]
  53. persistent_peers = ["validator01"]
  54. database = "rocksdb"
  55. abci_protocol = "builtin"
  56. retain_blocks = 1
  57. perturb = ["pause"]
  58. [node.validator05]
  59. start_at = 1005 # Becomes part of the validator set at 1010
  60. seeds = ["seed02"]
  61. database = "cleveldb"
  62. fast_sync = "v0"
  63. # FIXME Should use grpc, but it has race conditions
  64. # https://github.com/tendermint/tendermint/issues/5439
  65. abci_protocol = "tcp"
  66. privval_protocol = "tcp"
  67. # FIXME The WAL gets corrupted when killed
  68. # https://github.com/tendermint/tendermint/issues/5422
  69. #perturb = ["kill", "pause", "disconnect", "restart"]
  70. [node.full01]
  71. start_at = 1010
  72. mode = "full"
  73. # FIXME Should use v1, but it won't catch up since some nodes don't have all blocks
  74. # https://github.com/tendermint/tendermint/issues/5444
  75. fast_sync = "v2"
  76. persistent_peers = ["validator01", "validator02", "validator03", "validator04", "validator05"]
  77. # FIXME The WAL gets corrupted when restarted
  78. # https://github.com/tendermint/tendermint/issues/5422
  79. #perturb = ["restart"]
  80. [node.full02]
  81. start_at = 1015
  82. mode = "full"
  83. fast_sync = "v2"
  84. state_sync = true
  85. seeds = ["seed01"]
  86. # FIXME The WAL gets corrupted when restarted
  87. # https://github.com/tendermint/tendermint/issues/5422
  88. #perturb = ["restart"]