示例#1
0
 public override void WriteToBitcoinBuffer(byte[] buffer, int offset)
 {
     Version.WriteBytes(buffer, offset);
     PreviousBlock.WriteToBitcoinBuffer(buffer, PreviousBlock_Offset(ref offset));
     MerkleRoot.WriteToBitcoinBuffer(buffer, MerkleRoot_Offset(ref offset));
     Timestamp.WriteBytes(buffer, Timestamp_Offset(ref offset));
     Bits.WriteBytes(buffer, Bits_Offset(ref offset));
     Nonce.WriteBytes(buffer, Nonce_Offset(ref offset));
     Transactions.WriteToBitcoinBuffer(buffer, Transactions_Offset(ref offset));
 }
示例#2
0
 public override void WriteToBitcoinBuffer(byte[] buffer, int offset)
 {
     Headers.WriteToBitcoinBuffer(buffer, offset);
 }
 public override void WriteToBitcoinBuffer(byte[] buffer, int offset)
 {
     Inventory.WriteToBitcoinBuffer(buffer, offset);
 }
示例#4
0
 public override void WriteToBitcoinBuffer(byte[] buffer, int offset)
 {
     AddressList.WriteToBitcoinBuffer(buffer, offset);
 }