Commit Graph

51 Commits

Author SHA1 Message Date
joshieDo
e15805d9d1 chore: share provider on find_canonical_header (#3122) 2023-06-13 13:42:13 +00:00
joshieDo
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
Dan Cline
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
Bjerg
d2c68edf23 feat: rework logs (#2988) 2023-06-05 17:43:14 +00:00
int88
df8ca352ec chore: test typo (#2986) 2023-06-05 13:16:57 +00:00
Matthias Seitz
f7a35f09b5 chore: typos, rm oudated todos (#2962) 2023-06-02 13:41:31 +00:00
Matthias Seitz
48bf3990a0 chore: only log block essentials (#2948) 2023-06-01 16:14:54 +00:00
Dan Cline
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
joshieDo
9cd32e516a feat: Add general database::Provider and move implementations from ShareableDatabase to it (#2902) 2023-05-31 16:06:01 +00:00
Roman Krasiuk
5d7eba6fb2 chore(primitives): move checkpoints under stage mod (#2906) 2023-05-30 17:14:13 +00:00
Matthias Seitz
be5850488c docs: a few additional tree docs (#2852) 2023-05-26 12:24:27 +00:00
Dan Cline
5e6595a0cb feat: add lowest_ancestor to block buffer (#2789) 2023-05-24 15:44:56 -04:00
Dan Cline
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
chirag-bgh
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
Matthias Seitz
c66bde6634 feat: validate buffered blocks if they extend canonical head (#2800) 2023-05-23 15:37:25 -04:00
Matthias Seitz
bf876e7f55 refactor: get rid of boolean is known check argument (#2794) 2023-05-23 16:18:33 +02:00
Matthias Seitz
bf61a6aeee refactor: rename take children function (#2795) 2023-05-23 15:53:29 +02:00
Matthias Seitz
f5cb6981c7 chore: remove redundant parent arg (#2796) 2023-05-23 15:53:17 +02:00
Matthias Seitz
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
Matthias Seitz
44348b4e48 feat: add canonical outcome type (#2765) 2023-05-22 15:30:13 +02:00
Matthias Seitz
8ada7fd2ec chore: fix some typos (#2776) 2023-05-22 15:29:49 +02:00
Matthias Seitz
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
Matthias Seitz
8fee5d3e28 refactor: dedicated blockchain insert errors (#2712) 2023-05-18 15:00:47 +02:00
Dan Cline
460bf13b63 fix: check db and indices for canonical block (#2702) 2023-05-18 11:20:31 +02:00
Matthias Seitz
fd45c8726d chore: executor error cleanup (#2709) 2023-05-17 11:13:08 +02:00
Matthias Seitz
4d0406b383 perf(rpc): improve gas price perf by skipping hash (#2657) 2023-05-13 12:34:06 -04:00
rakita
177b067034 chore: Additional logs on revert error (#2623) 2023-05-12 18:20:51 +02:00
Matthias Seitz
e34cdc4e0d feat: extend engine syncing with single block downloads (#2626) 2023-05-12 15:02:45 +02:00
Dan Cline
7d3016f0f2 feat: use BlockHashOrNum in providers (#2627) 2023-05-10 22:03:16 +02:00
Matthias Seitz
6c21295b78 docs: add a few additional tree docs (#2557) 2023-05-04 18:29:21 +02:00
Matthias Seitz
dfd35fabb4 chore(tree): a few refactors and instrumentations (#2549) 2023-05-04 14:08:53 +02:00
Matthias Seitz
010b600f39 fix: ensure parent hash and number match (#2546) 2023-05-04 00:04:48 +02:00
rakita
03977950c8 chore(tree): Add additional checks to not insert empty chain (#2537) 2023-05-03 15:52:42 +02:00
Matthias Seitz
c62c7d6f1d feat: find canonical ancestor (#2506) 2023-05-02 13:07:00 +02:00
rakita
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
Matthias Seitz
7b1aee2d9c feat: add helper for accessing pending block object (#2465) 2023-05-01 12:08:43 -07:00
Matthias Seitz
d146bb86f6 chore(clippy): make clippy happy (#2475) 2023-04-30 11:40:43 +02:00
Matthias Seitz
7fa5dc632f chore: clippy fixes (#2466) 2023-04-29 21:51:05 -07:00
rakita
435df44127 feat(tree): unconnected block buffering (#2397)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-04-28 23:46:45 +02:00
Matthias Seitz
e5caf7b4f7 chore: misc blockchain tree (#2453) 2023-04-28 11:07:28 -07:00
Roman Krasiuk
7194e94ac0 chore(tree): remove redundant fork block parameter (#2424) 2023-04-27 16:56:15 -07:00
Dan Cline
5d76e6513d chore: add blockchain tree and state provider traces (#2418) 2023-04-27 09:01:54 -07:00
Roman Krasiuk
576f33b151 fix: consensus validation method typo (#2432) 2023-04-27 16:04:50 +02:00
rakita
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
Matthias Seitz
df3274892f feat: add StateProviderFactor::state_by_block_hash (#2390) 2023-04-25 11:11:55 -07:00
Matthias Seitz
20e842b5b7 feat: add BlockchainProvider type (#2294) 2023-04-24 14:54:09 +02:00
rakita
07efa2db45 chore(tree): Move tree related files to root of the lib (#2359) 2023-04-23 17:30:17 +02:00
Matthias Seitz
16412116a7 perf(tree): check block before inserting (#2324) 2023-04-21 11:54:34 +02:00
Bjerg
68d8506d8e feat: block level indexing (#2275)
Co-authored-by: rakita <dragan0rakita@gmail.com>
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-04-20 15:03:48 -04:00
Matthias Seitz
5eef3c5fc6 chore: add ChainBlocks type (#2297)
Co-authored-by: rakita <rakita@users.noreply.github.com>
2023-04-18 16:54:53 +02:00