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.
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
Compute chain MMR root #71
Compute chain MMR root #71
Changes from 169 commits
35ca86a
d81ae71
b1e574f
2149014
b338780
ea4f766
4d66033
88858cd
5ac3971
db4335f
c99a894
98ad2ce
3a6ed99
90c3e7f
3441faf
2fd5549
70f5414
98c649c
c1d7540
cc6f0cb
71052f3
90275ce
07fae62
9617303
84c16dc
dc96d69
0f11c9d
7b5a462
b40dbbb
5988095
37b5013
8d4ee51
b61b0c0
b589665
eea8581
b9adce5
8a9d23f
dcb3197
3669e59
9bb256b
4733d4e
c45f9be
1464728
7719b25
9ae7319
c3c20e2
dcf644c
f50688b
8ae7d85
8af7e94
33efedd
50246bc
50a6e2e
0e99f95
37b2c97
9053a69
8ca84b7
bce42f9
f87f4d7
8c2888a
2996277
3392c7e
f222ca1
36cc196
397e070
708ebb2
ca4fedb
1a1f227
094b272
60de9ac
2b835e6
a04bc2b
82826b8
74864c4
67f2b30
d0acbd1
98c0856
5cb6bbc
a1e544f
ad4d5c1
320f975
b1f0421
d76ac6c
5f2ea04
4528e68
50be10e
34a3c6d
28da2f9
8256842
4f41159
5825441
007ec56
372a611
582d8ca
7206d68
779c611
6985a12
a982a53
25de729
5180a2f
afb3568
e871a79
1ea87e7
f3b5604
7bbef20
b7d2e09
2d37e71
1206d30
8d03172
b6ad0a3
b5bee39
6b35113
25f933f
d393c04
71bf52d
d01f13a
959d883
d4b8793
980f921
d542e6c
4aeb7d1
1d769de
a1be343
894b2ef
0986a94
246c12b
40e573b
a500a34
3324734
238e155
3ed5ac8
5f7dc8c
c924479
3e241b3
c157205
c191e8e
8e294ea
b7e3672
3e59bab
d3cd970
12f7a97
aa57f4d
6c1c0f2
ad45c33
7e79aea
d8c8ddb
0538578
2920a57
4e24eb4
707a566
5e0e68f
4f36d4a
c269dd7
bd2a09e
b8f2265
9f1e01c
7f681fb
7c8f245
5f233f8
3e660ce
97a18ba
c1d2875
5df94af
96d180e
08349d4
087917b
7f5ba30
5b5e32b
f4da6f6
12d2cbf
b501961
945a98b
7df7ed2
eee1d0a
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Is there a benefit to using
Vec<(usize, Digest)>
instead ofBTreeMap<usize, Digest>
?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.
Changed it to
BTreeMap
to be consistent withupdated_accounts
, but I thinkVec
would be better (for both) thanBTreeMap
, since it's more cache efficient (everything's in the same chunk of memory as opposed to be more spread out with theBTreeMap
), and we don't actually need any operations from theBTreeMap
.But this is a minor detail and
BTreeMap
is fine for now