Commit Graph

61 Commits

Author SHA1 Message Date
alex.sharov
2206550ae6 remove statusData from fetch 2021-08-14 16:02:27 +07:00
alex.sharov
bb87df0afa remove statusData from fetch 2021-08-14 15:40:10 +07:00
alex.sharov
f01a4437cf enforce pool interface compatibility 2021-08-14 08:45:00 +07:00
alex.sharov
4902499fa1 save isLocalHistory to db 2021-08-13 12:24:14 +07:00
alex.sharov
ad711366fe save isLocalHistory to db 2021-08-13 12:23:14 +07:00
alex.sharov
5fb24053dd evict 2021-08-11 11:32:21 +07:00
alex.sharov
7a48420c8f evict 2021-08-11 11:23:48 +07:00
alex.sharov
d9dae8199b evic 2021-08-11 11:22:35 +07:00
alex.sharov
d491e4c093 add KV 2021-08-11 11:21:36 +07:00
alex.sharov
f7df1f6ca4 subscribe to state changes 2021-08-09 09:43:15 +07:00
alex.sharov
be60073e1b handle PooledTransactionsPackage 2021-08-08 19:18:50 +07:00
alex.sharov
ee0a1451b6 save 2021-08-08 15:55:31 +07:00
alex.sharov
81c1e73785 Invariant: if no notification, then no pools growth 2021-08-07 10:42:45 +07:00
alex.sharov
ab0bfead4f save 2021-08-06 21:20:34 +07:00
alex.sharov
030b518ceb more fixes 2021-08-06 11:44:40 +07:00
alex.sharov
db8cbe6244 more fixes 2021-08-06 11:42:41 +07:00
alex.sharov
caf4130089 del from pools on replace-by-nonce case 2021-08-06 11:06:03 +07:00
alex.sharov
922e21e8a1 fixes for many bugs 2021-08-06 10:36:44 +07:00
alex.sharov
e965c0981d fixes 2021-08-05 22:48:56 +07:00
alex.sharov
ee64806c90 finally tests catch something 2021-08-05 20:39:08 +07:00
alex.sharov
3eb8a99b59 111 2021-08-05 19:42:02 +07:00
alex.sharov
9858746225 111 2021-08-05 19:41:18 +07:00
alex.sharov
aef904971c validate TxSlots 2021-08-05 16:45:58 +07:00
alex.sharov
7616ab3cde addresses type 2021-08-05 16:35:29 +07:00
alex.sharov
6dd244bdcf test: add real re-org and p2p txs 2021-08-05 15:07:45 +07:00
alex.sharov
eed7f95aed test: add real re-org and p2p txs 2021-08-05 15:03:25 +07:00
alex.sharov
f4b065eb6d test: add real re-org and p2p txs 2021-08-05 14:44:24 +07:00
alex.sharov
c6080bfd12 test: add real re-org and p2p txs 2021-08-05 13:42:23 +07:00
alex.sharov
f1bfe6fd85 add onNewTxs method 2021-08-05 10:01:31 +07:00
alex.sharov
e2ddc55c95 add onNewTxs method 2021-08-05 09:48:37 +07:00
alex.sharov
d7a911dd0f broadcast loop 2021-08-05 09:00:00 +07:00
alex.sharov
729fb20d98 columnize senders 2021-08-04 15:34:10 +07:00
alex.sharov
35d8cf5525 introduce stateDiff 2021-08-04 13:47:23 +07:00
alex.sharov
3204f70409 pool constructor 2021-08-04 11:53:30 +07:00
alex.sharov
9a9d017866 add localHistory 2021-08-04 11:27:06 +07:00
alex.sharov
2de26c7e99 move mocks to _test.go 2021-08-03 15:26:29 +07:00
alex.sharov
829971377b encode p2p response for getPooledTxs 2021-08-03 14:35:45 +07:00
alex.sharov
5dc81ce263 clean 2021-08-03 14:00:15 +07:00
alex.sharov
7844b746f3 more test cases 2021-08-02 18:53:28 +07:00
alex.sharov
b3adf70e40 add Pool object, unwind and forward now done by 1 function 2021-08-02 16:34:16 +07:00
alex.sharov
630f692051 run 2021-08-01 17:07:17 +07:00
alex.sharov
52fc8df02a run 2021-08-01 11:44:40 +07:00
alex.sharov
6a4bc96c5a run 2021-08-01 11:41:34 +07:00
alex.sharov
54b4e1b034 complexify test 2021-08-01 10:01:55 +07:00
alex.sharov
1ea6899cd9 complexify test 2021-07-31 16:29:29 +07:00
alex.sharov
574b3fe89d extract sender from txSlot 2021-07-31 15:10:42 +07:00
alex.sharov
64759453b1 basic forward/unwind funcs 2021-07-31 12:41:57 +07:00
alex.sharov
6e5883940e add nonce and sender 2021-07-30 21:52:23 +07:00
alex.sharov
fb12513c08 fix queues 2021-07-30 16:24:20 +07:00
alex.sharov
bf1f384df2 fix queues 2021-07-30 14:10:58 +07:00