aboutsummaryrefslogtreecommitdiffstats
path: root/core/types/common.go
blob: 89cb5f498699c7cc717a3f976d9af71f7eebc867 (plain) (blame)
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{})
}