package reachabilitymanager import ( "github.com/kaspanet/kaspad/domain/consensus/model" "github.com/kaspanet/kaspad/domain/consensus/model/testapi" ) type testReachabilityManager struct { *reachabilityManager } func (t *testReachabilityManager) ReachabilityReindexSlack() uint64 { return t.reachabilityManager.reindexSlack } func (t *testReachabilityManager) SetReachabilityReindexSlack(reindexSlack uint64) { t.reachabilityManager.reindexSlack = reindexSlack } func (t *testReachabilityManager) SetReachabilityReindexWindow(reindexWindow uint64) { t.reachabilityManager.reindexWindow = reindexWindow } // NewTestReachabilityManager creates an instance of a TestReachabilityManager func NewTestReachabilityManager(manager model.ReachabilityManager) testapi.TestReachabilityManager { return &testReachabilityManager{reachabilityManager: manager.(*reachabilityManager)} }