Files
tendermint/CHANGELOG_PENDING.md
Erik Grinaker e198edf20e p2p: remove NodeInfo interface and rename DefaultNodeInfo struct (#5799)
The `NodeInfo` interface does not appear to serve any purpose at all, so I removed it and renamed the `DefaultNodeInfo` struct to `NodeInfo` (including the Protobuf representations). Let me know if this is actually needed for anything.

Only the Protobuf rename is listed in the changelog, since we do not officially support API stability of the `p2p` package (according to `README.md`). The on-wire protocol remains compatible.
2020-12-15 18:54:25 +00:00

2.6 KiB

Unreleased Changes

vX.X

Special thanks to external contributors on this release:

Friendly reminder, we have a bug bounty program.

BREAKING CHANGES

  • CLI/RPC/Config

    • [config] #5598 The test_fuzz and test_fuzz_config P2P settings have been removed. (@erikgrinaker)
    • [config] #5728 fast_sync = "v1" is no longer supported (@melekes)
    • [cli] #5772 gen_node_key prints JSON-encoded NodeKey rather than ID and does not save it to node_key.json (@melekes)
    • [cli] #5777 use hypen-case instead of snake_case for all cli comamnds and config parameters
  • Apps

    • [ABCI] #5447 Remove SetOption method from ABCI.Client interface
    • [ABCI] #5447 Reset Oneof indexes for Request and Response.
  • P2P Protocol

  • Go API

    • [abci/client, proxy] #5673 Async funcs return an error, Sync and Async funcs accept context.Context (@melekes)
    • [p2p] Removed unused function MakePoWTarget. (@erikgrinaker)
    • [libs/bits] #5720 Validate BitArray in FromProto, which now returns an error (@melekes)
    • [proto/p2p] Renamed DefaultNodeInfo and DefaultNodeInfoOther to NodeInfo and NodeInfoOther (@erikgrinaker)
  • [libs/os] Kill() and {Must,}{Read,Write}File() functions have been removed. (@alessio)

  • Blockchain Protocol

FEATURES

IMPROVEMENTS

  • [crypto/ed25519] #5632 Adopt zip215 ed25519 verification. (@marbar3778)
  • [privval] #5603 Add --key to init, gen_validator, testnet & unsafe_reset_priv_validator for use in generating secp256k1 keys.
  • [abci/client] #5673 Async requests return an error if queue is full (@melekes)
  • [mempool] #5673 Cancel CheckTx requests if RPC client disconnects or times out (@melekes)
  • [abci] #5706 Added AbciVersion to RequestInfo allowing applications to check ABCI version when connecting to Tendermint. (@marbar3778)
  • [blockchain/v1] #5728 Remove in favor of v2 (@melekes)
  • [blockchain/v0] #5741 Relax termination conditions and increase sync timeout (@melekes)
  • [cli] #5772 gen_node_key output now contains node ID (id field) (@melekes)
  • [blockchain/v2] #5774 Send status request when new peer joins (@melekes)

BUG FIXES

  • [types] #5523 Change json naming of PartSetHeader within BlockID from parts to part_set_header (@marbar3778)
  • [privval] #5638 Increase read/write timeout to 5s and calculate ping interval based on it (@JoeKash)
  • [blockchain/v1] #5701 Handle peers without blocks (@melekes)
  • [crypto] #5707 Fix infinite recursion in string formatting of Secp256k1 keys (@erikgrinaker)
  • [blockchain/v1] #5711 Fix deadlock (@melekes)