1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package types import ( "math/big" "github.com/ethereum/go-ethereum/state" "github.com/ethereum/go-ethereum/wire" ) type BlockProcessor interface { Process(*Block) (*big.Int, state.Messages, error) } type Broadcaster interface { Broadcast(wire.MsgType, []interface{}) }