Commit Graph

530 Commits

Author SHA1 Message Date
alex.sharov
6085ab63c4 add state check assert routine 2021-08-28 11:25:58 +07:00
alex.sharov
c5cf532a2c add state check assert routine 2021-08-28 11:15:05 +07:00
alex.sharov
d8ef509ab1 add state check assert routine 2021-08-28 11:13:56 +07:00
alex.sharov
5c20bb6acf add state check assert routine 2021-08-28 11:08:13 +07:00
alex.sharov
70d3714549 add state check assert routine 2021-08-28 11:06:21 +07:00
alex.sharov
0397bc1883 add state check assert routine 2021-08-28 11:04:38 +07:00
alex.sharov
84be2290a6 add state check assert routine 2021-08-28 11:03:26 +07:00
alex.sharov
73ad34716f add state check assert routine 2021-08-28 10:53:06 +07:00
alex.sharov
b0ec89421d add state check assert routine 2021-08-28 10:52:18 +07:00
alex.sharov
0af6d6dac8 add state check assert routine 2021-08-28 10:49:54 +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
e61298a8e0 add state check assert routine 2021-08-28 10:10:46 +07:00
alex.sharov
87ad608c30 add state check assert routine 2021-08-28 10:09:41 +07:00
alex.sharov
7b9d0d926d add state check assert routine 2021-08-28 10:08:18 +07:00
alex.sharov
833c60c0d1 add state check assert routine 2021-08-28 10:00:23 +07:00
alex.sharov
dc671f35f2 add state check assert routine 2021-08-28 09:52:04 +07:00
alex.sharov
8c959fd1a8 add state check assert routine 2021-08-28 09:51:47 +07:00
alex.sharov
ed013b9223 add state check assert routine 2021-08-28 09:46:03 +07:00
alex.sharov
9751834dc5 add state check assert routine 2021-08-28 09:45:03 +07:00
alex.sharov
0fde5f182b add state check assert routine 2021-08-28 09:40:42 +07:00
alex.sharov
6c46822373 add state check assert routine 2021-08-28 09:39:52 +07:00
alex.sharov
13965918be add state check assert routine 2021-08-28 09:39:16 +07:00
alex.sharov
d5677b131d add state check assert routine 2021-08-28 09:31:54 +07:00
alex.sharov
eabbcd5af2 add state check assert routine 2021-08-28 09:30:15 +07:00
alex.sharov
6ad0315fa8 add state check assert routine 2021-08-28 09:28:50 +07:00
alex.sharov
e7b6bc14f2 add state check assert routine 2021-08-28 09:27:17 +07:00
alex.sharov
9ce4588a7d add state check assert routine 2021-08-28 09:25:47 +07:00
alex.sharov
fdd1498415 add state check assert routine 2021-08-28 09:21:23 +07:00
alex.sharov
ed2b1c3232 add state check assert routine 2021-08-28 09:15:15 +07:00
alex.sharov
86b9b92da6 add state check assert routine 2021-08-27 17:27:19 +07:00
alex.sharov
9b42416689 add state check assert routine 2021-08-27 17:23:50 +07:00
alex.sharov
cac7b798b4 add state check assert routine 2021-08-27 17:20:43 +07:00
alex.sharov
0e42c04b6c add state check assert routine 2021-08-27 17:18:29 +07:00
alex.sharov
92740a3935 add state check assert routine 2021-08-27 17:17:10 +07:00
alex.sharov
16607d14e7 add state check assert routine 2021-08-27 17:15:49 +07:00
alex.sharov
b9665c8347 add state check assert routine 2021-08-27 17:13:08 +07:00
alex.sharov
f29bd31d33 add state check assert routine 2021-08-27 17:11:45 +07:00
alex.sharov
7636511c87 add state check assert routine 2021-08-27 17:10:39 +07:00
alex.sharov
7f1a72b997 add state check assert routine 2021-08-27 17:06:34 +07:00
alex.sharov
c0ad0c6745 add state check assert routine 2021-08-27 16:48:10 +07:00
alex.sharov
b835777514 add state check assert routine 2021-08-27 16:47:56 +07:00
alex.sharov
99d55582bc add state check assert routine 2021-08-27 16:46:58 +07:00
alex.sharov
cf7a346d16 add state check assert routine 2021-08-27 16:44:49 +07:00
alex.sharov
8901748c36 add state check assert routine 2021-08-27 16:41:57 +07:00
alex.sharov
380c68fae7 add state check assert routine 2021-08-27 16:41:34 +07:00
alex.sharov
937a19167b add state check assert routine 2021-08-27 16:39:46 +07:00
alex.sharov
7ed9ddbf38 add state check assert routine 2021-08-27 16:36:44 +07:00
alex.sharov
7f7c312f70 add state check assert routine 2021-08-27 16:35:07 +07:00
alex.sharov
3ab6b5074c add state check assert routine 2021-08-27 16:34:33 +07:00
alex.sharov
e6a39ce9fc add state check assert routine 2021-08-27 16:32:31 +07:00
alex.sharov
3e76df7877 add state check assert routine 2021-08-27 16:31:39 +07:00
alex.sharov
8dd3f3c80e add state check assert routine 2021-08-27 16:29:29 +07:00
alex.sharov
a041261237 add state check assert routine 2021-08-27 16:28:12 +07:00
alex.sharov
5f20d8ba28 add state check assert routine 2021-08-27 16:24:09 +07:00
alex.sharov
e7572f6082 add state check assert routine 2021-08-27 15:59:31 +07:00
alex.sharov
d4cf078cfc add state check assert routine 2021-08-27 15:28:23 +07:00
alex.sharov
fe3402d57b add state check assert routine 2021-08-27 15:09:17 +07:00
alex.sharov
222da68a1b add state check assert routine 2021-08-27 14:57:32 +07:00
alex.sharov
f34a3dffad add state check assert routine 2021-08-27 14:54:53 +07:00
alex.sharov
8c6c7498ec add state check assert routine 2021-08-27 14:52:27 +07:00
alex.sharov
4ae790527d add state check assert routine 2021-08-27 14:46:27 +07:00
alex.sharov
8673a30ea6 add state check assert routine 2021-08-27 14:42:47 +07:00
alex.sharov
afdb0c7598 add state check assert routine 2021-08-27 11:22:24 +07:00
alex.sharov
536b4bcef8 add state check assert routine 2021-08-27 11:11:46 +07:00
alex.sharov
30acd46be5 add state check assert routine 2021-08-27 11:10:50 +07:00
alex.sharov
a7f6d54571 add state check assert routine 2021-08-27 11:08:43 +07:00
alex.sharov
57e84d56c3 add state check assert routine 2021-08-27 11:02:56 +07:00
alex.sharov
b8381cfd3a add state check assert routine 2021-08-27 11:00:56 +07:00
alex.sharov
ff451545d9 add state check assert routine 2021-08-27 10:37:41 +07:00
alex.sharov
cf015aeb8f add state check assert routine 2021-08-27 10:33:53 +07:00
alex.sharov
194d56fdc9 add state check assert routine 2021-08-27 10:30:02 +07:00
alex.sharov
90fc042d5d add state check assert routine 2021-08-27 10:26:25 +07:00
alex.sharov
fe00a55513 add state check assert routine 2021-08-27 10:24:50 +07:00
alex.sharov
0396127a54 add state check assert routine 2021-08-27 10:22:28 +07:00
alex.sharov
590aeb8855 add state check assert routine 2021-08-27 10:10:30 +07:00
alex.sharov
0e036160c3 add state check assert routine 2021-08-27 10:08:45 +07:00
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