Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go-algorand 3.20.1-stable Release PR #5852

Merged
merged 51 commits into from
Dec 5, 2023

Conversation

Algo-devops-service
Copy link
Contributor

@Algo-devops-service Algo-devops-service commented Dec 4, 2023

GitHub Logo

Overview

An endpoint to generate participation keys, network optimization, and other enhancements around catchpoints and catchup are included in this release.

Both the crash and state proof databases now default to the 'hot' data directory.

What's New

  • Participation key generation endpoint: a requested feature to allow the ability to generate API keys from the REST endpoint, provided you have the admin token.

Changelog

New Features

  • API: Add participation key generation endpoint to algod API (#5781)
  • Txhandler: applications rate limiter (#5734)

Enhancements

  • API: minor style improvements in keygen code. (#5786)
  • AVM: preserve line/column for assembler warnings (#5796)
  • AVM: Reorganize the crypto opcodes a bit to simplify incentive work (#5787)
  • Algocfg: Add print option to algocfg. (#5824)
  • Build: bump github.com/consensys/gnark-crypto from 0.12.0 to 0.12.1 (#5822)
  • Catchpoint: store certs with blocks during catchpoint restore (#5798)
  • Catchup: increase followLatestBackoff to 100ms (#5838)
  • Catchup: use specialized backoff behavior for follower mode (#5836)
  • Catchup: Dynamic parallel catchup (#5802)
  • Catchup: fetchAndWrite/fetchRound quit early on errNoBlockForRound (#5809)
  • Catchup: Provide more information to client when requested block not available (#5819)
  • Cgo: Properly manage memory passing from cgo to go on Batch Verifiers (#5700)
  • Chore: Cut out some useless allocations when computing payset commitments (#5840)
  • Chore: Remove one allocate per hash by using generics. (#5829)
  • Cleanup: Use Go 1.19 atomic types (#5792)
  • Config: add EnableGossipService option (#5832)
  • Config: move crash and stateproof DB defaults to hot dir (#5817)
  • Config: Update description for IncomingConnectionsLimit (#5789)
  • Docs: Add comment to initConsensusProtocols. (#5791)
  • Follower: update follower node error messages. (#5797)
  • Ledger: support WaitWithCancel for unsuccessful WaitForBlock API calls (#5814)
  • State Proofs: add block hash to LightBlockHeader (#5663)

Bugfixes

  • Catchup: Fix empty cert if ledger already has a block (#5846)
  • Catchup: pause catchup if ledger lagging behind (#5794)
  • Cicd: Fix RPM repository updating (#5790)
  • Ledger: make catchpoint generation backward compatible (#5598)
  • Tests: Fix flaky TestAccountSelected test (#5788)

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.

  • State Proofs: add block hash to LightBlockHeader (#5663)

Additional Resources

winder and others added 30 commits October 17, 2023 11:36
* Rate limit incoming apps based on app id + sender IP addr when the backlog is more than 1/2 full.
* Implemented as a sharded map with sliding window limiter.
   The sliding window data is used to for least recently used eviction (list based).
* Two hash functions are used:
   1) memhash64 for app to bucket mapping
   2) salted blake2b for app id + sender caching (shrank to 8 bytes to save on memory)
…lgorand#5822)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ohill <[email protected]>
omahs and others added 21 commits November 15, 2023 18:33
Copy link

codecov bot commented Dec 4, 2023

Codecov Report

Attention: 245 lines in your changes are missing coverage. Please review.

Comparison is base (27d967d) 56.01% compared to head (14c0d8d) 56.28%.
Report is 2 commits behind head on rel/stable.

Files Patch % Lines
daemon/algod/api/server/v2/handlers.go 0.00% 28 Missing ⚠️
data/transactions/logic/crypto.go 87.43% 14 Missing and 12 partials ⚠️
catchup/service.go 66.17% 17 Missing and 6 partials ⚠️
catchup/catchpointService.go 39.13% 14 Missing ⚠️
libgoal/participation/participation.go 66.66% 8 Missing and 6 partials ⚠️
network/wsNetwork.go 65.00% 10 Missing and 4 partials ⚠️
shared/pingpong/pingpong.go 0.00% 11 Missing ⚠️
cmd/algocfg/profileCommand.go 10.00% 9 Missing ⚠️
crypto/curve25519.go 33.33% 4 Missing and 4 partials ⚠️
ledger/tracker.go 75.00% 4 Missing and 4 partials ⚠️
... and 25 more
Additional details and impacted files
@@              Coverage Diff               @@
##           rel/stable    #5852      +/-   ##
==============================================
+ Coverage       56.01%   56.28%   +0.27%     
==============================================
  Files             477      481       +4     
  Lines           66866    67310     +444     
==============================================
+ Hits            37456    37888     +432     
+ Misses          26898    26868      -30     
- Partials         2512     2554      +42     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@onetechnical onetechnical self-assigned this Dec 4, 2023
@algojohnlee algojohnlee merged commit 6a6a15d into algorand:rel/stable Dec 5, 2023
55 checks passed
@onetechnical onetechnical deleted the relstable3.20.1 branch December 5, 2023 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.