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

Implement the transaction pool #255

Open
wants to merge 26 commits into
base: develop
Choose a base branch
from
Open

Implement the transaction pool #255

wants to merge 26 commits into from

Conversation

sebastiencs
Copy link
Contributor

Implement the pool outside of the state machine for now

@sebastiencs sebastiencs changed the base branch from main to develop March 3, 2024 16:17
@sebastiencs sebastiencs changed the title Start implementation of the transaction pool Implement the transaction pool Mar 3, 2024
@sebastiencs sebastiencs force-pushed the tx-pool branch 9 times, most recently from c9318ef to 31353f2 Compare March 9, 2024 21:08
@sebastiencs sebastiencs force-pushed the tx-pool branch 10 times, most recently from 3b74071 to bf090c4 Compare March 26, 2024 10:40
@sebastiencs sebastiencs force-pushed the tx-pool branch 6 times, most recently from 0118899 to ec33389 Compare March 29, 2024 10:42
@sebastiencs sebastiencs force-pushed the tx-pool branch 2 times, most recently from 4a7f153 to 168b71a Compare April 11, 2024 11:39
Implement it outside of the state machine for now.
We will integrate it later
+ Apply changes only when no errors occured
`AccountId` could already be compared (using `Ord`/`PartialOrd`) but we had
to re-compute the `BigInteger256` values every time
`PartialOrd::partial_cmp` was called.
This commit only make the comparaison (`Ord`/`PartialOrd`) faster.

Remove `Ord` & `PartialOrd` implementation for `AccountId`.
The first fetches accounts from the ledger service
We need to fetch accounts first
+ Remove `best_tip_ledger` in `TransactionPool`
To check signatures and verify proofs contained in zkapps
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.

None yet

1 participant