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.

87 lines
1.7 KiB

  1. # This testnet is 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. misbehaviors = { 1018 = "double-prevote" }
  32. [node.validator02]
  33. seeds = ["seed02"]
  34. database = "boltdb"
  35. abci_protocol = "tcp"
  36. privval_protocol = "tcp"
  37. persist_interval = 0
  38. perturb = ["restart"]
  39. [node.validator03]
  40. seeds = ["seed01"]
  41. database = "badgerdb"
  42. abci_protocol = "grpc"
  43. privval_protocol = "unix"
  44. persist_interval = 3
  45. retain_blocks = 3
  46. perturb = ["kill"]
  47. [node.validator04]
  48. persistent_peers = ["validator01"]
  49. database = "rocksdb"
  50. abci_protocol = "builtin"
  51. perturb = ["pause"]
  52. [node.validator05]
  53. start_at = 1005 # Becomes part of the validator set at 1010
  54. seeds = ["seed02"]
  55. database = "cleveldb"
  56. fast_sync = "v0"
  57. abci_protocol = "grpc"
  58. privval_protocol = "tcp"
  59. perturb = ["kill", "pause", "disconnect", "restart"]
  60. [node.full01]
  61. start_at = 1010
  62. mode = "full"
  63. fast_sync = "v2"
  64. persistent_peers = ["validator01", "validator02", "validator03", "validator04", "validator05"]
  65. retain_blocks = 1
  66. perturb = ["restart"]
  67. [node.full02]
  68. start_at = 1015
  69. mode = "full"
  70. fast_sync = "v2"
  71. state_sync = true
  72. seeds = ["seed01"]
  73. perturb = ["restart"]