mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
[DEV-62] add phantom constructs to blocknode
This commit is contained in:
parent
290161b390
commit
ce7fe1f26e
@ -77,6 +77,21 @@ type blockNode struct {
|
||||
// selectedParent is the selected parent for this node.
|
||||
selectedParent *blockNode
|
||||
|
||||
// children are the all the blocks that refer to this block as a parent
|
||||
Children blockSet
|
||||
|
||||
// DiffChild is the child that UTXODiff will be built from
|
||||
DiffChild *blockNode
|
||||
|
||||
// TODO: Explain shortly what is blues
|
||||
Blues blockSet
|
||||
|
||||
// TODO: Explain shortly what is blue score
|
||||
BlueScore int64
|
||||
|
||||
// The UTXO of the block represented as a diff to the diff child
|
||||
UTXODiff UtxoViewpoint
|
||||
|
||||
// hash is the double sha 256 of the block.
|
||||
hash daghash.Hash
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user