kaspad/domain/consensus/model/interface_datastructures_multisetstore.go
Ori Newman c59adaa4db
[NOD-1494] Remove transactions from data store delete (#984)
* [NOD-1494] Remove transactions from data store delete

* [NOD-1494] Remove redundant underscores
2020-10-29 18:15:11 +02:00

13 lines
375 B
Go

package model
import "github.com/kaspanet/kaspad/domain/consensus/model/externalapi"
// MultisetStore represents a store of Multisets
type MultisetStore interface {
Store
Stage(blockHash *externalapi.DomainHash, multiset Multiset)
IsStaged() bool
Get(dbContext DBReader, blockHash *externalapi.DomainHash) (Multiset, error)
Delete(blockHash *externalapi.DomainHash)
}