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.0-stable Release PR #5844

Conversation

Algo-devops-service
Copy link
Contributor

@Algo-devops-service Algo-devops-service commented Nov 24, 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)
  • Statetrie: nibbles (#5759)

Enhancements

  • Txhandler: applications rate limiter (#5734)

Enhancements

  • Algocfg: Add print option to algocfg. (#5824)
  • 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)
  • 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: Dynamic parallel catchup (#5802)
  • Catchup: fetchAndWrite/fetchRound quit early on errNoBlockForRound (#5809)
  • Catchup: Increase followLatestBackoff to 100ms (#5838)
  • Catchup: Provide more information to client when requested block not available (#5819)
  • Catchup: use specialized backoff behavior for follower mode (#5836)
  • Cleanup: Use Go 1.19 atomic types (#5792)
  • Config: move crash and stateproof DB defaults to hot dir (#5817)
  • Config: Update description for IncomingConnectionsLimit (#5789)
  • Docs: Add comment to initConsensusProtocols. (#5791)
  • Feature: Catchup Eval Stake Exception Round Handling (#5795)
  • Follower: update follower node error messages. (#5797)
  • Ledger: support WaitWithCancel for unsuccessful WaitForBlock API calls (#5814)
  • Tools: improve heapwatch chart drawing scripts (#5801)

Bugfixes

  • Catchup: pause catchup if ledger lagging behind (#5794)
  • Cicd: Fix RPM repository updating (#5790)
  • Ledger: make catchpoint generation backward compatible (#5598)
  • Ledger: rollback vetting historical stateproof blocks (#5830)
  • Tests: Fix flaky TestAccountSelected test (#5788)

Protocol Upgrade

This release does not contain a protocol upgrade.

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]>
Copy link

codecov bot commented Nov 24, 2023

Codecov Report

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

Comparison is base (27d967d) 56.01% compared to head (c724cd3) 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 12.50% 14 Missing ⚠️
libgoal/participation/participation.go 66.66% 8 Missing and 6 partials ⚠️
network/wsNetwork.go 68.57% 8 Missing and 3 partials ⚠️
shared/pingpong/pingpong.go 0.00% 11 Missing ⚠️
cmd/algocfg/profileCommand.go 10.00% 9 Missing ⚠️
ledger/tracker.go 75.00% 4 Missing and 4 partials ⚠️
data/txHandler.go 72.00% 4 Missing and 3 partials ⚠️
... and 19 more
Additional details and impacted files
@@              Coverage Diff               @@
##           rel/stable    #5844      +/-   ##
==============================================
+ Coverage       56.01%   56.28%   +0.26%     
==============================================
  Files             477      481       +4     
  Lines           66866    67278     +412     
==============================================
+ Hits            37456    37866     +410     
+ Misses          26898    26883      -15     
- Partials         2512     2529      +17     

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

@onetechnical onetechnical deleted the relstable3.20.0 branch November 28, 2023 19:15
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.