mirror of
https://github.com/kaspanet/kaspad.git
synced 2026-02-26 21:23:15 +00:00
Compare commits
3 Commits
v0.6.3-rc2
...
v0.6.3-dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1f04f30ea7 | ||
|
|
3e4e8d8b6b | ||
|
|
ffe153efa7 |
@@ -317,8 +317,10 @@ func PrepareBlockForTest(dag *BlockDAG, parentHashes []*daghash.Hash, transactio
|
||||
|
||||
timestamp := node.parents.bluest().PastMedianTime(dag)
|
||||
msgBlock.Header = domainmessage.BlockHeader{
|
||||
Version: blockVersion,
|
||||
ParentHashes: parentHashes,
|
||||
Version: blockVersion,
|
||||
|
||||
// We use parents.hashes() and not parentHashes because parents.hashes() is sorted.
|
||||
ParentHashes: parents.hashes(),
|
||||
HashMerkleRoot: hashMerkleTree.Root(),
|
||||
AcceptedIDMerkleRoot: calculatedAccepetedIDMerkleRoot,
|
||||
UTXOCommitment: &calculatedMultisetHash,
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
package standalone
|
||||
|
||||
import (
|
||||
"github.com/kaspanet/kaspad/util/mstime"
|
||||
"sync"
|
||||
|
||||
"github.com/kaspanet/kaspad/network/netadapter/id"
|
||||
"github.com/kaspanet/kaspad/util/mstime"
|
||||
|
||||
"github.com/kaspanet/kaspad/network/protocol/common"
|
||||
|
||||
"github.com/kaspanet/kaspad/network/domainmessage"
|
||||
|
||||
Reference in New Issue
Block a user