Commit Graph

403 Commits

Author SHA1 Message Date
alex.sharov
fbe84f8d5f add state check assert routine 2021-08-27 10:01:44 +07:00
alex.sharov
26f543dff8 add state check assert routine 2021-08-27 09:56:57 +07:00
alex.sharov
d8dea44ada add state check assert routine 2021-08-27 09:52:56 +07:00
alex.sharov
87ef16fd5b add state check assert routine 2021-08-27 09:51:58 +07:00
alex.sharov
f160918baa add state check assert routine 2021-08-27 09:49:58 +07:00
alex.sharov
993265011f add state check assert routine 2021-08-27 09:49:26 +07:00
alex.sharov
624aec385e add state check assert routine 2021-08-27 09:43:19 +07:00
alex.sharov
92fbed3d72 add state check assert routine 2021-08-27 09:36:12 +07:00
alex.sharov
f943cf959e add state check assert routine 2021-08-27 09:31:54 +07:00
alex.sharov
536234e0c3 add state check assert routine 2021-08-27 09:10:56 +07:00
alex.sharov
4641ae3ade add state check assert routine 2021-08-27 09:09:37 +07:00
alex.sharov
4dc30447bb add state check assert routine 2021-08-27 09:00:52 +07:00
alex.sharov
0e1f1e39ce add state check assert routine 2021-08-27 09:00:06 +07:00
alex.sharov
96e0d4b177 add state check assert routine 2021-08-27 08:58:38 +07:00
alex.sharov
c435d8a2dc add state check assert routine 2021-08-27 08:33:57 +07:00
alex.sharov
16621e41d4 don't load everything on start 2021-08-26 19:49:56 +07:00
alex.sharov
1d9c9aa1bf don't load everything on start 2021-08-26 18:08:03 +07:00
alex.sharov
66f4f6880f don't load everything on start 2021-08-26 18:04:38 +07:00
alex.sharov
7b3b6d1ac8 don't load everything on start 2021-08-26 18:00:36 +07:00
alex.sharov
1da85f4dc9 don't load everything on start 2021-08-26 18:00:19 +07:00
alex.sharov
3c847202cd don't load everything on start 2021-08-26 17:58:57 +07:00
alex.sharov
a1ee1b7640 don't load everything on start 2021-08-26 17:57:37 +07:00
alex.sharov
f38cc2be21 don't load everything on start 2021-08-26 17:56:11 +07:00
alex.sharov
1babe50fa4 don't load everything on start 2021-08-26 17:52:18 +07:00
alex.sharov
c1f555994a don't load everything on start 2021-08-26 17:39:16 +07:00
alex.sharov
2c07b54283 don't load everything on start 2021-08-26 17:36:08 +07:00
alex.sharov
f6e16b736a don't load everything on start 2021-08-26 17:34:05 +07:00
alex.sharov
490c366671 don't load everything on start 2021-08-26 17:04:30 +07:00
alex.sharov
f20c95e799 don't load everything on start 2021-08-26 15:52:38 +07:00
alex.sharov
22d71095f6 don't load everything on start 2021-08-26 15:29:33 +07:00
alex.sharov
e52119f359 try drop in-mem buf after flush 2021-08-26 15:17:11 +07:00
alex.sharov
677c0169aa try drop in-mem buf after flush 2021-08-26 15:14:02 +07:00
alex.sharov
c673625f37 move byNonce to from SenderCache to pool to solve problem with locks 2021-08-26 14:43:39 +07:00
alex.sharov
b5b19569ed make sender info unloadable 2021-08-26 11:21:47 +07:00
alex.sharov
93ea148972 save 2021-08-26 09:24:02 +07:00
alex.sharov
2a9d626b09 save 2021-08-26 09:09:24 +07:00
alex.sharov
334df676b2 persistence 2021-08-25 19:44:21 +07:00
alex.sharov
a1c7795034 persistence 2021-08-25 18:55:01 +07:00
alex.sharov
a6af35fb41 persistence 2021-08-25 18:51:58 +07:00
alex.sharov
0ff5477430 persistence 2021-08-25 17:45:00 +07:00
alex.sharov
5de4e0808b persistence 2021-08-25 17:43:10 +07:00
alex.sharov
6f51cd3fc5 persistence 2021-08-25 17:42:02 +07:00
alex.sharov
53cc635d5c persistence 2021-08-25 14:56:08 +07:00
alex.sharov
9e6631df29 persistence 2021-08-25 14:52:11 +07:00
alex.sharov
d0ff57bd8e ss 2021-08-25 11:38:10 +07:00
alex.sharov
05d9e70c19 ss 2021-08-25 11:34:52 +07:00
alex.sharov
029c34d61b ss 2021-08-25 09:57:20 +07:00
alex.sharov
266384ea51 ss 2021-08-24 19:33:44 +07:00
alex.sharov
37e21d5e1c ss 2021-08-24 18:37:37 +07:00
alex.sharov
dbc515fb00 ss 2021-08-24 16:48:58 +07:00
alex.sharov
58ea81edc1 persistence 2021-08-24 11:38:17 +07:00
alex.sharov
5514331bdc persistence 2021-08-24 09:23:55 +07:00
alex.sharov
33c60ecea8 persistence 2021-08-23 20:20:07 +07:00
alex.sharov
5f3c7beca3 persistence 2021-08-23 20:03:09 +07:00
alex.sharov
8133abfd56 persistence 2021-08-23 16:13:06 +07:00
alex.sharov
224d851465 Changes 2021-08-23 14:16:39 +07:00
alex.sharov
1eab615b8d persistence 2021-08-23 10:17:26 +07:00
alex.sharov
2264275e34 persistence 2021-08-22 20:43:46 +07:00
alex.sharov
07df05a767 persistence 2021-08-22 17:39:47 +07:00
alex.sharov
c233bcb2e6 persistence 2021-08-22 17:29:39 +07:00
alex.sharov
d3f68af522 persistence 2021-08-22 17:06:38 +07:00
alex.sharov
17fbbde4c3 save 2021-08-21 19:17:04 +07:00
alex.sharov
c8cfd689d2 save 2021-08-21 19:14:56 +07:00
alex.sharov
a12556da38 save 2021-08-21 19:13:19 +07:00
alex.sharov
bc1c7bd91c save 2021-08-21 19:09:52 +07:00
alex.sharov
cf351f8e64 save 2021-08-21 18:52:36 +07:00
alex.sharov
6cecf9370d save 2021-08-21 18:47:08 +07:00
alex.sharov
d8b5d8dc2e save 2021-08-21 18:18:29 +07:00
alex.sharov
6db3e60403 save 2021-08-21 17:23:09 +07:00
alex.sharov
91f148bd1f save 2021-08-21 17:17:43 +07:00
alex.sharov
7510505f39 save 2021-08-21 15:31:53 +07:00
alex.sharov
ee04be5cf3 save 2021-08-21 15:25:53 +07:00
alex.sharov
8170635b5c save 2021-08-21 15:24:03 +07:00
alex.sharov
256dfd818a save 2021-08-21 15:08:03 +07:00
alex.sharov
4c765516ba save 2021-08-21 08:49:05 +07:00
alex.sharov
2830a7f0ea dbg 2021-08-21 08:02:55 +07:00
alex.sharov
f5a70df966 dbg 2021-08-20 18:29:38 +07:00
alex.sharov
d77258ef47 dbg 2021-08-20 18:16:33 +07:00
alex.sharov
0d2b0c494f dbg 2021-08-20 16:17:34 +07:00
alex.sharov
df4c8e2309 fix many nil-pointers 2021-08-17 15:46:59 +07:00
alex.sharov
58e62a50b5 fix many nil-pointers 2021-08-17 12:02:13 +07:00
alex.sharov
e4acb2ae3a fix many nil-pointers 2021-08-17 11:22:47 +07:00
alex.sharov
9e67a858e6 fix many nil-pointers 2021-08-17 11:19:14 +07:00
alex.sharov
8e26a7eb13 fix many nil-pointers 2021-08-17 11:06:17 +07:00
alex.sharov
3a2ee52c23 add txpool tables 2021-08-17 10:36:07 +07:00
alex.sharov
491370a8ab add txpool tables 2021-08-17 10:34:09 +07:00
alex.sharov
601e5fa443 add txpool tables 2021-08-17 10:32:18 +07:00
alex.sharov
6f686f510b save 2021-08-16 16:40:07 +07:00
alex.sharov
1eff078110 save 2021-08-16 16:35:49 +07:00
alex.sharov
0286d092e2 save 2021-08-16 16:34:12 +07:00
alex.sharov
bed7824206 save 2021-08-16 09:40:43 +07:00
alex.sharov
75afb1f42e save 2021-08-16 09:36:34 +07:00
alex.sharov
f74fc193ba save 2021-08-16 09:35:23 +07:00
alex.sharov
ca4595a051 save 2021-08-16 09:28:21 +07:00
alex.sharov
c1ecf222ef save 2021-08-16 08:58:41 +07:00
alex.sharov
2206550ae6 remove statusData from fetch 2021-08-14 16:02:27 +07:00
alex.sharov
8c5c1bdc52 remove statusData from fetch 2021-08-14 15:54:31 +07:00
alex.sharov
a92ee337b9 remove statusData from fetch 2021-08-14 15:53:22 +07:00
alex.sharov
07aad2f286 remove statusData from fetch 2021-08-14 15:47:49 +07:00
alex.sharov
bb87df0afa remove statusData from fetch 2021-08-14 15:40:10 +07:00
alex.sharov
002c671961 remove statusData from fetch 2021-08-14 15:28:05 +07:00
alex.sharov
72d47680cb correct grpc retry 2021-08-14 11:33:13 +07:00
alex.sharov
e73692c327 up interfaces 2021-08-14 08:49:21 +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
b15af6c774 test success flow 2021-08-09 14:15:30 +07:00
alex.sharov
fe9a2ef810 test success flow 2021-08-09 14:14:02 +07:00
alex.sharov
5f05c1fcbd test success flow 2021-08-09 14:04:22 +07:00
alex.sharov
585a2ad0a6 mos 2021-08-09 11:00:36 +07:00
alex.sharov
b9b5a7eea3 subscribe to state changes 2021-08-09 10:51:01 +07:00
alex.sharov
2dba918888 subscribe to state changes 2021-08-09 09:46:10 +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
e1ed833b0d parse 2021-08-07 20:26:41 +07:00
alex.sharov
cf43882226 parse 2021-08-07 20:19:24 +07:00
alex.sharov
a892707c19 parse p2p pkg 2021-08-07 17:38:27 +07:00
alex.sharov
3f660970ce parse p2p pkg 2021-08-07 16:12:04 +07:00
alex.sharov
b88f70de0e reject too large transactions 2021-08-07 14:05:02 +07:00
alex.sharov
99e371c421 less .skip 2021-08-07 12:46:58 +07:00
alex.sharov
23ca1b4a6f less .skip 2021-08-07 12:44:01 +07:00
alex.sharov
81c1e73785 Invariant: if no notification, then no pools growth 2021-08-07 10:42:45 +07:00
alex.sharov
f4565923e7 Invariant: if no notification, then no pools growth 2021-08-07 10:29:33 +07:00
alex.sharov
66b80ef0ff Invariant: if no notification, then no pools growth 2021-08-07 09:56:10 +07:00
alex.sharov
b3fbf42230 Invariant: if no notification, then no pools growth 2021-08-07 09:49:22 +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
730cd96e9b help fuzzer 2021-08-05 18:38:37 +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
b178ce65e6 test: add real re-org and p2p txs 2021-08-05 15:30:42 +07:00
alex.sharov
6dd244bdcf test: add real re-org and p2p txs 2021-08-05 15:07:45 +07:00
alex.sharov
f85bb97e80 test: add real re-org and p2p txs 2021-08-05 15:04:00 +07:00
alex.sharov
eed7f95aed test: add real re-org and p2p txs 2021-08-05 15:03:25 +07:00
alex.sharov
34828e0336 test: add real re-org and p2p txs 2021-08-05 14:45:02 +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
1e8a19ac37 broadcast loop 2021-08-05 09:30:59 +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
20040b6d18 packet test 2021-08-04 10:01:52 +07:00
alex.sharov
d177a32930 packet test 2021-08-04 09:47:56 +07:00
alex.sharov
d2baa38f9c save 2021-08-03 16:55:24 +07:00
alex.sharov
6bdf5c10a4 move mocks to _test.go 2021-08-03 15:28:00 +07:00
alex.sharov
2de26c7e99 move mocks to _test.go 2021-08-03 15:26:29 +07:00
alex.sharov
31b20c1d9c move mocks to _test.go 2021-08-03 15:22:43 +07:00
alex.sharov
5feac559ab move mocks to _test.go 2021-08-03 14:50:46 +07:00
alex.sharov
4bbf980a4e move mocks to _test.go 2021-08-03 14:50:10 +07:00
alex.sharov
2cdedca2ef move mocks to _test.go 2021-08-03 14:49:25 +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
c99c410b4c ParseGetPooledTransactions66 2021-08-03 13:56:46 +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
66562a13c2 complexify test 2021-07-31 18:21:56 +07:00
alex.sharov
c72bed2450 complexify test 2021-07-31 17:20:46 +07:00
alex.sharov
1ea6899cd9 complexify test 2021-07-31 16:29:29 +07:00
alex.sharov
0fb7137cb9 extract sender from txSlot 2021-07-31 15:35:36 +07:00
alex.sharov
574b3fe89d extract sender from txSlot 2021-07-31 15:10:42 +07:00
alex.sharov
a2a7db3bd8 basic forward/unwind funcs 2021-07-31 12:43:29 +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
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
bf1f384df2 fix queues 2021-07-30 14:10:58 +07:00
alex.sharov
e4545fe627 fix queues 2021-07-30 11:25:29 +07:00
alex.sharov
4916d21cd3 fix queues 2021-07-30 11:22:27 +07:00
alex.sharov
d2ae997f37 fuzz pool 2021-07-30 10:34:13 +07:00
alex.sharov
04ed6f7f70 fuzz pool 2021-07-30 10:28:03 +07:00
alex.sharov
5c5a10b20c fuzz example 2021-07-29 15:50:23 +07:00
alex.sharov
10dccfe0c5 fuzz example 2021-07-29 15:48:23 +07:00
alex.sharov
77c876b46f fuzz example 2021-07-29 15:45:45 +07:00
alex.sharov
99083578db fuzz example 2021-07-29 15:33:22 +07:00
alex.sharov
053b99e716 fuzz example 2021-07-29 15:23:39 +07:00
alex.sharov
8ca2c0cef4 fuzz example 2021-07-29 15:23:17 +07:00
alex.sharov
284ac68930 initial implementation 2021-07-29 15:05:20 +07:00
Alex Sharov
22df7a3fb9
Merge pull request #7 from ledgerwatch/log_log15 2021-07-28 13:31:57 +07:00
alex.sharov
ee1d85bc82 move to log15 2021-07-28 11:50:45 +07:00