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.

32 lines
868 B

  1. # Upgrading Tendermint Core
  2. This guide provides steps to be followed when you upgrade your applications to
  3. a newer version of Tendermint Core.
  4. ## Upgrading from 0.23.0 to 0.24.0
  5. New 0.24.0 release contains a lot of changes to the state and types. It's not
  6. compatible to the old versions.
  7. To reset the state do:
  8. ```
  9. $ tendermint unsafe_reset_all
  10. ```
  11. ### Config changes
  12. `p2p.max_num_peers` was removed in favor of `p2p.max_num_inbound_peers` and
  13. `p2p.max_num_outbound_peers`.
  14. ```
  15. # Maximum number of inbound peers
  16. max_num_inbound_peers = 40
  17. # Maximum number of outbound peers to connect to, excluding persistent peers
  18. max_num_outbound_peers = 10
  19. ```
  20. As you can see, the default ratio of inbound/outbound peers is 4/1. The reason
  21. as we want it to be easier for new nodes to connect to the network. You can
  22. tweak these parameters to alter the network topology.