Commit Graph

210 Commits

Author SHA1 Message Date
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
cf018bcc77
Merge pull request #16 from ledgerwatch/pool7
Pool: test now does real re-org and add p2p txs
2021-08-05 15:15:06 +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
56aa878d3e
Merge pull request #15 from ledgerwatch/pool6
Pool: add onNewTxs method, mined txs must be removed before add unwinded
2021-08-05 10:53:45 +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
f69ee81b9d 1Merge branch 'main' into pool6 2021-08-04 13:59:09 +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
72e58240ed save 2021-08-03 15:42:26 +07:00
Alex Sharov
685c20044f
Pool: handle more p2p message, pool object, more invariants, single method for unwind+forward
Pool: handle more p2p message, pool object, more invariants, single method for unwind+forward
2021-08-03 15:33:19 +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
44ff320918
Merge pull request #13 from ledgerwatch/pool4
Pool: basic OnNewBlock and Unwind functions
2021-08-01 12:00:01 +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
774f6041b8
Merge pull request #12 from ledgerwatch/pool3
Poll: first passed fuzzing
2021-07-30 16:33:36 +07:00