-
Notifications
You must be signed in to change notification settings - Fork 312
snapshots: lthash #5954
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
base: main
Are you sure you want to change the base?
snapshots: lthash #5954
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -698,6 +698,14 @@ user = "" | |||||||||||||||||||||||||||||||||||||||
# requests. | ||||||||||||||||||||||||||||||||||||||||
sign_tile_count = 2 | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
# How many snapshot hash tiles to run. The snapshot hash tiles are | ||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A few things,
Suggested change
Once you have this, you can:
|
||||||||||||||||||||||||||||||||||||||||
# responsible for verifying the hash of all accounts in the loaded | ||||||||||||||||||||||||||||||||||||||||
# snapshot via lthash (lattice hashing). Currently, set to 0 by | ||||||||||||||||||||||||||||||||||||||||
# default because it is too slow to run in the full client. TODO: | ||||||||||||||||||||||||||||||||||||||||
# enable snapshot hash tiles in the full client and update this | ||||||||||||||||||||||||||||||||||||||||
# comment. | ||||||||||||||||||||||||||||||||||||||||
hash_tile_count = 0 | ||||||||||||||||||||||||||||||||||||||||
Comment on lines
+701
to
+707
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could we make it clear that if the hash tile count is 0, no hashing will be done? Wondering if we should instead have a |
||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
# All memory that will be used in Firedancer is pre-allocated in two | ||||||||||||||||||||||||||||||||||||||||
# kinds of pages: huge and gigantic. Huge pages are 2 MiB and gigantic | ||||||||||||||||||||||||||||||||||||||||
# pages are 1 GiB. This is done to prevent TLB misses which can have a | ||||||||||||||||||||||||||||||||||||||||
|
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.
Also add to
main.c
in firedancer