Commit Graph

82 Commits

Author SHA1 Message Date
battlmonstr
c3b4804092
Sentry GRPC: rename Peers to PeerEvents (#427)
* sentry.proto: rename Peers to PeerEvents

* rename Peers() -> PeerEvents()
* rename PeersRequest -> PeerEventsRequest
* rename PeerEvent -> PeerEventId
* rename PeersReply -> PeerEvent

* Sentry GRPC: rename Peers to PeerEvents
2022-04-23 15:43:24 +01:00
Alex Sharov
da0666bd83
ErigonLib: move types to own package (#413) 2022-04-11 10:02:44 +07:00
Alex Sharov
af4391d7f9
fix nil pointer in fetch.go (#406) 2022-03-31 15:13:11 +07:00
Alex Sharov
83951a1d62
Enable more linters (#381) 2022-03-19 11:38:37 +07:00
Alex Sharov
5be29adf1a
Grpc err utils (#334)
* save

* save
2022-02-18 09:40:11 +07:00
ledgerwatch
1d4022960a
Fix RLP inconsistency in txpool (#280)
* Fix RLP inconsistency in txpool

* Add debug

* hasEnvelope argument when parsing transaction

* Handle incorrect packets without panic

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-01-26 16:09:02 +00:00
Alex Sharov
bf21599d23
RLP: base error - allows skip them if need (#215) 2021-12-22 14:34:34 +07:00
ledgerwatch
7f82ddaa75
txpool broadcasting (#208)
* txpool broadcasting

* Fix lint

* Broadcast transaction to random peers

* Fix broadcast

* Fix panic

* Change terminology

* fix for broadcasting

* Rebroadcast transactions promoted to pending subpool

* Trace moving between subpools

* Deduplicate promoted hashes, fix basefee promotion

* Tx propagation to be more resilient

* Fix dedup

* Change collection of promoted hashes

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-12-16 20:58:40 +00:00
Alex Sharov
34e6ca3c35
Pool: support multi sentry (#191)
* save

* save

* save
2021-11-24 17:13:17 +00:00
Alex Sharov
3c86aa6290
ETL: use logPrefix as suffix of tmp files (#146) 2021-11-05 17:04:17 +07:00
Alex Sharov
90c6ccb789
Pool: remove rules from func signatures (#135) 2021-10-28 10:13:39 +07:00
Alex Sharov
505bf97249
save (#124) 2021-10-22 09:41:20 +07:00
Alex Sharov
ec0155d4ed
Mdbx v0.11.0 (#123) 2021-10-22 09:12:39 +07:00
Alex Sharov
a3431f5663
Propagate all promoted txs when add local tx (#116) 2021-10-19 15:19:54 +07:00
Alex Sharov
158ae418d1
Pool: print local txs propagation info (#115) 2021-10-18 11:22:05 +07:00
Alex Sharov
c40a022ab0
Pool: return lost error, fix race of 2 sentries, set high limits to see worst case (#83) 2021-09-20 20:16:32 +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
8163e0cd93
Pool: cache based on txID (#75) 2021-09-17 09:56:04 +07:00
Alex Sharov
645eb83eca
Pool: mining rpc, remove block num from db, started atomic, more metrics, basic eviction (#70) 2021-09-14 22:01:33 +07:00
Alex Sharov
5b8e019246
Pool: add coherent state cache (#68) 2021-09-13 14:31:15 +07:00
Alex Sharov
0b4e528fac
Pool: no state persistance (#62) 2021-09-08 19:21:13 +07:00
Alex Sharov
c7739b89a8
Pool: state diff direct client, tx parse fuzzing (#59) 2021-09-07 09:52:17 +07:00
Alex Sharov
c935d9ff65
Pool: add grpcutils pkg, no spamming logs on disconnect (#54) 2021-09-02 16:37:36 +07:00
Alex Sharov
71fb498e39
Pool: add grpc server (#53) 2021-09-02 12:25:34 +07:00
Alex Sharov
ad0e5db3ef
Pool: pending best queue as an array, batch p2p new txs processing (#51) 2021-09-01 15:22:48 +07:00
Alex Sharov
38a9bb9d7f
Pool: remove redundant prefix in txs table (#49) 2021-08-31 21:29:55 +07:00
Alex Sharov
29bf077da4
Pool: eviction works, use correct minBaseFee (#48) 2021-08-30 19:26:29 +07:00
alex.sharov
e0b3248964 save 2021-08-30 10:07:16 +07:00
alex.sharov
b1e8c95609 add state check assert routine 2021-08-28 15:19:51 +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
afdb0c7598 add state check assert routine 2021-08-27 11:22:24 +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
b8381cfd3a add state check assert routine 2021-08-27 11:00:56 +07:00
alex.sharov
a6af35fb41 persistence 2021-08-25 18:51:58 +07:00
alex.sharov
d3f68af522 persistence 2021-08-22 17:06:38 +07:00
alex.sharov
6db3e60403 save 2021-08-21 17:23:09 +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
d77258ef47 dbg 2021-08-20 18:16:33 +07:00
alex.sharov
0d2b0c494f dbg 2021-08-20 16:17:34 +07:00
alex.sharov
bed7824206 save 2021-08-16 09:40:43 +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
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