Commit Graph

176 Commits

Author SHA1 Message Date
Dan Cline
1a965b7969 fix(autoseal): use higher difficulty and fix root calc (#3044) 2023-06-07 10:31:38 +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
Matthias Seitz
e1392a67d0 feat: add metrics for active block downloads (#3027) 2023-06-06 16:45:57 +00:00
DaniPopes
171166e84a chore: add msrv to manifests, add and use workspace.package (#3006) 2023-06-06 03:45:44 +00:00
Dan Cline
9614b4667c fix: mark downloaded block as invalid if insertion fails (#3003) 2023-06-06 00:13:54 +00:00
Dan Cline
df90caeb34 fix: ignore forkchoice updates to old head (#2952)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-06-05 15:24:29 -07:00
Bjerg
d2c68edf23 feat: rework logs (#2988) 2023-06-05 17:43:14 +00:00
Alexey Shekhirin
e1148c81a7 chore(consensus): emit warnings if no CL found (#2961)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-06-05 16:48:40 +00:00
rakita
6fab79bbc2 bug(Tree): Commit from tree now calculates history indices (#2978) 2023-06-05 08:32:46 -07:00
Matthias Seitz
8c5379984b fix: clear active download requests if node fully synced (#2967) 2023-06-02 18:37:47 +00:00
Matthias Seitz
7d14525307 feat: improve block downloads (#2941) 2023-06-02 14:28:03 +00:00
Matthias Seitz
a03c380d1a fix(rpc): remove invalid block hash variant (#2954) 2023-06-02 12:30:13 +00:00
Roman Krasiuk
65b6276926 chore(engine): remove redundant pipeline completion check (#2953) 2023-06-02 09:50:51 +00:00
Dan Cline
5dd49e4460 feat: track invalid ancestor in invalid headers cache (#2939) 2023-06-01 09:23:24 +00:00
Roman Krasiuk
c25c398d34 chore(engine): ensure previous pipeline run finished (#2920) 2023-06-01 08:58:48 +00:00
Matthias Seitz
10717a7cc3 chore: apply same impl order (#2937) 2023-05-31 22:44:34 +00:00
Matthias Seitz
aea35263da feat: track fcu validity (#2934) 2023-05-31 19:21:56 +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
Roman Krasiuk
5d7eba6fb2 chore(primitives): move checkpoints under stage mod (#2906) 2023-05-30 17:14:13 +00:00
Roman Krasiuk
ed209f6cb4 chore(engine): remove db attribute (#2917) 2023-05-30 13:44:41 +00:00
Roman Krasiuk
2478c9f11c chore(stage): cleanup stage id (#2898) 2023-05-29 19:22:49 +00:00
Matthias Seitz
f5b091dd53 fix: sync to head block instead (#2854) 2023-05-26 15:56:07 +00:00
Matthias Seitz
dd0a0f2951 perf: ignore download request if already inflight (#2856) 2023-05-26 12:23:45 +00:00
Roman Krasiuk
10b577096b chore(metrics): restructure crates (#2850) 2023-05-26 12:21:48 +00:00
Matthias Seitz
ac8d6f062d fix: wrong is valid if branch (#2831) 2023-05-25 14:23:14 +02:00
Dan Cline
dfcca695df fix: update rpc on continuous sync (#2707) 2023-05-24 15:52:01 -04:00
Matthias Seitz
9da97cc4c3 fix: check if payload is transition payload (#2816) 2023-05-24 17:33:14 +02:00
Matthias Seitz
df8238718c feat: cancel in progress full blocks (#2813) 2023-05-24 14:22:30 +02:00
Dan Cline
5039122c35 feat: add sealed_header to HeaderProvider for single headers (#2801) 2023-05-23 16:03:02 -04: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
337579176d feat: add sealed headers range (#2769) 2023-05-22 15:30:00 +02:00
Matthias Seitz
b70afbb37f fix: ensure extradata is 32 bytes or less (#2775) 2023-05-22 13:29:09 +02:00
Matthias Seitz
b2c5f331ae chore: trace return values on insert (#2760) 2023-05-22 12:04:26 +02:00
Matthias Seitz
0a54e47eab chore: consistent _senders suffix (#2761) 2023-05-22 12:03:25 +02:00
chirag-bgh
7849b4c38e feat: Integrate Sealedblock to BeaconConsensusEngineEvent (#2764)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-05-22 11:44:50 +02:00
Matthias Seitz
c25ff8c369 refactor: convert InsertBlockError (#2749) 2023-05-19 19:34:20 +02:00
Bjerg
7b7805a4cc refactor: rm dupe InvalidTransactionErrors (#2737) 2023-05-19 10:13:33 +02:00
Dan Cline
d9455d6bc2 fix: calculate state root for auto-seal (#2744)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-05-19 09:16:40 +02:00
Roman Krasiuk
defa64b2de fix(cli): run pipeline to completion after restart (#2727) 2023-05-18 22:05:44 +02:00
Alexey Shekhirin
e4cd48aefd feat(stages): rich checkpoint (#2701)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-05-18 20:45:50 +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
Dan Cline
65b7702efe fix: return latestValidHash from sidechains (#2725) 2023-05-18 11:03:51 +02:00
Dan Cline
a40b79e193 fix: set sync state at startup to idle (#2722) 2023-05-17 22:32:56 +02:00
Matthias Seitz
352b55dc05 chore: rename Error to DatabaseError (#2718) 2023-05-17 15:21:46 +02:00
Matthias Seitz
fd45c8726d chore: executor error cleanup (#2709) 2023-05-17 11:13:08 +02:00
Matthias Seitz
9a4244867f refactor: cleanup Providererror (#2710) 2023-05-17 11:00:55 +02:00
Roman Krasiuk
9b79218c18 fix(p2p): network sync state (#2699) 2023-05-16 22:24:40 +02:00
Dan Cline
c44117075e fix: update rpc latest block from mining task (#2700) 2023-05-16 20:19:59 +02:00