mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-03 12:46:43 +00:00

* [NOD-1567] Add clone methods to data stores types * [NOD-1567] Fix comments * [NOD-1567] Fix test
13 lines
346 B
Go
13 lines
346 B
Go
package model
|
|
|
|
import "github.com/kaspanet/kaspad/domain/consensus/model/externalapi"
|
|
|
|
// HeaderTipsStore represents a store of the header tips
|
|
type HeaderTipsStore interface {
|
|
Store
|
|
Stage(tips []*externalapi.DomainHash)
|
|
IsStaged() bool
|
|
Tips(dbContext DBReader) ([]*externalapi.DomainHash, error)
|
|
HasTips(dbContext DBReader) (bool, error)
|
|
}
|