github.com/s7techlab/cckit@v0.10.5/third_party/hyperledger/fabric/peer/chaincode_event.proto (about)

     1  // Copyright the Hyperledger Fabric contributors. All rights reserved.
     2  //
     3  // SPDX-License-Identifier: Apache-2.0
     4  
     5  syntax = "proto3";
     6  
     7  option java_package = "org.hyperledger.fabric.protos.peer";
     8  option java_outer_classname = "ChaincodeEventPackage";
     9  option go_package = "github.com/hyperledger/fabric-protos-go/peer";
    10  
    11  package protos;
    12  
    13  //ChaincodeEvent is used for events and registrations that are specific to chaincode
    14  //string type - "chaincode"
    15  message ChaincodeEvent {
    16      string chaincode_id = 1;
    17      string tx_id = 2;
    18      string event_name = 3;
    19      bytes payload = 4;
    20  }