package model import ( "github.com/kaspanet/kaspad/domain/consensus/model/externalapi" ) // MergeDepthRootStore represents a store for merge depth roots type MergeDepthRootStore interface { Store IsStaged(stagingArea *StagingArea) bool StageMergeDepthRoot(stagingArea *StagingArea, blockHash *externalapi.DomainHash, root *externalapi.DomainHash) MergeDepthRoot(dbContext DBReader, stagingArea *StagingArea, blockHash *externalapi.DomainHash) (*externalapi.DomainHash, error) }