Commit Graph

916 Commits

Author SHA1 Message Date
3222be6460 chore: dont set some ready when draining pending txs (#6620) 2024-02-15 23:31:23 +00:00
4c40f31dc3 Cache invalid txns (#6542)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
Co-authored-by: back <104515688+justcode740@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-02-14 21:17:56 +00:00
c0655fed89 docs: add a few more docs for network loop (#6595)
Co-authored-by: Oliver Nordbjerg <onbjerg@users.noreply.github.com>
2024-02-14 04:47:11 +00:00
fbfa2cedaf chore: impl default for PendingPoolImportsInfo (#6596) 2024-02-14 01:18:02 +00:00
4b21cf610c fix(op): set optimism flag correctly (#6593) 2024-02-13 23:43:22 +00:00
c0f3d38ad9 Speed up request buffered hashes (#6318)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
Co-authored-by: back <104515688+justcode740@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-02-13 18:57:43 +00:00
8cfa5efe62 small refactoring (#6531) 2024-02-10 21:21:40 +00:00
ac4b99a8e3 chore(deps): bump curve25519-dalek, revert nightly pin (#6497) 2024-02-08 22:00:34 +00:00
85d4f18582 Add serde feature to ethereum-forks crate (#6476) 2024-02-08 03:32:55 +00:00
yjh
29e8aab08a fix: sealed header should not be immutable borrowed (#6456) 2024-02-07 19:26:26 +00:00
2bcdec94ab chore(net): downgrade unseen hashes log to trace (#6459) 2024-02-07 13:42:42 +00:00
37a8780a4d Add clippy fixes and minor refactoring (#6450) 2024-02-06 22:11:22 +00:00
189d76735e fix: initial total_bytes value for response limit and typos (#6449) 2024-02-06 21:33:00 +00:00
a015c97a4b fix: remove debug assert dependend traces (#6434) 2024-02-06 03:33:51 +01:00
e810687ba7 fix: put noop helper behind feature (#6433) 2024-02-06 03:32:18 +01:00
75132dabba Fix bug hashes buffered for busy peer gave false-positive on eth68 check (#6427) 2024-02-05 22:39:45 +00:00
6c1263e000 fix(tracing): prioritize RUST_LOG and verbosity CLI arg (#6413) 2024-02-05 19:42:32 +00:00
09e5e7c76e Disable filling eth66 request from pending hashes and fix index bug (#6385) 2024-02-05 12:56:50 +00:00
1f12203723 add TestPoolWrapper around TestPool (#6395) 2024-02-05 12:40:53 +00:00
35ab1b1586 feature: better Address in use error message. (#6397) 2024-02-05 12:05:37 +00:00
c29af0ce56 Disable tx refetch logic (#6384) 2024-02-05 11:43:45 +00:00
7213533541 Fix bug, rebuffer hashes that were received over broadcast (#6316) 2024-02-05 11:42:57 +00:00
2c867d77da Example/polygon p2p (#6393)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-02-05 11:41:27 +00:00
021941a2c2 fix: Remove redundant Result wrapper (#6345) 2024-02-02 14:01:53 +00:00
ae3ec6611e Fix bug, limit for broadcast message (#6325) 2024-02-01 19:44:15 +00:00
cac6a5275a Introduce async budget in transaction manager (#6295)
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2024-02-01 17:54:06 +00:00
4807d0260c fix: ensure backwards compat config (#6319) 2024-02-01 12:49:59 +01:00
82b20403cc opt-out of filling space in request upon announcement (#6310)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-01-31 21:25:00 +00:00
262a9c16c2 chore: add missing is functions (#6309) 2024-01-31 19:22:21 +00:00
dd40ea54dc feat(net): batch-import received txs (#6299) 2024-01-31 18:11:42 +00:00
34cda3a99f Sanitise eth68 announcement (#6222)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2024-01-31 13:19:51 +00:00
606640285e Bug fix, increase tx response soft limit (#6301) 2024-01-30 22:17:31 +00:00
3faf9d87a3 feat: NetworkManager hibernate command, NetworkHandle hibernate funct… (#6186)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-01-29 17:15:48 +00:00
039a696966 Solve some clippy stuffs (#6247) 2024-01-26 17:13:58 +00:00
0aa22466d2 chore: use Display when formatting addresses and hashes (#6245) 2024-01-26 14:57:08 +00:00
9c9be5796a doc(eth-wire): add missing documentation for message mod (#6232) 2024-01-25 21:29:38 +00:00
f2702243f0 Make limit on tx packet size soft in tx fetcher (#6201) 2024-01-24 20:44:09 +00:00
d2cafa80a4 chore: bump igd dep (#6197) 2024-01-24 18:41:32 +00:00
66ac0fdc5b feat: Implement fixed vec arbitrary manually for NewPooledTransactions68 (#6184)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-01-24 13:33:08 +01:00
e1e81059fe Validation on decoding NewPooledTransactions68 (#6090) 2024-01-23 11:06:28 +00:00
021d236f8c Bug fix, tx fetcher fill_request_for_peer (#6150) 2024-01-22 20:03:10 +00:00
b713408331 Bug fix tx fetcher RUST_LOG=trace & add state dump to debug_assert error (#6146) 2024-01-22 15:37:56 +00:00
ade779754a Add commands from CONTRIBUTING.md to Makefile and update ci (#6141)
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
2024-01-22 10:42:06 +00:00
ea36b58cb2 add missing documentation and minor refactor (#6152) 2024-01-22 10:26:47 +00:00
90e1c432de feat(discv4): small improvements and documentation for discv4 (#6149) 2024-01-21 15:54:46 +00:00
bf3264b257 feat: use alloy genesis now (#6135)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-01-20 10:08:32 +00:00
51b40a029d Fix bug, buffered hashes of different eth versions from same peer (#6139) 2024-01-20 06:28:04 +00:00
8349cb3205 optimise TransactionFetcher (#6012)
Co-authored-by: zerosnacks <95942363+zerosnacks@users.noreply.github.com>
2024-01-18 23:37:14 +00:00
a3e56eaffa Cap max graceful disconnects (#6117)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-01-18 18:20:48 +00:00
7ed87433d8 chore: add missing outgoing message check (#6082) 2024-01-16 08:45:51 +00:00