Commit Graph

539 Commits

Author SHA1 Message Date
6b5b6f7a40 Breaking changes (#5191)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
Co-authored-by: joshieDo <ranriver@protonmail.com>
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
Co-authored-by: Thomas Coratger <thomas.coratger@gmail.com>
2024-02-29 12:37:28 +00:00
559124ac5a Performance metrics for NetworkManager future (#6746) 2024-02-29 02:55:09 +00:00
859406666e chore(net): use smallvec only if debug_assertions configed (#6866)
Signed-off-by: jsvisa <delweng@gmail.com>
2024-02-29 02:54:04 +00:00
00ac218dbf Downgrade all logs in validation to trace (#6863) 2024-02-28 22:42:06 +00:00
329082d81b feat: Implement eth68 announcement metrics, track entries by TxType (#6786)
Co-authored-by: Emilia Hane <emiliaha95@gmail.com>
2024-02-28 17:53:45 +00:00
27f1496daa chore: make clippy happy (#6837) 2024-02-28 05:32:03 +00:00
0007c9a4d2 Verify tx response data against request (#6439)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Oliver Nordbjerg <onbjerg@users.noreply.github.com>
2024-02-27 17:09:27 +00:00
0c529220eb Fix units for tx manager poll metrics (#6817) 2024-02-27 13:18:11 +00:00
9a949e905b fix(ChainTree): set first block on forked chain (#6821) 2024-02-27 12:52:30 +00:00
a27626cc22 feat: NetworkHandle get access to TransactionsHandle (#6780) 2024-02-27 10:31:54 +00:00
c268c71d44 Downgrade log level for remote client spec bug (#6815) 2024-02-27 00:58:13 +00:00
facad24ad6 chore: downgrade backoff counter to u8 (#6799) 2024-02-26 18:15:40 +01:00
323bad2718 Replace async trait with ->impl Future (#6791) 2024-02-26 13:23:00 +00:00
6930734a13 fix some typos (#6789) 2024-02-26 13:07:32 +01:00
3669d9e046 docs: improve pool imports + pending transactions docs (#6781) 2024-02-24 18:37:40 +00:00
8abbe19392 doc(hidden) for TransactionsManager handle only used in tests (#6748)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-02-24 14:35:19 +00:00
94cb6a8bcd chore: use Display instead of Debug for most errors (#6777) 2024-02-24 12:13:41 +00:00
da3f469758 chore: rm duplicated remove_pending_session call (#6773) 2024-02-24 11:47:01 +00:00
6890e02310 fmt: format tracing macro calls (#6776) 2024-02-24 10:58:01 +00:00
34402caeee Replace #[async_trait] with ->imp for traits in eth_wire (#6756) 2024-02-23 16:45:25 +00:00
9f91c6ad94 Meter tx manager poll duration (#6688)
Co-authored-by: Oliver Nordbjerg <onbjerg@users.noreply.github.com>
2024-02-22 23:19:51 +00:00
9ca813aee2 chore: remove some unnecessary calls to unwrap/expect (#6727) 2024-02-22 16:36:08 +00:00
d7a2123181 Bug fix, filter out already imported transactions (#6723) 2024-02-22 11:37:03 +00:00
f475adf243 Clean up tx manager (#6681) 2024-02-21 19:12:14 +00:00
a554c1fbf8 chore: remove unused genesis_hash in NetworkState and NetworkManager (#6704) 2024-02-21 12:03:04 +00:00
ca2c883cd6 fix: Duration serde execution stage (#6691) 2024-02-20 12:09:11 +00:00
cb61334b2c Clean up docs tx manager (#6682) 2024-02-20 02:21:39 +00:00
99d1d8dafc Fix broken test pack request (#6676) 2024-02-19 21:12:30 +00:00
2356dec1fb Downgrade log level in net::tx target (#6675) 2024-02-19 18:24:16 +00:00
d7da5b87d4 Fix test, delayed changes (#6661) 2024-02-19 18:17:07 +00:00
79452eadaf chore: make clippy happy (#6666) 2024-02-19 06:31:47 +00:00
6204ec7298 test: fix connect many race condition (#6653) 2024-02-18 15:21:27 +00:00
fcc34bd5b7 test: enhance invalid tx test (#6652)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
2024-02-18 14:18:41 +00:00
cde7a1db79 Decrease default count pending pool imports on fetch pending hashes (#6645) 2024-02-17 23:17:26 +00:00
a7ae6e4914 chore: decrease network manager budget (#6640)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
2024-02-17 16:58:19 +00:00
208eb6d6a1 Make transaction manager param configurable from cli (#6594)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-02-16 22:25:55 +00:00
805e18b33c Minor documentation updates to announce_block docs (#6630) 2024-02-16 20:28:05 +00:00
e24eadf620 enhance tx gossip test coverage (#6578)
Co-authored-by: Emilia Hane <emiliaha95@gmail.com>
2024-02-16 04:32:21 +00:00
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
ac4b99a8e3 chore(deps): bump curve25519-dalek, revert nightly pin (#6497) 2024-02-08 22:00:34 +00:00
2bcdec94ab chore(net): downgrade unseen hashes log to trace (#6459) 2024-02-07 13:42:42 +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