aboutsummaryrefslogtreecommitdiffstats
path: root/core/types/common.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/types/common.go')
-rw-r--r--core/types/common.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/types/common.go b/core/types/common.go
index ba88b77e1..89cb5f498 100644
--- a/core/types/common.go
+++ b/core/types/common.go
@@ -4,8 +4,13 @@ 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{})
+}