Skip to content

Conversation

@mfycheng
Copy link
Contributor

Built on: #136

Adds the NoncePool implementation, which components can migrate to piece-wise.

mfycheng added 4 commits June 10, 2024 00:05
Add preliminary (backwards compatible) support for a Claimed nonce
state. This state will be used in the future to indicate that a specific
server has 'claimed' a nonce for future use.

In this future system, servers will 'claim' a batch of Available nonces
for use in future transactions. This enables servers to cache nonces to
help reduce the overhead on acquiring a nonce per-intent. The defense
mechanism to abandoned claim is that claims will expire. Healthy servers
will refresh their claimed nonces periodically in the background.
Adds the ability to batch claim available nonce (by purpose) for
efficient use of claiming a set of nonces. This lays down the ground
work for nonce pools.
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.

1 participant