mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-05 13:46:42 +00:00

* Clean up debug log level and move most/frequent logs to trace level * Change function call traces to trace log level
17 lines
619 B
Go
17 lines
619 B
Go
package consensusstatemanager
|
|
|
|
import (
|
|
"github.com/kaspanet/kaspad/domain/consensus/model"
|
|
"github.com/kaspanet/kaspad/domain/consensus/model/externalapi"
|
|
)
|
|
|
|
func (csm *consensusStateManager) stageDiff(stagingArea *model.StagingArea, blockHash *externalapi.DomainHash,
|
|
utxoDiff externalapi.UTXODiff, utxoDiffChild *externalapi.DomainHash) {
|
|
|
|
log.Tracef("stageDiff start for block %s", blockHash)
|
|
defer log.Tracef("stageDiff end for block %s", blockHash)
|
|
|
|
log.Debugf("Staging block %s as the diff child of %s", utxoDiffChild, blockHash)
|
|
csm.utxoDiffStore.Stage(stagingArea, blockHash, utxoDiff, utxoDiffChild)
|
|
}
|