github ava-labs/avalanchego v1.11.2
Durango.2 - Push Gossip Redesign

latest releases: v1.12.0-initial-poc.8, v1.12.0-initial-poc.7, v1.12.0-initial-poc.6...
8 months ago

This version is backwards compatible to v1.11.0. It is optional, but strongly encouraged.

The plugin version is updated to 34 all plugins must update to be compatible.

APIs

  • Removed the ipc API
  • Removed the auth API
  • Removed most keystore related methods from the platform API
    • platform.importKey
    • platform.createAddress
    • platform.addValidator
    • platform.addDelegator
    • platform.addSubnetValidator
    • platform.createSubnet
    • platform.exportAVAX
    • platform.importAVAX
    • platform.createBlockchain
  • Added push gossip metrics:
    • gossip_tracking{type="sent"}
    • gossip_tracking{type="unsent"}
    • gossip_tracking_lifetime_average
      to the following namespaces:
    • avalanche_P_vm_tx
    • avalanche_X_vm_avalanche_tx
    • avalanche_C_vm_sdk_atomic_tx_gossip
    • avalanche_C_vm_sdk_eth_tx_gossip
  • Removed metrics:
    • avalanche_C_vm_eth_gossip_atomic_sent
    • avalanche_C_vm_eth_gossip_eth_txs_sent
    • avalanche_C_vm_eth_regossip_eth_txs_queued_attempts
    • avalanche_C_vm_eth_regossip_eth_txs_queued_local_tx_count
    • avalanche_C_vm_eth_regossip_eth_txs_queued_remote_tx_count

Configs

  • Removed:
    • api-ipcs-enabled
    • ipcs-chain-ids
    • ipcs-path
    • api-auth-required
    • api-auth-password
    • api-auth-password-file
    • consensus-app-gossip-validator-size
    • consensus-app-gossip-non-validator-size
    • consensus-app-gossip-peer-size
  • Removed subnet configs:
    • appGossipValidatorSize
    • appGossipNonValidatorSize
    • appGossipPeerSize
  • Added X-chain and P-chain networking configs:
    • push-gossip-num-validators
    • push-gossip-num-peers
    • push-regossip-num-validators
    • push-regossip-num-peers
    • push-gossip-discarded-cache-size
    • push-gossip-max-regossip-frequency
    • push-gossip-frequency
  • Removed X-chain and P-chain networking configs:
    • legacy-push-gossip-cache-size
  • Added C-chain configs:
    • push-gossip-num-validators
    • push-gossip-num-peers
    • push-regossip-num-validators
    • push-regossip-num-peers
    • push-gossip-frequency
    • pull-gossip-frequency
    • tx-pool-lifetime
  • Removed C-chain configs:
    • tx-pool-journal
    • tx-pool-rejournal
    • remote-gossip-only-enabled
    • regossip-max-txs
    • remote-tx-gossip-only-enabled
    • tx-regossip-max-size

Fixes

  • Fixed mempool push gossip amplification

What's Changed

Full Changelog: v1.11.0...v1.11.2

Don't miss a new avalanchego release

NewReleases is sending notifications on new releases.