Commit Graph

20 Commits

Author SHA1 Message Date
Will Smith
9e6acece17 expose transaction origin (#383) 2022-12-11 09:15:25 +01:00
Matthias Seitz
eedd31ca59 feat(txpool): implement missing remove function (#378) 2022-12-10 09:15:16 -08:00
Matthias Seitz
6870c41fb0 chore(txpool): deny additional lints (#379) 2022-12-10 09:12:16 -08:00
Matthias Seitz
7867c67eaa chore(typool): clippy cleanup, docs and renames (#277) 2022-11-28 14:16:33 +01:00
Matthias Seitz
b6d9fe87b9 feat(net): propagate new transactions (#256) 2022-11-25 22:13:20 +01:00
Matthias Seitz
4fd1225dd6 chore(txpool): clarify ready terminology (#234) 2022-11-22 13:04:19 -05:00
Matthias Seitz
f8fddcdfa4 feat(p2p): integrate txpool in p2p (#208) 2022-11-15 22:27:41 +01:00
Bjerg
92a7818512 feat: bodies stage (#190)
* chore: clean up `.gitignore`

* fix: make RO cursors `Send + Sync`

* feat(wip): bodies stage

* driveby: improve docs

* chore: don't panic if we're the first stage

* chore: use `Vec` for ommers

* feat: error handling in bodies downloader

* chore: remove stale comment

* chore: pascal-case stage id

* refactor: remove unused new fns

* refactor: distinguish downloaders with prefix

* refactor: move downloader errs to own module

* refactor: `stream_bodies` -> `bodies_stream`

* test: fix borked imports in header stage

* test: clean up header tests

* test: add basic body stage tests

* test: add 2 more body stage test skeletons

* test: move generator test utils to own module

* refactor: move proof functions to primitives crate

* feat: add block generator test utils

* test: more body stage tests

* chore: fix typo (`Cannonical*` -> `Canonical`)

* docs: document `bodies_to_download`

* test: more body stage tests

* test: more body stage tests

* refactor: clean up body stage tests a bit

* test: fix broken tests

* refactor: clean up body stage tests

* test: more body stage tests
2022-11-15 08:49:11 +01:00
Matthias Seitz
e870a4ce13 refactor(txpool): use tx hash for on new block update (#170)
* refactor(txpool): use tx hash for updates

* chore: rustfmt
2022-11-07 14:50:36 +01:00
Matthias Seitz
2e6b18a154 wip: feat(txpool): add on block update (#69)
* feat(txpool): add on new block handler

* feat(txpool): work on update routine

* feat(txpool): start update process

* feat: implement update loop
2022-10-20 08:34:04 -07:00
Matthias Seitz
2009b764c0 feat(txpool): add PoolStatus Api (#91) 2022-10-18 12:56:53 -07:00
Matthias Seitz
edd0e852f2 feat(txpool): introduce transaction origin (#85) 2022-10-17 07:14:18 -07:00
Matthias Seitz
6d0bd9037e feat(txpool): add get_all function (#65) 2022-10-14 11:19:15 +02:00
Matthias Seitz
6b71460e7e refactor(txpool): simplify validator trait (#60)
* refactor(txpool): simplify validator trait

* fix docs
2022-10-13 20:36:15 +02:00
Matthias Seitz
55768a534d feat(txpool): add listeners for all transactions (#59) 2022-10-13 10:47:32 -07:00
Matthias Seitz
74b04dc81a refactor(txpool): get rid of block number requirement (#56) 2022-10-12 16:24:19 -07:00
Matthias Seitz
6d4e39deef refactor(txpool): cleanup pass (#53)
* chore: some cleanup

* refactor(txpool): simplify layers and add docs

* refactor: more cleanup

* refactor: cleanup and simplifications
2022-10-12 18:23:08 +02:00
Matthias Seitz
4fb99848fd refactor(txpool): simplify layers and add docs (#52)
* chore: some cleanup

* refactor(txpool): simplify layers and add docs
2022-10-12 17:58:36 +02:00
Matthias Seitz
3fed7cfe21 feat(txpool): new txpool design (#22) 2022-10-11 17:10:02 +02:00
Matthias Seitz
791ee2839f feat(txpool): initial sketch (#7) 2022-10-07 22:00:19 +02:00