mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-05-23 07:16:47 +00:00

* [NOD-1422] Implement GHOSTDAG * [NOD-1422] Rename bluest->findSelectedParent * [NOD-1422] Remove preallocations from MergeSetBlues and add preallocation in candidateBluesAnticoneSizes * [NOD-1422] Rename blockghostdagdata.go to ghostdag.go
8 lines
229 B
Go
8 lines
229 B
Go
package model
|
|
|
|
// GHOSTDAGManager resolves and manages GHOSTDAG block data
|
|
type GHOSTDAGManager interface {
|
|
GHOSTDAG(blockParents []*DomainHash) (*BlockGHOSTDAGData, error)
|
|
BlockData(blockHash *DomainHash) *BlockGHOSTDAGData
|
|
}
|