mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-09-13 13:00:10 +00:00

* Move testGHOSTDagSorter to testutils * Allow overriding managers in consensus, starting with ghostdag * Add test prefix to SetDataDir and SetGHOSTDAGManager Co-authored-by: stasatdaglabs <39559713+stasatdaglabs@users.noreply.github.com>
7 lines
361 B
Go
7 lines
361 B
Go
package consensus
|
|
|
|
import "github.com/kaspanet/kaspad/domain/consensus/model"
|
|
|
|
// GHOSTDAGManagerConstructor is the function signature for a constructor of a type implementing model.GHOSTDAGManager
|
|
type GHOSTDAGManagerConstructor func(model.DBReader, model.DAGTopologyManager, model.GHOSTDAGDataStore, model.BlockHeaderStore, model.KType) model.GHOSTDAGManager
|