-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ordered trie for trie root computations
Gives a 100x speed boost for this operation which happens during optimistic sync when computing the block hash.
- Loading branch information
1 parent
a25afae
commit baeb9d1
Showing
7 changed files
with
64 additions
and
126 deletions.
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
Submodule nim-eth
updated
23 files
+2 −1 | eth.nimble | |
+0 −3 | eth/common/eth_types.nim | |
+2 −8 | eth/common/eth_types_rlp.nim | |
+12 −0 | eth/common/headers_rlp.nim | |
+18 −0 | eth/common/times_rlp.nim | |
+77 −0 | eth/common/transaction_utils.nim | |
+8 −0 | eth/common/transactions.nim | |
+18 −10 | eth/common/transactions_rlp.nim | |
+4 −41 | eth/p2p/discoveryv5/lru.nim | |
+3 −3 | eth/p2p/discoveryv5/sessions.nim | |
+42 −35 | eth/rlp/writer.nim | |
+261 −0 | eth/trie/ordered_trie.nim | |
+3 −3 | tests/common/all_tests.nim | |
+1 −1 | tests/common/test_common.nim | |
+0 −134 | tests/common/test_eip7702.nim | |
+0 −1 | tests/common/test_eth_types_rlp.nim | |
+39 −0 | tests/common/test_receipts.nim | |
+75 −16 | tests/common/test_transactions.nim | |
+0 −1 | tests/p2p/all_discv5_tests.nim | |
+0 −134 | tests/p2p/test_lru.nim | |
+5 −0 | tests/rlp/test_api_usage.nim | |
+1 −0 | tests/trie/all_tests.nim | |
+23 −0 | tests/trie/test_ordered_trie.nim |
Submodule nim-minilru
added at
2682cf
Submodule nim-stew
updated
7 files
+29 −10 | stew/arraybuf.nim | |
+36 −21 | stew/assign2.nim | |
+20 −12 | stew/objects.nim | |
+6 −1 | stew/shims/macros.nim | |
+11 −4 | stew/shims/sets.nim | |
+13 −0 | tests/test_arraybuf.nim | |
+7 −0 | tests/test_assign2.nim |