Пример #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);
 }
Пример #2
0
 public SmartMerkleBlock(Height height, MerkleBlock merkleBlock)
 {
     Height      = height;
     MerkleBlock = merkleBlock;
 }
Пример #3
0
 public int CompareTo(SmartMerkleBlock other) => Height.CompareTo(other.Height);