d67ff30704
And support GetMPTData and MPTData P2P commands.
10 lines
247 B
Go
10 lines
247 B
Go
package blockchainer
|
|
|
|
import "github.com/nspcc-dev/neo-go/pkg/core/block"
|
|
|
|
// Blockqueuer is an interface for blockqueue.
|
|
type Blockqueuer interface {
|
|
AddBlock(block *block.Block) error
|
|
AddHeaders(...*block.Header) error
|
|
BlockHeight() uint32
|
|
}
|