Update gRPC API

This commit is contained in:
Nex
2018-10-11 16:30:37 +08:00
parent a36b581741
commit 8bbe9ae173
10 changed files with 2607 additions and 67 deletions

View File

@@ -64,16 +64,18 @@ public final class TransactionLedgerProto {
"on\032a\n\013Transaction\022*\n\004type\030\001 \001(\0162\034.bdchai" +
"n.api.TransactionType\022\014\n\004from\030\002 \001(\014\022\n\n\002t" +
"o\030\003 \001(\014\022\014\n\004data\030\004 \001(\014\"\'\n\027SendTransaction" +
"Response\022\014\n\004hash\030\001 \001(\0142\215\002\n\021TransactionLe" +
"dger\022S\n\014CreateLedger\022 .bdchain.api.Creat" +
"eLedgerRequest\032!.bdchain.api.CreateLedge" +
"rResponse\022E\n\nGetLedgers\022\026.google.protobu" +
"f.Empty\032\037.bdchain.api.GetLedgersResponse" +
"\022\\\n\017SendTransaction\022#.bdchain.api.SendTr" +
"ansactionRequest\032$.bdchain.api.SendTrans" +
"actionResponseBC\n\020bdchain.api.grpcB\026Tran" +
"sactionLedgerProtoP\001Z\025bdchain/api/tx_led" +
"gerb\006proto3"
"Response\022\014\n\004hash\030\001 \001(\0142\332\002\n\021TransactionLe" +
"dger\022K\n\rClientVersion\022\026.google.protobuf." +
"Empty\032\".bdchain.api.ClientVersionRespons" +
"e\022S\n\014CreateLedger\022 .bdchain.api.CreateLe" +
"dgerRequest\032!.bdchain.api.CreateLedgerRe" +
"sponse\022E\n\nGetLedgers\022\026.google.protobuf.E" +
"mpty\032\037.bdchain.api.GetLedgersResponse\022\\\n" +
"\017SendTransaction\022#.bdchain.api.SendTrans" +
"actionRequest\032$.bdchain.api.SendTransact" +
"ionResponseBG\n\020bdchain.api.grpcB\026Transac" +
"tionLedgerProtoP\001Z\031bdchain/api/grpc/txle" +
"dgerb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {