github.com/turingchain2020/turingchain@v1.1.21/types/proto/push_tx_receipt.proto (about)

     1  syntax = "proto3";
     2  
     3  // import "common.proto";
     4  import "transaction.proto";
     5  
     6  package types;
     7  option go_package = "github.com/turingchain2020/turingchain/types";
     8  
     9  message TxReceipts4SubscribePerBlk {
    10      repeated Transaction tx          = 1;
    11      repeated ReceiptData receiptData = 2;
    12      // repeated KeyValue    KV          = 3;
    13      int64 height       = 4;
    14      bytes blockHash    = 5;
    15      bytes parentHash   = 6;
    16      bytes previousHash = 7;
    17      int32 addDelType   = 8;
    18      int64 seqNum       = 9;
    19  }
    20  
    21  message TxReceipts4Subscribe {
    22      repeated TxReceipts4SubscribePerBlk txReceipts = 1;
    23  }
    24  
    25  message TxHashWithReceiptType {
    26      bytes hash = 1;
    27      int32 ty   = 2;
    28  }
    29  
    30  message TxResultPerBlock {
    31      repeated TxHashWithReceiptType items      = 1;
    32      int64                          height     = 2;
    33      bytes                          blockHash  = 3;
    34      bytes                          parentHash = 4;
    35      int32                          addDelType = 5;
    36      int64                          seqNum     = 6;
    37  }
    38  
    39  message TxResultSeqs {
    40      repeated TxResultPerBlock items = 1;
    41  }