add receives to all with NewReceive

This commit is contained in:
William Banfield
2022-10-28 17:38:37 -04:00
parent ed6ef40568
commit 9aaacd7145
12 changed files with 2593 additions and 0 deletions
+2
View File
@@ -187,6 +187,8 @@ func (memR *Reactor) NewReceive(e p2p.Envelope) {
// broadcasting happens from go routines per peer
}
func (memR *Reactor) Receive(chID byte, peer p2p.Peer, msgBytes []byte) {}
// PeerState describes the state of a peer.
type PeerState interface {
GetHeight() int64