mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-08 06:15:33 +00:00
3.1 KiB
3.1 KiB
v0.31.6
**
BREAKING CHANGES:
-
CLI/RPC/Config
-
Apps
-
Go API
- [mempool] #2659
Mempoolnow an interface- old
Mempoolimplementation renamed toCListMempool NewMempoolrenamed toNewCListMempoolOptionrenamed toCListOption- unexpose
MempoolReactor.Mempool MempoolReactorrenamed toReactorNewMempoolReactorrenamed toNewReactor- unexpose
TxIDmethod TxInfo.PeerIDrenamed toSenderID
- old
- [state] #2659
Mempoolinterface moved to mempool packageMockMempoolmoved to top-level mock package and renamed toMempool
- [libs/common] Removed
PanicSanity,PanicCrisis,PanicConsensusandPanicQ - [node] Moved
GenesisDocProviderandDefaultGenesisDocProviderFuncto state package
-
Blockchain Protocol
-
P2P Protocol
FEATURES:
- [node] #2659 Add
node.Mempool()method, which allows you to access mempool
IMPROVEMENTS:
- [p2p] #3463 Do not log "Can't add peer's address to addrbook" error for a private peer
- [p2p] #3552 Add PeerBehaviour Interface (@brapse)
- [rpc] #3534 Add support for batched requests/responses in JSON RPC
- [cli] #3585 Add option to not clear address book with unsafe reset (@climber73)
- [cli] #3160 Add
-config=<path-to-config>option totestnetcmd (@gregdhill) - [cs/replay] #3460 check appHash for each block
- [rpc] #3362
/dial_seeds&/dial_peersreturn errors if addresses are incorrect (except when IP lookup fails) - [node] #3362 returns an error if
persistent_peerslist is invalid (except when IP lookup fails) - [p2p] #3531 Terminate session on nonce wrapping (@climber73)
- [libs/db] #3611 Conditional compilation
- Use
cleveldbtag instead ofgccto compile Tendermint with CLevelDB or usemake build_c/make install_c(full instructions can be found at https://tendermint.com/docs/introduction/install.html#compile-with-cleveldb-support) - Use
boltdbtag to compile Tendermint with bolt db
- Use
BUG FIXES:
- [p2p] #3532 limit the number of attempts to connect to a peer in seed mode to 16 (as a result, the node will stop retrying after a 35 hours time window)
- [consensus] #2723, #3451 and #3317 Fix non-deterministic tests
- [p2p] #3362 make persistent prop independent of conn direction
Switch#DialPeersAsyncnow only takes a list of peersSwitch#DialPeerWithAddressnow only takes an address
- [consensus] #3067 getBeginBlockValidatorInfo loads validators from stateDB instead of state (@james-ray)
- [pex] #3603 Dial seeds when addrbook needs more addresses (@defunctzombie)
- [mempool] #3322 Remove only valid (Code==0) txs on Update
Mempool#UpdateandBlockExecutor#Commitnow accept[]*abci.ResponseDeliverTx- list ofDeliverTxresponses, which should matchblock.Txs
- [networks] fixes ansible integration script (@carlosflrs)
- [lite] #3669 Add context parameter to RPC Handlers in proxy routes (@yutianwu)