Skip to content

Conversation

@georgeee
Copy link
Member

@georgeee georgeee commented Dec 3, 2025

This is a draft PR that will be split to many smaller PRs.

I open it for ease of tracking the full workload.

PR is extensively documented in notion.

First step towards using multi-key file storage tags instead of
witnesses and proofs stored in memory.
Function is a duplicate of `Transaction_applied.transaction_with_status`
Function is a duplicate of `Transaction_applied.transaction_status`
This is an intermediate step to simplify definition of the scan state.
Introduce a functor to allow usage of functionality with different
transactiuon representations.
Rename {first_and_second_pass -> categorize}_transactions_xx
Streamline handling of boolean determining whether transactions are
continued in the next tree.
@georgeee georgeee requested a review from a team as a code owner December 3, 2025 21:36
@georgeee georgeee marked this pull request as draft December 3, 2025 21:36
It's safe to remove multi-key file storage files only once corresponding
blocks may not be possible referred by the Daemon.

For orphan blocks it's ok to remove them during root transition.

For old roots it's not the case, because entries in scan states may
still be referring old blocks.

Assumption: root history capacity (2k, or 580 blocks) ensures that any
entry in scan state from the root transition will be referincing a block
there. Also for root history structure in Daemon there is a similar
guarantee.
@georgeee
Copy link
Member Author

georgeee commented Dec 4, 2025

!ci-build-me

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.

2 participants