-
Notifications
You must be signed in to change notification settings - Fork 116
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
Cached state values in the program state #840
Merged
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
105b87a
add cache
iFrostizz 9babe31
implement cache reads
iFrostizz 7c33c70
actually cache reads
iFrostizz d29598e
implement cache delete and handle borsch errors
iFrostizz 78068ba
use only one cache map
iFrostizz 92e7310
remove flushed bool
iFrostizz d1d4ff9
Merge branch 'main' into cached_rw
iFrostizz 1635bd5
root of transactions by stateless merkledb
bianyuanop aa44f97
make root generation a function
iFrostizz 68e49b6
preallocate memory for merkle array and consumebytes flag
bianyuanop ce00289
add <*.code-workspace> to .gitignore and remove it from git commit
bianyuanop e551960
move root generation func to merkle package, tx root by items of [txI…
bianyuanop 7442836
rebase & blk marshal/unmarshal & merkleroot to ids.ID
bianyuanop 07993bf
write benches for the merkle package
iFrostizz 214005b
use crypto/rand, fix var name, report allocs
iFrostizz 058d7e7
put the 10k bench back
iFrostizz 4aec589
pass config by parameter
iFrostizz d6c4913
Merge branch 'main' into cached_rw
iFrostizz 04ec581
Merge branch 'main' into HEAD
iFrostizz 2ff02e0
happy clippy
iFrostizz 8d1fca0
borrow V
iFrostizz aa1ac4c
add TODO
iFrostizz fb2df78
Merge branch 'cached_rw' of github.com:iFrostizz/hypersdk into cached_rw
iFrostizz 1cd0f97
Revert "pass config by parameter"
iFrostizz 674d2bf
Revert "put the 10k bench back"
iFrostizz 57e3ad4
Revert "use crypto/rand, fix var name, report allocs"
iFrostizz 7e5b9db
Revert "write benches for the merkle package"
iFrostizz c6c2f6c
Revert "rebase & blk marshal/unmarshal & merkleroot to ids.ID"
iFrostizz 0989981
Revert "move root generation func to merkle package, tx root by items…
iFrostizz ea05d30
Revert "add <*.code-workspace> to .gitignore and remove it from git c…
iFrostizz 34937c0
Revert "preallocate memory for merkle array and consumebytes flag"
iFrostizz a72ca67
Revert "make root generation a function"
iFrostizz dcabc00
Revert "pass config by parameter"
iFrostizz 6a620ca
Revert "move root generation func to merkle package, tx root by items…
iFrostizz 255510b
Revert "preallocate memory for merkle array and consumebytes flag"
iFrostizz 2a08609
Revert "make root generation a function"
iFrostizz 81aef46
merge main!
iFrostizz 5687417
merge imports
iFrostizz 378ae12
Merge branch 'main' into cached_rw
richardpringle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
👍