BetaNet Update 3.22.0

Betanet was updated to 3.22.0 today, Monday January 29, 2024 at 10:30AM EST (15:30 UTC). This release does not contain a consensus upgrade.

Overview

This release includes networking optimization improvements, as well as starts laying the groundwork for non-archival relays.

Note: in this release, NetAddress will no longer automatically mark a node as archival, so if you were relying solely on NetAddress for this, you should also set Archival: true in your configuration. This is a rare configuration, but If you only had NetAddress set, this release will progressively delete blocks from your database until the node only has recent blocks, which may take a few days. Your node will remain in service during this period. The sqlite database will not reclaim this disk automatically, so you may want to run a vacuum after it’s complete by shutting down the node and running: sqlite3 data/mainnet-v1.0/ledger.block.sqlite "VACUUM"

What's New

  • New archival node profile and changes to NetAddress defaults
  • Networking optimizations

Changelog

Enhancements

  • API: optimize /transactions/pending/{txid} endpoint (#5891)
  • API: Make maps the right size from the start (#5906)
  • AVM: Add a lot of type annotations to opcodes (#5902)
  • AVM: report structure txn failure info (#5875)
  • AVM: Require every global field to get tested (#5864)
  • Algocfg: Introduce new archival node algocfg profile. (#5893)
  • Blockdb: bound max deleted blocks per blockdb sync (#5910)
  • Chore: Update testing to use current python SDK. (#5861)
  • Config: Archival mode is no longer automatically enabled when netAddress is s… (#5904)
  • Docs: Updates to SECURITY.md (#5907)
  • Docs: Eliminate a unicode character that causes trouble in doc generation (#5866)
  • Network: Like #5906, but for messageFilter, optimize cache mem and speed (#5913)
  • Txhandler: kick in ARL at 1/2 of a base backlog capacity (#5873)

Bugfixes

  • AVM: Don't treat any as constant int in loads, stores (#5884)
  • Dryrun: Improve assembler error reporting (#5889)
  • Txhandler: fix ARL triggering without ERL (#5872)

Protocol Upgrade

This release does not contain a protocol upgrade.


NOTE
vFuture changes are not yet available in MainNet or TestNet but can be used in private networks.

  • AVM: Adding sumhash and falcon_verify (#5599)

Additional Resources