Note
1.2.0-rc2 changes the bp peering gossip protocol in ways that are incompatible with v1.2.0-rc1.
Spring v1.2.0-rc2 introduces significant advancements in the BP gossip protocol, enhancing peer discovery, connectivity, and network resilience. These updates build upon the dynamic auto-peering system introduced in v1.2.0-rc1, further streamlining block producer operations and network configuration.
Notable Changes
-
Enhanced BP Gossip Endpoint Configuration
Introduced the--p2p-bp-gossip-endpoint
option, allowing block producers to specify their account name, advertised inbound endpoint, and outbound IP address. This facilitates dynamic peer discovery and simplifies firewall configurations. -
BP Peer Entry Expiration Mechanism
Implemented an expiration system for BP peer entries, ensuring outdated information is purged and the network maintains up-to-date peer data. Entries expire after one hour, with updates propagated every 30 minutes. -
Increased BP Peer Entry Limit
Expanded the maximum number of BP peer entries per producer from 4 to 8, accommodating more complex network topologies and enhancing connectivity options. -
New API Endpoint for BP Gossip Peers
Added the/v1/net/bp_gossip_peers
API endpoint, providing real-time access to the current set of known BP gossip peers, aiding in monitoring and diagnostics. -
Agent Name Inclusion in Peer Logs
Extended thepeer-log-format
option to include the agent name, offering clearer identification in peer log statements and facilitating debugging. -
Versioned Signed BP Peer Messages
Adopted a versioned structure forsigned_bp_peer
messages, paving the way for future enhancements while maintaining backward compatibility.
What's Changed
- [1.1.4] Bump version to 1.1.4 by @heifner in #1435
- [1.1.4 -> 1.2.0-rc1] Bump version to 1.1.4 by @heifner in #1437
- [1.1.5] fix state history race on disconnect: drain session strand before destroying session by @spoonincode in #1446
- [1.1.5 -> 1.2.0-rc2] fix state history race on disconnect: drain session strand before destroying session by @spoonincode in #1448
- [1.1.5] Fix OC scheduling of compiles by @heifner in #1447
- [1.1.5 -> 1.2.0-rc2] Fix OC scheduling of compiles by @heifner in #1458
- [1.1.5] Version bump to v1.1.5 by @heifner in #1463
- [1.2.0-rc2] github org rename to vaultafoundation/system-contracts by @ericpassmore in #1462
- [1.1.5 -> 1.2.0-rc1] Version bump to v1.1.5 by @heifner in #1465
- [1.2.0-rc2] Updated docs with latest nodeos --help output by @heifner in #1469
- [1.2.0-rc2] Additional logging of unapplied trxs by @heifner in #1473
- [1.2.0-rc2] use more portable
__builtin_bswap64()
by @spoonincode in #1478 - [1.2.0-rc2] mark a couple variables used only for
assert()
as[[maybe_unused]]
to avoid warning by @spoonincode in #1479 - [1.2.0-rc2] fix build of
api_tests
on platforms without OC by @spoonincode in #1480 - [1.2.0-rc2] Migrate Performance Test Harness Actions to @v4 by @ericpassmore in #1481
- [1.2.0-rc2] Performance Workflow Move Upload Out of Build Dir by @ericpassmore in #1494
- [1.2.0-rc2] Fix logging of failed trx by @heifner in #1498
- [1.2.0-rc2] fix race on creation of
TestLogs
directory in TestHarness Utils by @spoonincode in #1490 - [1.2.0-rc2] P2P: Gossip BP peer enhancements by @heifner in #1503
- [1.2.0-rc2] P2P: Versioned signed type for gossip_bp_peers_message::signed_bp_peer by @heifner in #1512
- [1.2.0-rc2] bump version to 1.2.0-rc2 by @spoonincode in #1521
Full Changelog: v1.2.0-rc1...v1.2.0-rc2