Commit Graph

140 Commits

Author SHA1 Message Date
4709fcf16c feat(txpool): add price bump for is_underpriced transaction check (#3202) 2023-06-19 13:35:25 +00:00
b9c19e82b2 chore: block gas limit constant (#3224) 2023-06-19 12:54:30 +00:00
96abde0965 chore: AccountProvider -> AccountReader & AccountWriter (#3228) 2023-06-19 11:46:47 +00:00
13dcfb8e6e chore: expose txpool types that enable implementing TransactionPool trait (#3225) 2023-06-19 10:58:07 +00:00
ea2fcee995 chore: use workspace dependencies (#3132) 2023-06-13 22:46:26 +00:00
171166e84a chore: add msrv to manifests, add and use workspace.package (#3006) 2023-06-06 03:45:44 +00:00
18b70f17f7 perf: use BTreeMap::pop_last (#2994) 2023-06-05 17:43:23 +00:00
d2c68edf23 feat: rework logs (#2988) 2023-06-05 17:43:14 +00:00
10b577096b chore(metrics): restructure crates (#2850) 2023-05-26 12:21:48 +00:00
7b7805a4cc refactor: rm dupe InvalidTransactionErrors (#2737) 2023-05-19 10:13:33 +02:00
ae2b0954c6 perf: do not compile traces in release mode (#2652) 2023-05-15 17:06:10 -07:00
7d3016f0f2 feat: use BlockHashOrNum in providers (#2627) 2023-05-10 22:03:16 +02:00
c0cbb6a473 feat(txpool): add sub-pools length and size metrics (#2598)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-05-09 15:52:20 +02:00
7ca8a297a8 feat(txpool): add add_and_subscribe (#2603) 2023-05-08 15:28:53 +02:00
523ffa0cb7 chore(clippy): make clippy happy (#2597) 2023-05-07 12:00:23 +02:00
3591a6f249 feat(rpc): add txpool namespace (#2591) 2023-05-06 13:47:27 -07:00
d067e762ba feat(txpool): add a few more maintain checks (#2593) 2023-05-06 13:45:39 -07:00
3c14fdab25 chore: improve channel is full log (#2595) 2023-05-06 10:34:55 -07:00
5f3406e36d fix(txpool): move tx correctly after basefee update (#2479) 2023-05-01 16:44:21 +02:00
c06e8c496d chore: rm dbg artifact (#2477) 2023-04-30 12:16:58 +02:00
a3e627e801 feat(txpool): add update_basefee function (#2447) 2023-04-30 11:05:51 +02:00
5c5aef0b42 fix: reconsider several is_bad_transactions checks (#2450) 2023-04-28 11:54:30 -07:00
d604bd4941 feat: skip transactions we can no longer fit in the block (#2433) 2023-04-27 09:12:30 -07:00
2b7b14ab8c chore(deps): rm unused deps (#2435) 2023-04-27 16:20:14 +02:00
0d20d34eaf feat(txpool): add missing txpool update checks (#2366) 2023-04-27 16:04:18 +02:00
9b5a84acc8 feat: initialize txpool maintenance (#2429)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-04-27 15:53:55 +02:00
9fb66ffeff chore: move next base fee to header impl (#2400) 2023-04-26 12:31:35 +02:00
4763aad11e feat(txpool): add pool manage task (#2298)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-04-26 11:10:02 +02:00
f41d81ac63 chore(txpool): don't penalize FeeCapBelowMinimumProtocolFeeCap error (#2396) 2023-04-25 19:25:34 +02:00
9452b3658b feat(db): Don't store TxHash when writing to the table (#2279) 2023-04-21 11:15:52 +02:00
57d49ab506 docs: extend validate docs (#2300) 2023-04-18 12:33:06 -04:00
b45182ae2c fix: be less strict about what's a bad tx (#2268) 2023-04-15 03:44:21 -07:00
adad6d31b4 Revert "Revert "chore: enable tx inserts via p2p" (#2252)" (#2259) 2023-04-15 01:31:16 +02:00
c67c944a1f Revert "chore: enable tx inserts via p2p" (#2252) 2023-04-14 18:18:13 -04:00
d99befe818 chore: enable tx inserts via p2p (#2214) 2023-04-12 12:11:33 -04:00
48dc9987a1 chore: use cost in error (#2213)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-04-12 17:53:52 +02:00
15ad63f8c2 fix(txpool): enforce minimum priority fee (#2212) 2023-04-12 08:41:10 -07:00
c5b70f4771 chore: clippy (#2197) 2023-04-11 23:14:01 -07:00
b2c3074260 Network integrations tests with txpool task (#2148)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-04-09 13:31:14 +02:00
cfff7b3e60 chore: add minimal protocol base fee (#2121) 2023-04-05 03:42:29 -07:00
10af3ab8cf perf(txpool): filter by sender id (#2080) 2023-04-02 11:39:28 -07:00
481f60acee rpc: add missing fields in send_transaction (#1976)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-04-02 17:47:45 +02:00
47b9738ede chore: fix some typos (#2025) 2023-03-29 14:49:50 +02:00
93056edbc7 fix(txpool): use default account if non existing (#2015) 2023-03-28 17:57:00 -04:00
3810548bd7 chore(txpool): add AlreadyImported variant (#2009) 2023-03-28 19:00:30 +02:00
b55b2d6182 fix(txpool): differentiate pool error variants (#2008) 2023-03-28 18:28:24 +02:00
7bd2576049 fix(txpool): fix legacy tx chain id check (#2005) 2023-03-28 12:24:21 -04:00
f0a95689a4 chore(txpool): include tx object in assert message (#1989) 2023-03-26 17:18:44 +02:00
2e0755fc2d fix(txpool): update current pool based on state (#1972) 2023-03-24 20:54:15 +01:00
5f7171f125 chore(txpool): rename remove_invalid to remove_transactions (#1973) 2023-03-24 20:38:51 +01:00