Commit Graph

29 Commits

Author SHA1 Message Date
Neo
26dcd28433
Update PriceBump, change tx replacement logic, update test (#238) 2022-01-17 07:45:57 +00:00
ledgerwatch
c7cd5d65d3
Introduce transaction tracing in tx pool (#205)
* Introduce transaction tracing in tx pool

* Add tracing prints

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-12-14 09:40:07 +00:00
ledgerwatch
0404744146
Introduce PriceBump, change tx replacement logic, add test (#192)
* Introduce PriceBump, change tx replacement logic, add test

* Fix TestNonceFromAddress

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-11-26 13:55:58 +00:00
Alex Sharov
06fb85a0ed
Pool: reject low nonce and low balance txs (#182)
* save

* save
2021-11-21 14:52:17 +00:00
ledgerwatch
eefbde1443
Pending nonce [attempt 2] (#158)
* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit 8f1a238

git-subtree-dir: interfaces
git-subtree-split: 8f1a23897b8921ae3e7f9450ec9f300255c6e1e2

* Regenerate bindings for new interfaces

* Add Nonce function

* Search for nonce in ascending order

* Descend from highest possible nonce for sender (#162)

* Descend from highest possible nonce for sender

* Remove assumptions from nonce()

* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit 375e3d8

git-subtree-dir: interfaces
git-subtree-split: 375e3d85a3d9ff13e61593a5efacd2fbc777cec3

* Regenerate

* Started test

* More of test

* Fix test

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: TBC Dev <48684072+tbcd@users.noreply.github.com>
2021-11-15 09:44:18 +00:00
alex.sharov
559f376ed4 save 2021-09-27 22:25:13 +07:00
Alex Sharov
4862356290
Pool: correct new pending txs notifications (#85) 2021-09-21 16:39:41 +07:00
Alex Sharov
6a7eeccad7
Pool: discard reasons, LRU (#80) 2021-09-20 12:44:29 +07:00
Alex Sharov
5b8e019246
Pool: add coherent state cache (#68) 2021-09-13 14:31:15 +07:00
Alex Sharov
0b4e528fac
Pool: no state persistance (#62) 2021-09-08 19:21:13 +07:00
Alex Sharov
c7739b89a8
Pool: state diff direct client, tx parse fuzzing (#59) 2021-09-07 09:52:17 +07:00
Alex Sharov
38a9bb9d7f
Pool: remove redundant prefix in txs table (#49) 2021-08-31 21:29:55 +07:00
Alex Sharov
29bf077da4
Pool: eviction works, use correct minBaseFee (#48) 2021-08-30 19:26:29 +07:00
alex.sharov
a24048bed4 save 2021-08-30 10:43:36 +07:00
alex.sharov
fa5bb95523 add state check assert routine 2021-08-28 10:42:54 +07:00
alex.sharov
9ac04671d0 add state check assert routine 2021-08-28 10:17:49 +07:00
alex.sharov
7b9d0d926d add state check assert routine 2021-08-28 10:08:18 +07:00
alex.sharov
fdd1498415 add state check assert routine 2021-08-28 09:21:23 +07:00
alex.sharov
a6af35fb41 persistence 2021-08-25 18:51:58 +07:00
alex.sharov
ab0bfead4f save 2021-08-06 21:20:34 +07:00
alex.sharov
31b20c1d9c move mocks to _test.go 2021-08-03 15:22:43 +07:00
alex.sharov
630f692051 run 2021-08-01 17:07:17 +07:00
alex.sharov
6e5883940e add nonce and sender 2021-07-30 21:52:23 +07:00
alex.sharov
7947721ce4 fix queues 2021-07-30 16:31:45 +07:00
alex.sharov
62b69505fa fix queues 2021-07-30 16:26:56 +07:00
alex.sharov
fb12513c08 fix queues 2021-07-30 16:24:20 +07:00
alex.sharov
4916d21cd3 fix queues 2021-07-30 11:22:27 +07:00
alex.sharov
04ed6f7f70 fuzz pool 2021-07-30 10:28:03 +07:00
alex.sharov
284ac68930 initial implementation 2021-07-29 15:05:20 +07:00