-
Notifications
You must be signed in to change notification settings - Fork 880
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
Sync no tx index while sync #8181
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Jason Frame <[email protected]>
Signed-off-by: Jason Frame <[email protected]>
Signed-off-by: Jason Frame <[email protected]>
Signed-off-by: Jason Frame <[email protected]>
Signed-off-by: Jason Frame <[email protected]>
Signed-off-by: Jason Frame <[email protected]>
Signed-off-by: Jason Frame <[email protected]>
Signed-off-by: Jason Frame <[email protected]>
… using full sync mode Signed-off-by: Jason Frame <[email protected]>
…into sync_no_tx_index_while_sync
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a nit.
* @param block The block to append. | ||
* @param receipts The list of receipts associated with this block's transactions. | ||
*/ | ||
void appendBlockWithoutTxIndex(Block block, List<TransactionReceipt> receipts); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should that not be "appenBlockWithoutIndexingTxs" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes it should be
PR description
Disable transaction indexing during initial sync for snap and checkpoint sync. This does not disable transaction indexing for full nodes. It also keeps transaction indexing for near-head.
Chain download time for checkpoint sync using 4 with indexing and 4 without indexing on Azure Standard D4s v5 VMs.
Disk space comparison between indexed and non-indexed nodes
Fixed Issue(s)
Thanks for sending a pull request! Have you done the following?
doc-change-required
label to this PR if updates are required.Locally, you can run these tests to catch failures early:
./gradlew build
./gradlew acceptanceTest
./gradlew integrationTest
./gradlew ethereum:referenceTests:referenceTests