A minimal and compact IBFT 2.0 implementation, written in Go
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package core
|
|
|
|
import "github.com/0xPolygon/go-ibft/messages/proto"
|
|
|
|
// Transport defines an interface
|
|
// the node uses to communicate with other peers
|
|
type Transport interface {
|
|
// Multicast multicasts the message to other peers
|
|
Multicast(message *proto.Message)
|
|
}
|
|
|