Matthias Seitz
f8fddcdfa4
feat(p2p): integrate txpool in p2p ( #208 )
2022-11-15 22:27:41 +01:00
Matthias Seitz
391a509443
feat: add FromRecoveredTransaction conversion trait ( #207 )
2022-11-15 16:24:13 +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
651eed1086
chore(txpool): add PoolError::hash function ( #202 )
2022-11-14 20:35:08 +01:00
Matthias Seitz
14e97b2c43
chore(txpool): add external transaction helper function ( #201 )
2022-11-14 20:34:15 +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
e7851492b1
feat(txpool): enforce size limits ( #98 )
...
* feat(txpool): enforce size limits
* chore: rustfmt
2022-10-19 17:01:49 -07:00
Matthias Seitz
1e7d3ae57e
feat(txpool): keep track of pool size ( #95 )
...
* feat(txpool): add PoolStatus Api
* feat(txpool): track sizes
* feat(txpool): add size tracking
* cleanup
2022-10-18 23:47:20 +02:00
Matthias Seitz
2009b764c0
feat(txpool): add PoolStatus Api ( #91 )
2022-10-18 12:56:53 -07:00
Matthias Seitz
522a4e689e
refactor(txpool): simplify is local ( #87 )
2022-10-17 11:43:27 -07:00
Matthias Seitz
6bc09809f3
feat(txpool): enforce account tx capacity ( #88 )
2022-10-17 11:42:51 -07:00
Matthias Seitz
edd0e852f2
feat(txpool): introduce transaction origin ( #85 )
2022-10-17 07:14:18 -07:00
Matthias Seitz
83a9b31911
feat(txpool): add no parked ancestors condition ( #84 )
...
* feat(txpool): add no parked ancestors condition
* chore: rustfmt
2022-10-17 07:13:40 -07:00
Matthias Seitz
2317bcb702
style(txpool): turn InsertResult into std::result::Result ( #73 )
...
* refactor(txpool): consider below proto fee cap an error
* style(txpool): turn InsertResult into std::result::Result
* chore: rustfmt
* docs: add missing docs
2022-10-14 12:03:00 -07:00
Matthias Seitz
a7cf915677
refactor(txpool): consider below proto fee cap an error ( #71 )
2022-10-14 17:10:05 +02:00
Matthias Seitz
19d001fbdd
chore(txpool): require public traits to be static ( #74 )
2022-10-14 16:05:46 +02:00
Matthias Seitz
6d0bd9037e
feat(txpool): add get_all function ( #65 )
2022-10-14 11:19:15 +02:00
Matthias Seitz
794c07391e
feat(txpool): extend poolconfig ( #61 )
2022-10-13 20:49:35 +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
84ec30db5b
feat(txpool): add support for mock testing ( #55 )
...
* chore: some cleanup
* refactor(txpool): simplify layers and add docs
* refactor: more cleanup
* refactor: cleanup and simplifications
* feat(txpool): mock test support
* feat(txpool): more mock testing
* chore: rustfmt
* set basefee correctly
2022-10-13 10:44:31 -07:00
Matthias Seitz
577e840062
docs(txpool): update BestTransaction docs ( #57 )
2022-10-13 10:44:18 -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
180c768822
docs(txpool): add note for minimal protocol base fee ( #47 )
2022-10-11 10:14:32 -07:00
Matthias Seitz
0b1c86df30
docs(txpool): add mermaid diagram ( #46 )
2022-10-11 19:07:16 +02:00
Matthias Seitz
3fed7cfe21
feat(txpool): new txpool design ( #22 )
2022-10-11 17:10:02 +02:00
Bjerg
401cd3ec34
chore: clippy ( #25 )
2022-10-09 10:30:46 +02:00
Matthias Seitz
791ee2839f
feat(txpool): initial sketch ( #7 )
2022-10-07 22:00:19 +02:00