Commit Graph

23 Commits

Author SHA1 Message Date
ledgerwatch
b95cff2ce3
No empty RLPs in TxPacket messages, consistent parsing of TxPacket and PooledTxPacket (#232)
* Not include empty RLPs into TransactionPacket messages

* Consistent parsing of TransactionPacket and PooledTransactionPacket

* The other way around

* Cleaner form

* Add test for encoding and parsing TransctionsPacket

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-01-15 09:09:33 +00:00
TBC Dev
d8870b19c3
Change sentry peer_id from H512 pubkey to H256 keccak256(pubkey) (#183)
* Rename h1 to h0 for clarity

* Simplify toHashes() and toPeerIDs()

* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit ed9b048

git-subtree-dir: interfaces
git-subtree-split: ed9b04802fe8891a2bc3fea274c498c758d3fcac

* Change sentry peer_id from H512 pubkey to H256 keccak256(pubkey)
2021-11-21 19:35:59 +00:00
Alex Sharov
1b6c2266f5
Pool: PooledTransactions to produce correct rlp for non-legacy txs (#166) 2021-11-16 11:21:12 +07:00
Alex Sharov
3c86aa6290
ETL: use logPrefix as suffix of tmp files (#146) 2021-11-05 17:04:17 +07:00
Alex Sharov
158ae418d1
Pool: print local txs propagation info (#115) 2021-10-18 11:22:05 +07:00
Alex Sharov
6a7eeccad7
Pool: discard reasons, LRU (#80) 2021-09-20 12:44:29 +07:00
Alex Sharov
dfc14352d2
Pool: chain config, non-mainnet (#78) 2021-09-18 20:58:20 +07:00
Alex Sharov
c7739b89a8
Pool: state diff direct client, tx parse fuzzing (#59) 2021-09-07 09:52:17 +07:00
alex.sharov
afdb0c7598 add state check assert routine 2021-08-27 11:22:24 +07:00
alex.sharov
07df05a767 persistence 2021-08-22 17:39:47 +07:00
alex.sharov
cf43882226 parse 2021-08-07 20:19:24 +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
5dc81ce263 clean 2021-08-03 14:00:15 +07:00
alex.sharov
c99c410b4c ParseGetPooledTransactions66 2021-08-03 13:56:46 +07:00
alex.sharov
be5eb6522d save 2021-07-27 17:07:10 +07:00
alex.sharov
b3b2ebddc1 save 2021-07-27 16:44:47 +07:00
alex.sharov
1242270756 move "unexpected end of payload" check inside ParsePrefix func 2021-07-27 12:33:38 +07:00
alex.sharov
c13962ed75 extract ensureEnoughSize func 2021-07-27 12:03:59 +07:00
alex.sharov
585475978e save 2021-07-26 19:13:07 +07:00
Alex Sharp
1ea5eca9fe Encode GetPooledTx66 packet 2021-07-16 19:42:03 +01:00
Alex Sharp
05c5246985 Add EncodeHashes 2021-07-15 20:10:17 +01:00
Alexey Sharp
ce38bf7b6f Add packet test 2021-07-15 11:25:20 +01:00