2021-07-30 14:29:49 +00:00
|
|
|
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
|
2021-07-30 13:57:42 +00:00
|
|
|
AddHeaders(...*block.Header) error
|
2021-07-30 14:29:49 +00:00
|
|
|
BlockHeight() uint32
|
|
|
|
}
|