You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Motivation
There is a missed attestation issue described in ChainSafe/lodestar#4600. When lodestar wants to publish a gossip message, it wants to spread to the network asap
Description
Right now the steps to publish a message are as below:
Select peers to publish, this is usually about 20 peers (as in lodestar)
For each peer:
Form a new rpc for that peer with cached control messages of that peer
Encode message to bytes using protobuf
Encode to length prefix
Send to raw stream
The proposal is to send in batch without checking cached control messages
Select peers to publish
Encode messages to bytes using protobuf, then encode length prefix
Should we add a new api or add a new flag to publish() method? Main thing is not to introduce a breaking change
Does it have any side effect to control messages? Since we have to forward messages very frequently, and we also have heartbeat, I suppose "no" optimistically
The text was updated successfully, but these errors were encountered:
Motivation
There is a missed attestation issue described in ChainSafe/lodestar#4600. When lodestar wants to publish a gossip message, it wants to spread to the network asap
Description
Right now the steps to publish a message are as below:
The proposal is to send in batch without checking cached control messages
Something to consider
publish()
method? Main thing is not to introduce a breaking changeThe text was updated successfully, but these errors were encountered: