Commit Graph

55 Commits

Author SHA1 Message Date
209d2445b0 chore: rename ShareableDatabase to ProviderFactory (#3121) 2023-06-14 06:49:32 +00:00
ea2fcee995 chore: use workspace dependencies (#3132) 2023-06-13 22:46:26 +00:00
e15805d9d1 chore: share provider on find_canonical_header (#3122) 2023-06-13 13:42:13 +00:00
f55d88b8c4 refactor: remove Transaction and add DatabaseProvider to stages (#3034)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-06-12 22:37:58 +00:00
c0fb169da4 fix: unwind on execution and senders errors (#2938)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-06-06 13:17:12 -07:00
171166e84a chore: add msrv to manifests, add and use workspace.package (#3006) 2023-06-06 03:45:44 +00:00
d2c68edf23 feat: rework logs (#2988) 2023-06-05 17:43:14 +00:00
df8ca352ec chore: test typo (#2986) 2023-06-05 13:16:57 +00:00
f7a35f09b5 chore: typos, rm oudated todos (#2962) 2023-06-02 13:41:31 +00:00
48bf3990a0 chore: only log block essentials (#2948) 2023-06-01 16:14:54 +00:00
1641f555f2 feat: use buffered ancestor to determine sync target (#2802)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-05-31 18:06:16 +00:00
9cd32e516a feat: Add general database::Provider and move implementations from ShareableDatabase to it (#2902) 2023-05-31 16:06:01 +00:00
5d7eba6fb2 chore(primitives): move checkpoints under stage mod (#2906) 2023-05-30 17:14:13 +00:00
be5850488c docs: a few additional tree docs (#2852) 2023-05-26 12:24:27 +00:00
5e6595a0cb feat: add lowest_ancestor to block buffer (#2789) 2023-05-24 15:44:56 -04:00
6ae425f99c feat: add block_by_hash and index in BlockBuffer (#2784)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-05-24 14:59:12 -04:00
2ec97f34fe feat: Use consistent pending block in RPC/Blockchaintree (#2767)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-05-24 11:33:30 +02:00
c66bde6634 feat: validate buffered blocks if they extend canonical head (#2800) 2023-05-23 15:37:25 -04:00
bf876e7f55 refactor: get rid of boolean is known check argument (#2794) 2023-05-23 16:18:33 +02:00
bf61a6aeee refactor: rename take children function (#2795) 2023-05-23 15:53:29 +02:00
f5cb6981c7 chore: remove redundant parent arg (#2796) 2023-05-23 15:53:17 +02:00
9cd7b4130f chore: improve tree traces (#2781)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-05-22 17:24:44 +03:00
44348b4e48 feat: add canonical outcome type (#2765) 2023-05-22 15:30:13 +02:00
8ada7fd2ec chore: fix some typos (#2776) 2023-05-22 15:29:49 +02:00
13a7209069 feat: add state root validation on new insert (#2543)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2023-05-19 14:04:10 +02:00
8fee5d3e28 refactor: dedicated blockchain insert errors (#2712) 2023-05-18 15:00:47 +02:00
460bf13b63 fix: check db and indices for canonical block (#2702) 2023-05-18 11:20:31 +02:00
fd45c8726d chore: executor error cleanup (#2709) 2023-05-17 11:13:08 +02:00
ae2b0954c6 perf: do not compile traces in release mode (#2652) 2023-05-15 17:06:10 -07:00
4d0406b383 perf(rpc): improve gas price perf by skipping hash (#2657) 2023-05-13 12:34:06 -04:00
177b067034 chore: Additional logs on revert error (#2623) 2023-05-12 18:20:51 +02:00
e34cdc4e0d feat: extend engine syncing with single block downloads (#2626) 2023-05-12 15:02:45 +02:00
7d3016f0f2 feat: use BlockHashOrNum in providers (#2627) 2023-05-10 22:03:16 +02:00
6c21295b78 docs: add a few additional tree docs (#2557) 2023-05-04 18:29:21 +02:00
dfd35fabb4 chore(tree): a few refactors and instrumentations (#2549) 2023-05-04 14:08:53 +02:00
010b600f39 fix: ensure parent hash and number match (#2546) 2023-05-04 00:04:48 +02:00
03977950c8 chore(tree): Add additional checks to not insert empty chain (#2537) 2023-05-03 15:52:42 +02:00
c62c7d6f1d feat: find canonical ancestor (#2506) 2023-05-02 13:07:00 +02:00
174316936b feat(tree): Return block status for old blocks (#2462)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-05-01 21:57:50 +02:00
7b1aee2d9c feat: add helper for accessing pending block object (#2465) 2023-05-01 12:08:43 -07:00
d146bb86f6 chore(clippy): make clippy happy (#2475) 2023-04-30 11:40:43 +02:00
7fa5dc632f chore: clippy fixes (#2466) 2023-04-29 21:51:05 -07:00
435df44127 feat(tree): unconnected block buffering (#2397)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-04-28 23:46:45 +02:00
e5caf7b4f7 chore: misc blockchain tree (#2453) 2023-04-28 11:07:28 -07:00
7194e94ac0 chore(tree): remove redundant fork block parameter (#2424) 2023-04-27 16:56:15 -07:00
5d76e6513d chore: add blockchain tree and state provider traces (#2418) 2023-04-27 09:01:54 -07:00
576f33b151 fix: consensus validation method typo (#2432) 2023-04-27 16:04:50 +02:00
837555e296 chore(consensus): Clear up the naming and intention behind checks (#2415)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-04-26 18:04:36 +02:00
df3274892f feat: add StateProviderFactor::state_by_block_hash (#2390) 2023-04-25 11:11:55 -07:00
20e842b5b7 feat: add BlockchainProvider type (#2294) 2023-04-24 14:54:09 +02:00