Commit Graph

21 Commits

Author SHA1 Message Date
Andrew Ashikhmin
eac8c1fa59
Switch from eth/66 to eth/67 (#503)
* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit a25a685

git-subtree-dir: interfaces
git-subtree-split: a25a68528428cc6d792b5033dd97d094c14e1dd9

* Regenerate proto

* eth/66 -> eth/67

* Auto-generated leftovers

* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit 674172f

git-subtree-dir: interfaces
git-subtree-split: 674172f20ef9a77bcff1c97213f5f3865115f213

* Refresh generated proto

* Remove version suffix from MessageId
2022-06-28 09:58:12 +02:00
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
ledgerwatch
fbbcc5f48a
Switch to 512 bit peer ID in gprc bindings (#412)
* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit 8d42c07

git-subtree-dir: interfaces
git-subtree-split: 8d42c078a1d5196a02b26b1397716f44974d1bf7

* Regenerate peerId to be 512 bits

* Fixup

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-04-10 07:14:00 +01:00
Alex Sharov
83951a1d62
Enable more linters (#381) 2022-03-19 11:38:37 +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
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
e73692c327 up interfaces 2021-08-14 08:49:21 +07:00
alex.sharov
2cdedca2ef move mocks to _test.go 2021-08-03 14:49:25 +07:00
alex.sharov
b06a46e9cf encode txs 2021-07-26 10:04:53 +07:00
alex.sharov
1010156065 encode txs 2021-07-26 09:06:17 +07:00
alex.sharov
c55a9f46be encode txs 2021-07-26 07:57:49 +07:00
alex.sharov
f19ae4bfac tx propagate, pool mock, try some tests 2021-07-25 19:19:33 +07:00
Alex Sharp
1ea5eca9fe Encode GetPooledTx66 packet 2021-07-16 19:42:03 +01:00
Alex Sharp
fc3a3b4b37 Fix test 2021-07-14 19:17:20 +01:00
Alexey Sharp
d685fd2715 More test 2021-07-14 17:14:36 +01:00
Alexey Sharp
e058e2c0b8 Reorganise mock sentry as server not client 2021-07-14 07:44:23 +01:00
Alex Sharp
248e91db43 Fixes 2021-07-13 22:18:50 +01:00
Alexey Sharp
489f6557c5 Add direct package 2021-07-13 20:02:03 +01:00
Alexey Sharp
4f953b29dc Fix sentry mock 2021-07-12 14:18:24 +01:00
Alex Sharp
01030ab042 mock sentry 2021-07-04 23:13:33 +01:00