Beispiel #1
0
 public SmartMerkleBlock(int height, Block block, params uint256[] interestedTransactionIds)
 {
     Height      = new Height(height);
     MerkleBlock = interestedTransactionIds == null || interestedTransactionIds.Length == 0 ? block.Filter() : block.Filter(interestedTransactionIds);
 }
Beispiel #2
0
 public SmartMerkleBlock(Height height, MerkleBlock merkleBlock)
 {
     Height      = height;
     MerkleBlock = merkleBlock;
 }
Beispiel #3
0
 public int CompareTo(SmartMerkleBlock other) => Height.CompareTo(other.Height);