mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-11-29 00:23:14 +00:00
17 lines
577 B
Go
17 lines
577 B
Go
package testapi
|
|
|
|
import (
|
|
"github.com/kaspanet/kaspad/domain/consensus/model"
|
|
"github.com/kaspanet/kaspad/domain/consensus/model/externalapi"
|
|
)
|
|
|
|
// TestReachabilityManager adds to the main ReachabilityManager methods required by tests
|
|
type TestReachabilityManager interface {
|
|
model.ReachabilityManager
|
|
SetReachabilityReindexWindow(reindexWindow uint64)
|
|
SetReachabilityReindexSlack(reindexSlack uint64)
|
|
ReachabilityReindexSlack() uint64
|
|
ValidateIntervals(root *externalapi.DomainHash) error
|
|
GetAllNodes(root *externalapi.DomainHash) ([]*externalapi.DomainHash, error)
|
|
}
|