mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-24 19:25:21 +00:00
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
|
|
}
|