mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-11-29 08:28:50 +00:00
15 lines
523 B
Go
15 lines
523 B
Go
package testapi
|
|
|
|
import (
|
|
"github.com/kaspanet/kaspad/domain/consensus/model"
|
|
"github.com/kaspanet/kaspad/domain/consensus/model/externalapi"
|
|
)
|
|
|
|
// TestConsensusStateManager adds to the main ConsensusStateManager methods required by tests
|
|
type TestConsensusStateManager interface {
|
|
model.ConsensusStateManager
|
|
AddUTXOToMultiset(multiset model.Multiset, entry externalapi.UTXOEntry,
|
|
outpoint *externalapi.DomainOutpoint) error
|
|
ResolveBlockStatus(blockHash *externalapi.DomainHash) (externalapi.BlockStatus, error)
|
|
}
|