mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-05 21:56:50 +00:00

* Apply ResolveVirtual diffs to the UTXO index * Add comments Co-authored-by: Ori Newman <>
15 lines
454 B
Go
15 lines
454 B
Go
package externalapi
|
|
|
|
// VirtualChangeSet is auxiliary data returned from ValidateAndInsertBlock and ResolveVirtual
|
|
type VirtualChangeSet struct {
|
|
VirtualSelectedParentChainChanges *SelectedChainPath
|
|
VirtualUTXODiff UTXODiff
|
|
VirtualParents []*DomainHash
|
|
}
|
|
|
|
// SelectedChainPath is a path the of the selected chains between two blocks.
|
|
type SelectedChainPath struct {
|
|
Added []*DomainHash
|
|
Removed []*DomainHash
|
|
}
|