Browse Source

Merge pull request #2231 from tendermint/anton/changelog-2

Add a changelog entry & Upgrading guides
pull/2235/head
Ethan Buchman 6 years ago
committed by GitHub
parent
commit
d69cf9dd2f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 1 deletions
  1. +1
    -0
      CHANGELOG_PENDING.md
  2. +32
    -0
      UPGRADING.md
  3. +1
    -1
      docs/tendermint-core/configuration.md

+ 1
- 0
CHANGELOG_PENDING.md View File

@ -13,6 +13,7 @@ BREAKING CHANGES:
- [blockchain] fix go-amino routes for blockchain messages
- [crypto] Rename AminoRoute variables to no longer be prefixed by signature type.
- [config] Replace MaxNumPeers with MaxNumInboundPeers and MaxNumOutboundPeers
- [node] NewNode now accepts a `*p2p.NodeKey`
FEATURES:
- [types] allow genesis file to have 0 validators ([#2015](https://github.com/tendermint/tendermint/issues/2015))


+ 32
- 0
UPGRADING.md View File

@ -0,0 +1,32 @@
# Upgrading Tendermint Core
This guide provides steps to be followed when you upgrade your applications to
a newer version of Tendermint Core.
## Upgrading from 0.23.0 to 0.24.0
New 0.24.0 release contains a lot of changes to the state and types. It's not
compatible to the old versions.
To reset the state do:
```
$ tendermint unsafe_reset_all
```
### Config changes
`p2p.max_num_peers` was removed in favor of `p2p.max_num_inbound_peers` and
`p2p.max_num_outbound_peers`.
```
# Maximum number of inbound peers
max_num_inbound_peers = 40
# Maximum number of outbound peers to connect to, excluding persistent peers
max_num_outbound_peers = 10
```
As you can see, the default ratio of inbound/outbound peers is 4/1. The reason
as we want it to be easier for new nodes to connect to the network. You can
tweak these parameters to alter the network topology.

+ 1
- 1
docs/tendermint-core/configuration.md View File

@ -120,7 +120,7 @@ flush_throttle_timeout = 100
# Maximum number of inbound peers
max_num_inbound_peers = 40
# Maximum number of outbound peers to connect to
# Maximum number of outbound peers to connect to, excluding persistent peers
max_num_outbound_peers = 10
# Maximum size of a message packet payload, in bytes


Loading…
Cancel
Save