-
Notifications
You must be signed in to change notification settings - Fork 807
merkledb
-- dynamic root
#2177
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
Merged
Merged
merkledb
-- dynamic root
#2177
Changes from all commits
Commits
Show all changes
171 commits
Select commit
Hold shift + click to select a range
45a8a3b
WIP
c1c2d71
WIP
fb832f7
nits
1866331
WIP
8616169
add getRootKey
4f14e23
populate rootPath
5d9a7c1
WIP update getPathTo
1067d7c
update insert
f73f6d2
remove TODOs
f41a29f
remove EndProof invariant on RangeProof
fc64ec3
all UT in merkledb pass
ce62579
Merge branch 'dev' into merkledb-dynamic-root
a4b76f4
appease linter
4275b07
handle root deletion
01b9f4b
handle root deletion pt 2
6bf8ce2
comment
5ae830d
WIP
a64dc47
WIP
fd8ea46
WIP
6f9f0cf
WIP
a6d0549
WIP
af3f9f7
passing merkledb UT
98e6028
WIP fix sync tests
614cd66
merkledb and sync tests pass
9f975f3
nit
d3538a8
nit
e84d83e
comment
92cd323
comment
888d9b9
nit
01668e5
nits
a6c5e1f
appease linter
c5e8c4d
Update trie_test.go
dboehm-avalabs 5a56753
codec cleanup
a9cbbf2
Merge branch 'merkledb-dynamic-root' of github.com:ava-labs/avalanche…
9d7477d
codec cleanup
34380f2
appease linter
82c0061
appease linter
14def09
remove errant test
8a41266
make test fuzz test
41e0d8d
fix mock
37b12a4
typo
b75987f
cleanup
b1e71e1
cleanup
2f55d7b
nit
c23286d
typo fix; remove unused code
04ff880
nits/cleanup
53d49fe
comment
ae615c1
revert unneeded change
71fb895
update getProof
27c8229
nit
c5a3c2a
nits
a0fec24
proof cleanup
e4ea07d
fix test
d57eac4
all UT pass
1adbac1
appease linter
6db69f3
fix mock list
47dd688
comment nit
3b89531
TODO --> Background
d6c3344
comment
860bd8a
comment
40049b5
comment
3b4b83a
comment
52c9857
Merge remote-tracking branch 'upstream/dev' into merkledb-dynamic-root
0f6cc05
fix(?) mock
3c9fc2b
fix(?) test
605b294
fix(?) test
07aee5c
fix(?) test
ee838f0
fix(?) test
d9bfef9
fix(?) test
404132b
nits
e8b3a9b
fix(?) test
f669d3d
nit
e52172d
add branchfactor arg to range proof verify
96e6cec
refactor
43318e4
test cleanup
992f628
ErrEmptyRootID --> ErrEmptyProof
a7faed4
Merge remote-tracking branch 'upstream/dev' into merkledb-dynamic-root
11ee267
move ClearRanger interface from database to merkledb package
19f9690
cleanup
ae6bd64
nit
52176b7
add tests
530b6a5
nit
6a676c2
comment
e84d1b2
typo
bece10c
comment
d730b53
add test
c9efc4a
add test
bb70bca
appease linter
9fc9045
WIP don't encode node twice
7f142f8
fix test
08b27ea
add check for empty proof
545df4a
appease linter
74ce294
appease linter
a140e42
Merge branch 'dev' into merkledb-dynamic-root
f938ae7
fix test
ddf27ae
Merge branch 'merkledb-dynamic-root' of github.com:ava-labs/avalanche…
babe99d
Merge branch 'dev' into merkledb-dynamic-root
f5c333b
nit change var order
7e7c7b9
Merge branch 'merkledb-dynamic-root' of github.com:ava-labs/avalanche…
eb157fd
Merge remote-tracking branch 'upstream/dev' into merkledb-dynamic-root
525e33d
remove unused params
bb649ea
remove unused params
d7548ce
Merge remote-tracking branch 'upstream/dev' into merkledb-dynamic-root
63dd9b9
ClearRange --> Clear
7e48fc4
remove ClearRequest proto
d1e0c5e
appease linter
a972cad
add newline
b8ef383
Merge remote-tracking branch 'upstream/dev' into merkledb-dynamic-root
85f557e
Merge branch 'dev' into merkledb-dynamic-root
7054ec2
Merge remote-tracking branch 'upstream/dev' into merkledb-dynamic-root
61502bf
Merge branch 'dev' into merkledb-dynamic-root
a24650b
Merge remote-tracking branch 'upstream/dev' into merkledb-dynamic-root
c62eb91
remove unneeded copy
348e766
don't persist whether the root key has a value
2f401af
fix test
72747e1
check for additional bytes at end of decodeKey
e554992
remove errant comment
dc78849
Merge remote-tracking branch 'upstream/dev' into merkledb-dynamic-root
974d8a3
change rootChange from *change to change
a0473ea
change rootChange from change[*node] to change[maybe.Maybe[*node]]; nits
41c0b5f
nit
7ea00cb
nit
271ef1b
add and implement Clearer interface for merkledb
ebb4486
nit
70d88a5
add tests
0ae7028
add Clearer to sync.DB interface
f7d401b
fix Clear
b041f53
WIP update test
192b2fd
fix test
83aca7e
fix test
778e172
remove dummy test
7ad352e
Merge branch 'dev' into merkledb-clear
9b7fc3a
refactor clear
35672c3
comment
7a351bd
Merge branch 'merkledb-clear' of github.com:ava-labs/avalanchego into…
20e4a04
clear caches
14e0e97
appease linter
9bf30c5
Merge remote-tracking branch 'upstream/dev' into merkledb-clear
fcf0d22
remove redundant deletions; fix prefix
8c5d762
Merge remote-tracking branch 'upstream/dev' into merkledb-dynamic-root
5b8d473
Merge branch 'merkledb-clear' into merkledb-dynamic-root
bb45d69
Merge branch 'dev' into merkledb-clear
bcd5e94
Merge remote-tracking branch 'upstream/merkledb-clear' into merkledb-…
2b45f69
fix test
c6d3b95
Merge remote-tracking branch 'upstream/dev' into merkledb-dynamic-root
4650bdd
Merge branch 'dev' into merkledb-dynamic-root
f6f37ca
Merge branch 'dev' into merkledb-dynamic-root
dbdf325
Merge branch 'dev' into merkledb-dynamic-root
8cdcdaf
Merge branch 'dev' into merkledb-dynamic-root
12a507e
Merge branch 'dev' into merkledb-dynamic-root
53f2bcb
Merge branch 'dev' into merkledb-dynamic-root
48c3b9d
WIP merge; 2 UT failing
da6a670
fix tests
4c5d79c
Merge branch 'dev' into merkledb-dynamic-root
f143063
Merge branch 'merkledb-dynamic-root' of github.com:ava-labs/avalanche…
44e6667
nits
7b99e6a
var name nit
09427b4
nit
3fcf63b
fix insert by calculating root ID of old root
9583691
Merge branch 'dev' into merkledb-dynamic-root
8431791
Merge remote-tracking branch 'upstream/dev' into merkledb-dynamic-root
33c9fd7
special case root in db.getNode
464602a
remove stalek comments
d351095
refactor remove
6207461
Merge branch 'dev' into merkledb-dynamic-root
8546169
Merge branch 'dev' into merkledb-dynamic-root
429dbc3
Merge branch 'dev' into merkledb-dynamic-root
ad2d2f1
Merge branch 'dev' into merkledb-dynamic-root
7963a0b
Update trieview.go
dboehm-avalabs f7eb1ec
re-add todo
afa14f5
Merge branch 'dev' into merkledb-dynamic-root
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 hidden or 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 hidden or 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 hidden or 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.
Auto-generation fails because of generics 😭