Commit 93d3e7e4 authored by Ubuntu's avatar Ubuntu

grpc mempool EthTransaction, p2p Transaction checkTx CheckTx

parent e8b91379
...@@ -55,7 +55,7 @@ message CheckTx { ...@@ -55,7 +55,7 @@ message CheckTx {
Address from =2; Address from =2;
} }
message transaction{ message Transaction{
bytes rset = 1; bytes rset = 1;
bytes wset = 2; bytes wset = 2;
bytes proof =3; bytes proof =3;
......
...@@ -64,7 +64,7 @@ service NebulaService { ...@@ -64,7 +64,7 @@ service NebulaService {
rpc Sign(SignRequest) returns (SignResponse) {}; rpc Sign(SignRequest) returns (SignResponse) {};
rpc SignTransaction(SignTransactionRequest) returns (SignTransactionResponse) {}; rpc SignTransaction(SignTransactionRequest) returns (SignTransactionResponse) {};
rpc SendTransaction(base.v1.EthTransaction) returns (SendTransactionResponse) {}; rpc SendTransaction(base.v1.EthTransaction) returns (SendTransactionResponse) {};
rpc SendRawTransaction(SendRawTransactionRequest) returns (SendRawTransactionResponse) {}; rpc SendRawTransaction(base.v1.EthTransaction) returns (SendRawTransactionResponse) {};
rpc Call(CallRequest) returns (CallResponse) {}; rpc Call(CallRequest) returns (CallResponse) {};
// filter // filter
......
...@@ -573,7 +573,7 @@ var file_base_v1_resource_proto_rawDesc = []byte{ ...@@ -573,7 +573,7 @@ var file_base_v1_resource_proto_rawDesc = []byte{
0x41, 0x6e, 0x79, 0x52, 0x02, 0x74, 0x78, 0x12, 0x24, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x41, 0x6e, 0x79, 0x52, 0x02, 0x74, 0x78, 0x12, 0x24, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18,
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x22, 0xcc, 0x01, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x22, 0xcc, 0x01,
0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a,
0x04, 0x72, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x72, 0x73, 0x65, 0x04, 0x72, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x72, 0x73, 0x65,
0x74, 0x12, 0x12, 0x0a, 0x04, 0x77, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x77, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52,
0x04, 0x77, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x03, 0x04, 0x77, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x03,
...@@ -620,7 +620,7 @@ var file_base_v1_resource_proto_goTypes = []interface{}{ ...@@ -620,7 +620,7 @@ var file_base_v1_resource_proto_goTypes = []interface{}{
(*EthTransaction)(nil), // 4: base.v1.EthTransaction (*EthTransaction)(nil), // 4: base.v1.EthTransaction
(*Txdata)(nil), // 5: base.v1.Txdata (*Txdata)(nil), // 5: base.v1.Txdata
(*CheckTx)(nil), // 6: base.v1.CheckTx (*CheckTx)(nil), // 6: base.v1.CheckTx
(*Transaction)(nil), // 7: base.v1.transaction (*Transaction)(nil), // 7: base.v1.Transaction
(*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp (*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp
(*anypb.Any)(nil), // 9: google.protobuf.Any (*anypb.Any)(nil), // 9: google.protobuf.Any
} }
...@@ -631,7 +631,7 @@ var file_base_v1_resource_proto_depIdxs = []int32{ ...@@ -631,7 +631,7 @@ var file_base_v1_resource_proto_depIdxs = []int32{
2, // 3: base.v1.Txdata.hash:type_name -> base.v1.Hash 2, // 3: base.v1.Txdata.hash:type_name -> base.v1.Hash
9, // 4: base.v1.CheckTx.tx:type_name -> google.protobuf.Any 9, // 4: base.v1.CheckTx.tx:type_name -> google.protobuf.Any
3, // 5: base.v1.CheckTx.from:type_name -> base.v1.Address 3, // 5: base.v1.CheckTx.from:type_name -> base.v1.Address
6, // 6: base.v1.transaction.check_tx:type_name -> base.v1.CheckTx 6, // 6: base.v1.Transaction.check_tx:type_name -> base.v1.CheckTx
7, // [7:7] is the sub-list for method output_type 7, // [7:7] is the sub-list for method output_type
7, // [7:7] is the sub-list for method input_type 7, // [7:7] is the sub-list for method input_type
7, // [7:7] is the sub-list for extension type_name 7, // [7:7] is the sub-list for extension type_name
......
...@@ -33,7 +33,7 @@ var file_ethrpc_v1_service_proto_rawDesc = []byte{ ...@@ -33,7 +33,7 @@ var file_ethrpc_v1_service_proto_rawDesc = []byte{
0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x61,
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x5f, 0x72, 0x65, 0x73, 0x2e, 0x70, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x5f, 0x72, 0x65, 0x73, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65,
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xa6, 0x1f, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x99, 0x1f, 0x0a,
0x0d, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x39, 0x0d, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x39,
0x0a, 0x04, 0x53, 0x68, 0x61, 0x33, 0x12, 0x16, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x0a, 0x04, 0x53, 0x68, 0x61, 0x33, 0x12, 0x16, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e,
0x76, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x33, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x33, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17,
...@@ -239,64 +239,63 @@ var file_ethrpc_v1_service_proto_rawDesc = []byte{ ...@@ -239,64 +239,63 @@ var file_ethrpc_v1_service_proto_rawDesc = []byte{
0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x22, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x22, 0x2e, 0x65, 0x74, 0x68, 0x72,
0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61,
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
0x63, 0x0a, 0x12, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x61, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x56, 0x0a, 0x12, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x61, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61,
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x61, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x45, 0x74, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x25,
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x65, 0x74, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52,
0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x61, 0x77, 0x54, 0x61, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x39, 0x0a, 0x04, 0x43, 0x61, 0x6c, 0x6c, 0x12,
0x73, 0x65, 0x22, 0x00, 0x12, 0x39, 0x0a, 0x04, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x16, 0x2e, 0x65, 0x16, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6c, 0x6c,
0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x09, 0x4e, 0x65, 0x77, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12,
0x48, 0x0a, 0x09, 0x4e, 0x65, 0x77, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x2e, 0x65, 0x1b, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x46,
0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x65,
0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x46, 0x69, 0x6c, 0x74, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x46, 0x69, 0x6c, 0x74,
0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0e,
0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x4e, 0x65, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x16,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0e, 0x4e, 0x65, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x21, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e,
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x46, 0x69, 0x6c, 0x74, 0x65,
0x70, 0x74, 0x79, 0x1a, 0x21, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x18, 0x50,
0x4e, 0x65, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x18, 0x50, 0x65, 0x6e, 0x64, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a,
0x2b, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x6e, 0x64,
0x69, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x69, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69,
0x6c, 0x74, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a,
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x2b, 0x2e, 0x65, 0x0a, 0x0f, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x46, 0x69, 0x6c, 0x74, 0x65,
0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x72, 0x12, 0x21, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e,
0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71,
0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x0f, 0x55, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x21, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0d, 0x46, 0x69,
0x74, 0x61, 0x6c, 0x6c, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x6c, 0x74, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x65, 0x74,
0x74, 0x1a, 0x22, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x43, 0x68,
0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x65,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0d, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x43,
0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x63, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x12, 0x4b, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x1c,
0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65,
0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x72, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x65,
0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x4c,
0x0a, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x1c, 0x2e, 0x65, 0x74, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x39, 0x0a,
0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x04, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x16, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76,
0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e,
0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x73, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x39, 0x0a, 0x04, 0x4c, 0x6f, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xb5, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d,
0x67, 0x73, 0x12, 0x16, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x2e, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53, 0x65, 0x72, 0x76,
0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x65, 0x74, 0x68, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68,
0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d,
0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xb5, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x74, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
0x68, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65,
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x65, 0x74, 0x68, 0x72, 0x70,
0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x63, 0x2f, 0x76, 0x31, 0x3b, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x76, 0x31, 0xa2, 0x02, 0x03,
0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x45, 0x58, 0x58, 0xaa, 0x02, 0x09, 0x45, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x31, 0xca,
0x74, 0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x02, 0x09, 0x45, 0x74, 0x68, 0x72, 0x70, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x15, 0x45, 0x74,
0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x68, 0x72, 0x70, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64,
0x31, 0x3b, 0x65, 0x74, 0x68, 0x72, 0x70, 0x63, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x45, 0x58, 0x58, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0a, 0x45, 0x74, 0x68, 0x72, 0x70, 0x63, 0x3a, 0x3a, 0x56, 0x31,
0xaa, 0x02, 0x09, 0x45, 0x74, 0x68, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x09, 0x45, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x74, 0x68, 0x72, 0x70, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x15, 0x45, 0x74, 0x68, 0x72, 0x70,
0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
0xea, 0x02, 0x0a, 0x45, 0x74, 0x68, 0x72, 0x70, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var file_ethrpc_v1_service_proto_goTypes = []interface{}{ var file_ethrpc_v1_service_proto_goTypes = []interface{}{
...@@ -328,60 +327,59 @@ var file_ethrpc_v1_service_proto_goTypes = []interface{}{ ...@@ -328,60 +327,59 @@ var file_ethrpc_v1_service_proto_goTypes = []interface{}{
(*SignRequest)(nil), // 25: ethrpc.v1.SignRequest (*SignRequest)(nil), // 25: ethrpc.v1.SignRequest
(*SignTransactionRequest)(nil), // 26: ethrpc.v1.SignTransactionRequest (*SignTransactionRequest)(nil), // 26: ethrpc.v1.SignTransactionRequest
(*v1.EthTransaction)(nil), // 27: base.v1.EthTransaction (*v1.EthTransaction)(nil), // 27: base.v1.EthTransaction
(*SendRawTransactionRequest)(nil), // 28: ethrpc.v1.SendRawTransactionRequest (*CallRequest)(nil), // 28: ethrpc.v1.CallRequest
(*CallRequest)(nil), // 29: ethrpc.v1.CallRequest (*NewFilterRequest)(nil), // 29: ethrpc.v1.NewFilterRequest
(*NewFilterRequest)(nil), // 30: ethrpc.v1.NewFilterRequest (*UninstallFilterRequest)(nil), // 30: ethrpc.v1.UninstallFilterRequest
(*UninstallFilterRequest)(nil), // 31: ethrpc.v1.UninstallFilterRequest (*FilterChangesRequest)(nil), // 31: ethrpc.v1.FilterChangesRequest
(*FilterChangesRequest)(nil), // 32: ethrpc.v1.FilterChangesRequest (*FilterLogsRequest)(nil), // 32: ethrpc.v1.FilterLogsRequest
(*FilterLogsRequest)(nil), // 33: ethrpc.v1.FilterLogsRequest (*LogsRequest)(nil), // 33: ethrpc.v1.LogsRequest
(*LogsRequest)(nil), // 34: ethrpc.v1.LogsRequest (*Sha3Response)(nil), // 34: ethrpc.v1.Sha3Response
(*Sha3Response)(nil), // 35: ethrpc.v1.Sha3Response (*NodeVersionResponse)(nil), // 35: ethrpc.v1.NodeVersionResponse
(*NodeVersionResponse)(nil), // 36: ethrpc.v1.NodeVersionResponse (*NetVersionResponse)(nil), // 36: ethrpc.v1.NetVersionResponse
(*NetVersionResponse)(nil), // 37: ethrpc.v1.NetVersionResponse (*NetPeerCountResponse)(nil), // 37: ethrpc.v1.NetPeerCountResponse
(*NetPeerCountResponse)(nil), // 38: ethrpc.v1.NetPeerCountResponse (*ProtocolVersionResponse)(nil), // 38: ethrpc.v1.ProtocolVersionResponse
(*ProtocolVersionResponse)(nil), // 39: ethrpc.v1.ProtocolVersionResponse (*SyncingResponse)(nil), // 39: ethrpc.v1.SyncingResponse
(*SyncingResponse)(nil), // 40: ethrpc.v1.SyncingResponse (*CoinbaseResponse)(nil), // 40: ethrpc.v1.CoinbaseResponse
(*CoinbaseResponse)(nil), // 41: ethrpc.v1.CoinbaseResponse (*MiningResponse)(nil), // 41: ethrpc.v1.MiningResponse
(*MiningResponse)(nil), // 42: ethrpc.v1.MiningResponse (*HashRateResponse)(nil), // 42: ethrpc.v1.HashRateResponse
(*HashRateResponse)(nil), // 43: ethrpc.v1.HashRateResponse (*AccountsResponse)(nil), // 43: ethrpc.v1.AccountsResponse
(*AccountsResponse)(nil), // 44: ethrpc.v1.AccountsResponse (*GasPriceResponse)(nil), // 44: ethrpc.v1.GasPriceResponse
(*GasPriceResponse)(nil), // 45: ethrpc.v1.GasPriceResponse (*HeightResponse)(nil), // 45: ethrpc.v1.HeightResponse
(*HeightResponse)(nil), // 46: ethrpc.v1.HeightResponse (*BlockByHashResponse)(nil), // 46: ethrpc.v1.BlockByHashResponse
(*BlockByHashResponse)(nil), // 47: ethrpc.v1.BlockByHashResponse (*BlockByNumberResponse)(nil), // 47: ethrpc.v1.BlockByNumberResponse
(*BlockByNumberResponse)(nil), // 48: ethrpc.v1.BlockByNumberResponse (*BlockTransactionCountByHashResponse)(nil), // 48: ethrpc.v1.BlockTransactionCountByHashResponse
(*BlockTransactionCountByHashResponse)(nil), // 49: ethrpc.v1.BlockTransactionCountByHashResponse (*BlockTransactionCountByNumberResponse)(nil), // 49: ethrpc.v1.BlockTransactionCountByNumberResponse
(*BlockTransactionCountByNumberResponse)(nil), // 50: ethrpc.v1.BlockTransactionCountByNumberResponse (*UncleCountByHashResponse)(nil), // 50: ethrpc.v1.UncleCountByHashResponse
(*UncleCountByHashResponse)(nil), // 51: ethrpc.v1.UncleCountByHashResponse (*UncleCountByNumberResponse)(nil), // 51: ethrpc.v1.UncleCountByNumberResponse
(*UncleCountByNumberResponse)(nil), // 52: ethrpc.v1.UncleCountByNumberResponse (*UncleByBlockHashAndIndexResponse)(nil), // 52: ethrpc.v1.UncleByBlockHashAndIndexResponse
(*UncleByBlockHashAndIndexResponse)(nil), // 53: ethrpc.v1.UncleByBlockHashAndIndexResponse (*UncleByBlockNumberAndIndexResponse)(nil), // 53: ethrpc.v1.UncleByBlockNumberAndIndexResponse
(*UncleByBlockNumberAndIndexResponse)(nil), // 54: ethrpc.v1.UncleByBlockNumberAndIndexResponse (*CompilersResponse)(nil), // 54: ethrpc.v1.CompilersResponse
(*CompilersResponse)(nil), // 55: ethrpc.v1.CompilersResponse (*CompileSolidityResponse)(nil), // 55: ethrpc.v1.CompileSolidityResponse
(*CompileSolidityResponse)(nil), // 56: ethrpc.v1.CompileSolidityResponse (*CompileLLLResponse)(nil), // 56: ethrpc.v1.CompileLLLResponse
(*CompileLLLResponse)(nil), // 57: ethrpc.v1.CompileLLLResponse (*CompileSerpentResponse)(nil), // 57: ethrpc.v1.CompileSerpentResponse
(*CompileSerpentResponse)(nil), // 58: ethrpc.v1.CompileSerpentResponse (*EstimateGasResponse)(nil), // 58: ethrpc.v1.EstimateGasResponse
(*EstimateGasResponse)(nil), // 59: ethrpc.v1.EstimateGasResponse (*TransactionByHashResponse)(nil), // 59: ethrpc.v1.TransactionByHashResponse
(*TransactionByHashResponse)(nil), // 60: ethrpc.v1.TransactionByHashResponse (*TransactionByBlockHashAndIndexResponse)(nil), // 60: ethrpc.v1.TransactionByBlockHashAndIndexResponse
(*TransactionByBlockHashAndIndexResponse)(nil), // 61: ethrpc.v1.TransactionByBlockHashAndIndexResponse (*TransactionByBlockNumberAndIndexResponse)(nil), // 61: ethrpc.v1.TransactionByBlockNumberAndIndexResponse
(*TransactionByBlockNumberAndIndexResponse)(nil), // 62: ethrpc.v1.TransactionByBlockNumberAndIndexResponse (*TransactionReceiptResponse)(nil), // 62: ethrpc.v1.TransactionReceiptResponse
(*TransactionReceiptResponse)(nil), // 63: ethrpc.v1.TransactionReceiptResponse (*BalanceResponse)(nil), // 63: ethrpc.v1.BalanceResponse
(*BalanceResponse)(nil), // 64: ethrpc.v1.BalanceResponse (*StorageResponse)(nil), // 64: ethrpc.v1.StorageResponse
(*StorageResponse)(nil), // 65: ethrpc.v1.StorageResponse (*NonceResponse)(nil), // 65: ethrpc.v1.NonceResponse
(*NonceResponse)(nil), // 66: ethrpc.v1.NonceResponse (*RepeatedNonceResponse)(nil), // 66: ethrpc.v1.RepeatedNonceResponse
(*RepeatedNonceResponse)(nil), // 67: ethrpc.v1.RepeatedNonceResponse (*TransactionCountResponse)(nil), // 67: ethrpc.v1.TransactionCountResponse
(*TransactionCountResponse)(nil), // 68: ethrpc.v1.TransactionCountResponse (*GetCodeResponse)(nil), // 68: ethrpc.v1.GetCodeResponse
(*GetCodeResponse)(nil), // 69: ethrpc.v1.GetCodeResponse (*SignResponse)(nil), // 69: ethrpc.v1.SignResponse
(*SignResponse)(nil), // 70: ethrpc.v1.SignResponse (*SignTransactionResponse)(nil), // 70: ethrpc.v1.SignTransactionResponse
(*SignTransactionResponse)(nil), // 71: ethrpc.v1.SignTransactionResponse (*SendTransactionResponse)(nil), // 71: ethrpc.v1.SendTransactionResponse
(*SendTransactionResponse)(nil), // 72: ethrpc.v1.SendTransactionResponse (*SendRawTransactionResponse)(nil), // 72: ethrpc.v1.SendRawTransactionResponse
(*SendRawTransactionResponse)(nil), // 73: ethrpc.v1.SendRawTransactionResponse (*CallResponse)(nil), // 73: ethrpc.v1.CallResponse
(*CallResponse)(nil), // 74: ethrpc.v1.CallResponse (*NewFilterResponse)(nil), // 74: ethrpc.v1.NewFilterResponse
(*NewFilterResponse)(nil), // 75: ethrpc.v1.NewFilterResponse (*NewBlockFilterResponse)(nil), // 75: ethrpc.v1.NewBlockFilterResponse
(*NewBlockFilterResponse)(nil), // 76: ethrpc.v1.NewBlockFilterResponse (*PendingTransactionFilterResponse)(nil), // 76: ethrpc.v1.PendingTransactionFilterResponse
(*PendingTransactionFilterResponse)(nil), // 77: ethrpc.v1.PendingTransactionFilterResponse (*UninstallFilterResponse)(nil), // 77: ethrpc.v1.UninstallFilterResponse
(*UninstallFilterResponse)(nil), // 78: ethrpc.v1.UninstallFilterResponse (*FilterChangesResponse)(nil), // 78: ethrpc.v1.FilterChangesResponse
(*FilterChangesResponse)(nil), // 79: ethrpc.v1.FilterChangesResponse (*FilterLogsResponse)(nil), // 79: ethrpc.v1.FilterLogsResponse
(*FilterLogsResponse)(nil), // 80: ethrpc.v1.FilterLogsResponse (*LogsResponse)(nil), // 80: ethrpc.v1.LogsResponse
(*LogsResponse)(nil), // 81: ethrpc.v1.LogsResponse
} }
var file_ethrpc_v1_service_proto_depIdxs = []int32{ var file_ethrpc_v1_service_proto_depIdxs = []int32{
0, // 0: ethrpc.v1.NebulaService.Sha3:input_type -> ethrpc.v1.Sha3Request 0, // 0: ethrpc.v1.NebulaService.Sha3:input_type -> ethrpc.v1.Sha3Request
...@@ -422,62 +420,62 @@ var file_ethrpc_v1_service_proto_depIdxs = []int32{ ...@@ -422,62 +420,62 @@ var file_ethrpc_v1_service_proto_depIdxs = []int32{
25, // 35: ethrpc.v1.NebulaService.Sign:input_type -> ethrpc.v1.SignRequest 25, // 35: ethrpc.v1.NebulaService.Sign:input_type -> ethrpc.v1.SignRequest
26, // 36: ethrpc.v1.NebulaService.SignTransaction:input_type -> ethrpc.v1.SignTransactionRequest 26, // 36: ethrpc.v1.NebulaService.SignTransaction:input_type -> ethrpc.v1.SignTransactionRequest
27, // 37: ethrpc.v1.NebulaService.SendTransaction:input_type -> base.v1.EthTransaction 27, // 37: ethrpc.v1.NebulaService.SendTransaction:input_type -> base.v1.EthTransaction
28, // 38: ethrpc.v1.NebulaService.SendRawTransaction:input_type -> ethrpc.v1.SendRawTransactionRequest 27, // 38: ethrpc.v1.NebulaService.SendRawTransaction:input_type -> base.v1.EthTransaction
29, // 39: ethrpc.v1.NebulaService.Call:input_type -> ethrpc.v1.CallRequest 28, // 39: ethrpc.v1.NebulaService.Call:input_type -> ethrpc.v1.CallRequest
30, // 40: ethrpc.v1.NebulaService.NewFilter:input_type -> ethrpc.v1.NewFilterRequest 29, // 40: ethrpc.v1.NebulaService.NewFilter:input_type -> ethrpc.v1.NewFilterRequest
1, // 41: ethrpc.v1.NebulaService.NewBlockFilter:input_type -> google.protobuf.Empty 1, // 41: ethrpc.v1.NebulaService.NewBlockFilter:input_type -> google.protobuf.Empty
1, // 42: ethrpc.v1.NebulaService.PendingTransactionFilter:input_type -> google.protobuf.Empty 1, // 42: ethrpc.v1.NebulaService.PendingTransactionFilter:input_type -> google.protobuf.Empty
31, // 43: ethrpc.v1.NebulaService.UninstallFilter:input_type -> ethrpc.v1.UninstallFilterRequest 30, // 43: ethrpc.v1.NebulaService.UninstallFilter:input_type -> ethrpc.v1.UninstallFilterRequest
32, // 44: ethrpc.v1.NebulaService.FilterChanges:input_type -> ethrpc.v1.FilterChangesRequest 31, // 44: ethrpc.v1.NebulaService.FilterChanges:input_type -> ethrpc.v1.FilterChangesRequest
33, // 45: ethrpc.v1.NebulaService.FilterLogs:input_type -> ethrpc.v1.FilterLogsRequest 32, // 45: ethrpc.v1.NebulaService.FilterLogs:input_type -> ethrpc.v1.FilterLogsRequest
34, // 46: ethrpc.v1.NebulaService.Logs:input_type -> ethrpc.v1.LogsRequest 33, // 46: ethrpc.v1.NebulaService.Logs:input_type -> ethrpc.v1.LogsRequest
35, // 47: ethrpc.v1.NebulaService.Sha3:output_type -> ethrpc.v1.Sha3Response 34, // 47: ethrpc.v1.NebulaService.Sha3:output_type -> ethrpc.v1.Sha3Response
36, // 48: ethrpc.v1.NebulaService.NodeVersion:output_type -> ethrpc.v1.NodeVersionResponse 35, // 48: ethrpc.v1.NebulaService.NodeVersion:output_type -> ethrpc.v1.NodeVersionResponse
37, // 49: ethrpc.v1.NebulaService.NetVersion:output_type -> ethrpc.v1.NetVersionResponse 36, // 49: ethrpc.v1.NebulaService.NetVersion:output_type -> ethrpc.v1.NetVersionResponse
38, // 50: ethrpc.v1.NebulaService.NetPeerCount:output_type -> ethrpc.v1.NetPeerCountResponse 37, // 50: ethrpc.v1.NebulaService.NetPeerCount:output_type -> ethrpc.v1.NetPeerCountResponse
39, // 51: ethrpc.v1.NebulaService.ProtocolVersion:output_type -> ethrpc.v1.ProtocolVersionResponse 38, // 51: ethrpc.v1.NebulaService.ProtocolVersion:output_type -> ethrpc.v1.ProtocolVersionResponse
40, // 52: ethrpc.v1.NebulaService.Syncing:output_type -> ethrpc.v1.SyncingResponse 39, // 52: ethrpc.v1.NebulaService.Syncing:output_type -> ethrpc.v1.SyncingResponse
41, // 53: ethrpc.v1.NebulaService.Coinbase:output_type -> ethrpc.v1.CoinbaseResponse 40, // 53: ethrpc.v1.NebulaService.Coinbase:output_type -> ethrpc.v1.CoinbaseResponse
42, // 54: ethrpc.v1.NebulaService.Mining:output_type -> ethrpc.v1.MiningResponse 41, // 54: ethrpc.v1.NebulaService.Mining:output_type -> ethrpc.v1.MiningResponse
43, // 55: ethrpc.v1.NebulaService.HashRate:output_type -> ethrpc.v1.HashRateResponse 42, // 55: ethrpc.v1.NebulaService.HashRate:output_type -> ethrpc.v1.HashRateResponse
44, // 56: ethrpc.v1.NebulaService.Accounts:output_type -> ethrpc.v1.AccountsResponse 43, // 56: ethrpc.v1.NebulaService.Accounts:output_type -> ethrpc.v1.AccountsResponse
45, // 57: ethrpc.v1.NebulaService.GasPrice:output_type -> ethrpc.v1.GasPriceResponse 44, // 57: ethrpc.v1.NebulaService.GasPrice:output_type -> ethrpc.v1.GasPriceResponse
46, // 58: ethrpc.v1.NebulaService.BlockNumber:output_type -> ethrpc.v1.HeightResponse 45, // 58: ethrpc.v1.NebulaService.BlockNumber:output_type -> ethrpc.v1.HeightResponse
47, // 59: ethrpc.v1.NebulaService.BlockByHash:output_type -> ethrpc.v1.BlockByHashResponse 46, // 59: ethrpc.v1.NebulaService.BlockByHash:output_type -> ethrpc.v1.BlockByHashResponse
48, // 60: ethrpc.v1.NebulaService.BlockByNumber:output_type -> ethrpc.v1.BlockByNumberResponse 47, // 60: ethrpc.v1.NebulaService.BlockByNumber:output_type -> ethrpc.v1.BlockByNumberResponse
49, // 61: ethrpc.v1.NebulaService.BlockTransactionCountByHash:output_type -> ethrpc.v1.BlockTransactionCountByHashResponse 48, // 61: ethrpc.v1.NebulaService.BlockTransactionCountByHash:output_type -> ethrpc.v1.BlockTransactionCountByHashResponse
50, // 62: ethrpc.v1.NebulaService.BlockTransactionCountByNumber:output_type -> ethrpc.v1.BlockTransactionCountByNumberResponse 49, // 62: ethrpc.v1.NebulaService.BlockTransactionCountByNumber:output_type -> ethrpc.v1.BlockTransactionCountByNumberResponse
51, // 63: ethrpc.v1.NebulaService.UncleCountByHash:output_type -> ethrpc.v1.UncleCountByHashResponse 50, // 63: ethrpc.v1.NebulaService.UncleCountByHash:output_type -> ethrpc.v1.UncleCountByHashResponse
52, // 64: ethrpc.v1.NebulaService.UncleCountByNumber:output_type -> ethrpc.v1.UncleCountByNumberResponse 51, // 64: ethrpc.v1.NebulaService.UncleCountByNumber:output_type -> ethrpc.v1.UncleCountByNumberResponse
53, // 65: ethrpc.v1.NebulaService.UncleByBlockHashAndIndex:output_type -> ethrpc.v1.UncleByBlockHashAndIndexResponse 52, // 65: ethrpc.v1.NebulaService.UncleByBlockHashAndIndex:output_type -> ethrpc.v1.UncleByBlockHashAndIndexResponse
54, // 66: ethrpc.v1.NebulaService.UncleByBlockNumberAndIndex:output_type -> ethrpc.v1.UncleByBlockNumberAndIndexResponse 53, // 66: ethrpc.v1.NebulaService.UncleByBlockNumberAndIndex:output_type -> ethrpc.v1.UncleByBlockNumberAndIndexResponse
55, // 67: ethrpc.v1.NebulaService.Compilers:output_type -> ethrpc.v1.CompilersResponse 54, // 67: ethrpc.v1.NebulaService.Compilers:output_type -> ethrpc.v1.CompilersResponse
56, // 68: ethrpc.v1.NebulaService.CompileSolidity:output_type -> ethrpc.v1.CompileSolidityResponse 55, // 68: ethrpc.v1.NebulaService.CompileSolidity:output_type -> ethrpc.v1.CompileSolidityResponse
57, // 69: ethrpc.v1.NebulaService.CompileLLL:output_type -> ethrpc.v1.CompileLLLResponse 56, // 69: ethrpc.v1.NebulaService.CompileLLL:output_type -> ethrpc.v1.CompileLLLResponse
58, // 70: ethrpc.v1.NebulaService.CompileSerpent:output_type -> ethrpc.v1.CompileSerpentResponse 57, // 70: ethrpc.v1.NebulaService.CompileSerpent:output_type -> ethrpc.v1.CompileSerpentResponse
59, // 71: ethrpc.v1.NebulaService.EstimateGas:output_type -> ethrpc.v1.EstimateGasResponse 58, // 71: ethrpc.v1.NebulaService.EstimateGas:output_type -> ethrpc.v1.EstimateGasResponse
60, // 72: ethrpc.v1.NebulaService.TransactionByHash:output_type -> ethrpc.v1.TransactionByHashResponse 59, // 72: ethrpc.v1.NebulaService.TransactionByHash:output_type -> ethrpc.v1.TransactionByHashResponse
61, // 73: ethrpc.v1.NebulaService.TransactionByBlockHashAndIndex:output_type -> ethrpc.v1.TransactionByBlockHashAndIndexResponse 60, // 73: ethrpc.v1.NebulaService.TransactionByBlockHashAndIndex:output_type -> ethrpc.v1.TransactionByBlockHashAndIndexResponse
62, // 74: ethrpc.v1.NebulaService.TransactionByBlockNumberAndIndex:output_type -> ethrpc.v1.TransactionByBlockNumberAndIndexResponse 61, // 74: ethrpc.v1.NebulaService.TransactionByBlockNumberAndIndex:output_type -> ethrpc.v1.TransactionByBlockNumberAndIndexResponse
63, // 75: ethrpc.v1.NebulaService.TransactionReceipt:output_type -> ethrpc.v1.TransactionReceiptResponse 62, // 75: ethrpc.v1.NebulaService.TransactionReceipt:output_type -> ethrpc.v1.TransactionReceiptResponse
64, // 76: ethrpc.v1.NebulaService.Balance:output_type -> ethrpc.v1.BalanceResponse 63, // 76: ethrpc.v1.NebulaService.Balance:output_type -> ethrpc.v1.BalanceResponse
65, // 77: ethrpc.v1.NebulaService.Storage:output_type -> ethrpc.v1.StorageResponse 64, // 77: ethrpc.v1.NebulaService.Storage:output_type -> ethrpc.v1.StorageResponse
66, // 78: ethrpc.v1.NebulaService.Nonce:output_type -> ethrpc.v1.NonceResponse 65, // 78: ethrpc.v1.NebulaService.Nonce:output_type -> ethrpc.v1.NonceResponse
67, // 79: ethrpc.v1.NebulaService.RepeatedNonce:output_type -> ethrpc.v1.RepeatedNonceResponse 66, // 79: ethrpc.v1.NebulaService.RepeatedNonce:output_type -> ethrpc.v1.RepeatedNonceResponse
68, // 80: ethrpc.v1.NebulaService.TransactionCount:output_type -> ethrpc.v1.TransactionCountResponse 67, // 80: ethrpc.v1.NebulaService.TransactionCount:output_type -> ethrpc.v1.TransactionCountResponse
69, // 81: ethrpc.v1.NebulaService.GetCode:output_type -> ethrpc.v1.GetCodeResponse 68, // 81: ethrpc.v1.NebulaService.GetCode:output_type -> ethrpc.v1.GetCodeResponse
70, // 82: ethrpc.v1.NebulaService.Sign:output_type -> ethrpc.v1.SignResponse 69, // 82: ethrpc.v1.NebulaService.Sign:output_type -> ethrpc.v1.SignResponse
71, // 83: ethrpc.v1.NebulaService.SignTransaction:output_type -> ethrpc.v1.SignTransactionResponse 70, // 83: ethrpc.v1.NebulaService.SignTransaction:output_type -> ethrpc.v1.SignTransactionResponse
72, // 84: ethrpc.v1.NebulaService.SendTransaction:output_type -> ethrpc.v1.SendTransactionResponse 71, // 84: ethrpc.v1.NebulaService.SendTransaction:output_type -> ethrpc.v1.SendTransactionResponse
73, // 85: ethrpc.v1.NebulaService.SendRawTransaction:output_type -> ethrpc.v1.SendRawTransactionResponse 72, // 85: ethrpc.v1.NebulaService.SendRawTransaction:output_type -> ethrpc.v1.SendRawTransactionResponse
74, // 86: ethrpc.v1.NebulaService.Call:output_type -> ethrpc.v1.CallResponse 73, // 86: ethrpc.v1.NebulaService.Call:output_type -> ethrpc.v1.CallResponse
75, // 87: ethrpc.v1.NebulaService.NewFilter:output_type -> ethrpc.v1.NewFilterResponse 74, // 87: ethrpc.v1.NebulaService.NewFilter:output_type -> ethrpc.v1.NewFilterResponse
76, // 88: ethrpc.v1.NebulaService.NewBlockFilter:output_type -> ethrpc.v1.NewBlockFilterResponse 75, // 88: ethrpc.v1.NebulaService.NewBlockFilter:output_type -> ethrpc.v1.NewBlockFilterResponse
77, // 89: ethrpc.v1.NebulaService.PendingTransactionFilter:output_type -> ethrpc.v1.PendingTransactionFilterResponse 76, // 89: ethrpc.v1.NebulaService.PendingTransactionFilter:output_type -> ethrpc.v1.PendingTransactionFilterResponse
78, // 90: ethrpc.v1.NebulaService.UninstallFilter:output_type -> ethrpc.v1.UninstallFilterResponse 77, // 90: ethrpc.v1.NebulaService.UninstallFilter:output_type -> ethrpc.v1.UninstallFilterResponse
79, // 91: ethrpc.v1.NebulaService.FilterChanges:output_type -> ethrpc.v1.FilterChangesResponse 78, // 91: ethrpc.v1.NebulaService.FilterChanges:output_type -> ethrpc.v1.FilterChangesResponse
80, // 92: ethrpc.v1.NebulaService.FilterLogs:output_type -> ethrpc.v1.FilterLogsResponse 79, // 92: ethrpc.v1.NebulaService.FilterLogs:output_type -> ethrpc.v1.FilterLogsResponse
81, // 93: ethrpc.v1.NebulaService.Logs:output_type -> ethrpc.v1.LogsResponse 80, // 93: ethrpc.v1.NebulaService.Logs:output_type -> ethrpc.v1.LogsResponse
47, // [47:94] is the sub-list for method output_type 47, // [47:94] is the sub-list for method output_type
0, // [0:47] is the sub-list for method input_type 0, // [0:47] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension type_name
......
...@@ -70,7 +70,7 @@ type NebulaServiceClient interface { ...@@ -70,7 +70,7 @@ type NebulaServiceClient interface {
Sign(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error) Sign(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error)
SignTransaction(ctx context.Context, in *SignTransactionRequest, opts ...grpc.CallOption) (*SignTransactionResponse, error) SignTransaction(ctx context.Context, in *SignTransactionRequest, opts ...grpc.CallOption) (*SignTransactionResponse, error)
SendTransaction(ctx context.Context, in *v1.EthTransaction, opts ...grpc.CallOption) (*SendTransactionResponse, error) SendTransaction(ctx context.Context, in *v1.EthTransaction, opts ...grpc.CallOption) (*SendTransactionResponse, error)
SendRawTransaction(ctx context.Context, in *SendRawTransactionRequest, opts ...grpc.CallOption) (*SendRawTransactionResponse, error) SendRawTransaction(ctx context.Context, in *v1.EthTransaction, opts ...grpc.CallOption) (*SendRawTransactionResponse, error)
Call(ctx context.Context, in *CallRequest, opts ...grpc.CallOption) (*CallResponse, error) Call(ctx context.Context, in *CallRequest, opts ...grpc.CallOption) (*CallResponse, error)
// filter // filter
NewFilter(ctx context.Context, in *NewFilterRequest, opts ...grpc.CallOption) (*NewFilterResponse, error) NewFilter(ctx context.Context, in *NewFilterRequest, opts ...grpc.CallOption) (*NewFilterResponse, error)
...@@ -432,7 +432,7 @@ func (c *nebulaServiceClient) SendTransaction(ctx context.Context, in *v1.EthTra ...@@ -432,7 +432,7 @@ func (c *nebulaServiceClient) SendTransaction(ctx context.Context, in *v1.EthTra
return out, nil return out, nil
} }
func (c *nebulaServiceClient) SendRawTransaction(ctx context.Context, in *SendRawTransactionRequest, opts ...grpc.CallOption) (*SendRawTransactionResponse, error) { func (c *nebulaServiceClient) SendRawTransaction(ctx context.Context, in *v1.EthTransaction, opts ...grpc.CallOption) (*SendRawTransactionResponse, error) {
out := new(SendRawTransactionResponse) out := new(SendRawTransactionResponse)
err := c.cc.Invoke(ctx, "/ethrpc.v1.NebulaService/SendRawTransaction", in, out, opts...) err := c.cc.Invoke(ctx, "/ethrpc.v1.NebulaService/SendRawTransaction", in, out, opts...)
if err != nil { if err != nil {
...@@ -563,7 +563,7 @@ type NebulaServiceServer interface { ...@@ -563,7 +563,7 @@ type NebulaServiceServer interface {
Sign(context.Context, *SignRequest) (*SignResponse, error) Sign(context.Context, *SignRequest) (*SignResponse, error)
SignTransaction(context.Context, *SignTransactionRequest) (*SignTransactionResponse, error) SignTransaction(context.Context, *SignTransactionRequest) (*SignTransactionResponse, error)
SendTransaction(context.Context, *v1.EthTransaction) (*SendTransactionResponse, error) SendTransaction(context.Context, *v1.EthTransaction) (*SendTransactionResponse, error)
SendRawTransaction(context.Context, *SendRawTransactionRequest) (*SendRawTransactionResponse, error) SendRawTransaction(context.Context, *v1.EthTransaction) (*SendRawTransactionResponse, error)
Call(context.Context, *CallRequest) (*CallResponse, error) Call(context.Context, *CallRequest) (*CallResponse, error)
// filter // filter
NewFilter(context.Context, *NewFilterRequest) (*NewFilterResponse, error) NewFilter(context.Context, *NewFilterRequest) (*NewFilterResponse, error)
...@@ -694,7 +694,7 @@ func (UnimplementedNebulaServiceServer) SignTransaction(context.Context, *SignTr ...@@ -694,7 +694,7 @@ func (UnimplementedNebulaServiceServer) SignTransaction(context.Context, *SignTr
func (UnimplementedNebulaServiceServer) SendTransaction(context.Context, *v1.EthTransaction) (*SendTransactionResponse, error) { func (UnimplementedNebulaServiceServer) SendTransaction(context.Context, *v1.EthTransaction) (*SendTransactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SendTransaction not implemented") return nil, status.Errorf(codes.Unimplemented, "method SendTransaction not implemented")
} }
func (UnimplementedNebulaServiceServer) SendRawTransaction(context.Context, *SendRawTransactionRequest) (*SendRawTransactionResponse, error) { func (UnimplementedNebulaServiceServer) SendRawTransaction(context.Context, *v1.EthTransaction) (*SendRawTransactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SendRawTransaction not implemented") return nil, status.Errorf(codes.Unimplemented, "method SendRawTransaction not implemented")
} }
func (UnimplementedNebulaServiceServer) Call(context.Context, *CallRequest) (*CallResponse, error) { func (UnimplementedNebulaServiceServer) Call(context.Context, *CallRequest) (*CallResponse, error) {
...@@ -1419,7 +1419,7 @@ func _NebulaService_SendTransaction_Handler(srv interface{}, ctx context.Context ...@@ -1419,7 +1419,7 @@ func _NebulaService_SendTransaction_Handler(srv interface{}, ctx context.Context
} }
func _NebulaService_SendRawTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { func _NebulaService_SendRawTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SendRawTransactionRequest) in := new(v1.EthTransaction)
if err := dec(in); err != nil { if err := dec(in); err != nil {
return nil, err return nil, err
} }
...@@ -1431,7 +1431,7 @@ func _NebulaService_SendRawTransaction_Handler(srv interface{}, ctx context.Cont ...@@ -1431,7 +1431,7 @@ func _NebulaService_SendRawTransaction_Handler(srv interface{}, ctx context.Cont
FullMethod: "/ethrpc.v1.NebulaService/SendRawTransaction", FullMethod: "/ethrpc.v1.NebulaService/SendRawTransaction",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NebulaServiceServer).SendRawTransaction(ctx, req.(*SendRawTransactionRequest)) return srv.(NebulaServiceServer).SendRawTransaction(ctx, req.(*v1.EthTransaction))
} }
return interceptor(ctx, in, info, handler) return interceptor(ctx, in, info, handler)
} }
......
...@@ -130,7 +130,7 @@ type BroadCastTxsRequest struct { ...@@ -130,7 +130,7 @@ type BroadCastTxsRequest struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Txs []*v1.CheckTx `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` Txs []*v1.Transaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
} }
func (x *BroadCastTxsRequest) Reset() { func (x *BroadCastTxsRequest) Reset() {
...@@ -165,7 +165,7 @@ func (*BroadCastTxsRequest) Descriptor() ([]byte, []int) { ...@@ -165,7 +165,7 @@ func (*BroadCastTxsRequest) Descriptor() ([]byte, []int) {
return file_p2p_v1_request_response_proto_rawDescGZIP(), []int{2} return file_p2p_v1_request_response_proto_rawDescGZIP(), []int{2}
} }
func (x *BroadCastTxsRequest) GetTxs() []*v1.CheckTx { func (x *BroadCastTxsRequest) GetTxs() []*v1.Transaction {
if x != nil { if x != nil {
return x.Txs return x.Txs
} }
...@@ -271,8 +271,8 @@ type BatchTxsHashResponse struct { ...@@ -271,8 +271,8 @@ type BatchTxsHashResponse struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
Txs []*v1.CheckTx `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"` Txs []*v1.Transaction `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"`
} }
func (x *BatchTxsHashResponse) Reset() { func (x *BatchTxsHashResponse) Reset() {
...@@ -314,7 +314,7 @@ func (x *BatchTxsHashResponse) GetHash() []byte { ...@@ -314,7 +314,7 @@ func (x *BatchTxsHashResponse) GetHash() []byte {
return nil return nil
} }
func (x *BatchTxsHashResponse) GetTxs() []*v1.CheckTx { func (x *BatchTxsHashResponse) GetTxs() []*v1.Transaction {
if x != nil { if x != nil {
return x.Txs return x.Txs
} }
...@@ -715,61 +715,61 @@ var file_p2p_v1_request_response_proto_rawDesc = []byte{ ...@@ -715,61 +715,61 @@ var file_p2p_v1_request_response_proto_rawDesc = []byte{
0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61,
0x22, 0x2b, 0x0a, 0x11, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x43, 0x61, 0x73, 0x74, 0x52, 0x65, 0x73, 0x22, 0x2b, 0x0a, 0x11, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x43, 0x61, 0x73, 0x74, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x39, 0x0a, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x3d, 0x0a,
0x13, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x43, 0x61, 0x73, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71, 0x13, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x43, 0x61, 0x73, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x03, 0x74, 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x03, 0x74, 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x10, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e,
0x6b, 0x54, 0x78, 0x52, 0x03, 0x74, 0x78, 0x73, 0x22, 0x2e, 0x0a, 0x14, 0x42, 0x72, 0x6f, 0x61, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x03, 0x74, 0x78, 0x73, 0x22, 0x2e, 0x0a, 0x14,
0x64, 0x43, 0x61, 0x73, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x43, 0x61, 0x73, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x73, 0x70,
0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01,
0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x29, 0x0a, 0x13, 0x42, 0x61, 0x74, 0x63, 0x20, 0x03, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x29, 0x0a, 0x13,
0x68, 0x54, 0x78, 0x73, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x61, 0x74, 0x63, 0x68, 0x54, 0x78, 0x73, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x22, 0x52, 0x0a, 0x14, 0x42, 0x61, 0x74, 0x63, 0x68,
0x54, 0x78, 0x73, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68,
0x61, 0x73, 0x68, 0x22, 0x4e, 0x0a, 0x14, 0x42, 0x61, 0x74, 0x63, 0x68, 0x54, 0x78, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, 0x26, 0x0a, 0x03, 0x74, 0x78, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
0x61, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x32, 0x14, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73,
0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x03, 0x74, 0x78, 0x73, 0x22, 0x54, 0x0a, 0x0f, 0x53,
0x22, 0x0a, 0x03, 0x74, 0x78, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x62, 0x65, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2d,
0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, 0x52, 0x03, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15,
0x74, 0x78, 0x73, 0x22, 0x54, 0x0a, 0x0f, 0x53, 0x65, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48,
0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a,
0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74,
0x61, 0x22, 0x2c, 0x0a, 0x10, 0x53, 0x65, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22,
0x75, 0x0a, 0x13, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4d, 0x73, 0x67, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e,
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68,
0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x09, 0x6d, 0x73, 0x67, 0x5f, 0x74, 0x79, 0x70,
0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x2c, 0x0a, 0x10, 0x53, 0x65, 0x6e, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76,
0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x31, 0x2e, 0x50, 0x32, 0x50, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x6d, 0x73,
0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x67, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x30, 0x0a, 0x14, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72,
0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x75, 0x0a, 0x13, 0x53, 0x75, 0x62, 0x73, 0x63, 0x69, 0x62, 0x65, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18,
0x72, 0x69, 0x62, 0x65, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x13, 0x0a, 0x11, 0x4e, 0x65, 0x74, 0x56,
0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x2e, 0x0a,
0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x12, 0x4e, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x09, 0x6d, 0x73, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01,
0x32, 0x12, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x32, 0x50, 0x4d, 0x73, 0x67, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x15, 0x0a,
0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x30, 0x13, 0x4e, 0x65, 0x74, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71,
0x0a, 0x14, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x75, 0x65, 0x73, 0x74, 0x22, 0x35, 0x0a, 0x14, 0x4e, 0x65, 0x74, 0x50, 0x65, 0x65, 0x72, 0x43,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
0x22, 0x13, 0x0a, 0x11, 0x4e, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x52, 0x09, 0x70, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0xa8, 0x01, 0x0a, 0x0a,
0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x2e, 0x0a, 0x12, 0x4e, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x52, 0x65, 0x71, 0x75,
0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x76, 0x65, 0x50, 0x01, 0x5a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43,
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x15, 0x0a, 0x13, 0x4e, 0x65, 0x74, 0x50, 0x65, 0x65, 0x72, 0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65,
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x35, 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f,
0x4e, 0x65, 0x74, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x67, 0x6f, 0x2f, 0x70, 0x32, 0x70, 0x2f, 0x76, 0x31, 0x3b, 0x70, 0x32, 0x70, 0x76, 0x31, 0xa2,
0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x02, 0x03, 0x50, 0x58, 0x58, 0xaa, 0x02, 0x06, 0x50, 0x32, 0x70, 0x2e, 0x56, 0x31, 0xca, 0x02,
0x75, 0x6e, 0x74, 0x42, 0xa8, 0x01, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x06, 0x50, 0x32, 0x70, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x12, 0x50, 0x32, 0x70, 0x5c, 0x56, 0x31,
0x76, 0x31, 0x42, 0x14, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x07, 0x50,
0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x32, 0x70, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d,
0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65,
0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x32, 0x70, 0x2f, 0x76,
0x31, 0x3b, 0x70, 0x32, 0x70, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x50, 0x58, 0x58, 0xaa, 0x02, 0x06,
0x50, 0x32, 0x70, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x06, 0x50, 0x32, 0x70, 0x5c, 0x56, 0x31, 0xe2,
0x02, 0x12, 0x50, 0x32, 0x70, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61,
0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x07, 0x50, 0x32, 0x70, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
...@@ -801,13 +801,13 @@ var file_p2p_v1_request_response_proto_goTypes = []interface{}{ ...@@ -801,13 +801,13 @@ var file_p2p_v1_request_response_proto_goTypes = []interface{}{
(*NetPeerCountRequest)(nil), // 12: p2p.v1.NetPeerCountRequest (*NetPeerCountRequest)(nil), // 12: p2p.v1.NetPeerCountRequest
(*NetPeerCountResponse)(nil), // 13: p2p.v1.NetPeerCountResponse (*NetPeerCountResponse)(nil), // 13: p2p.v1.NetPeerCountResponse
(*MessageHeader)(nil), // 14: p2p.v1.MessageHeader (*MessageHeader)(nil), // 14: p2p.v1.MessageHeader
(*v1.CheckTx)(nil), // 15: base.v1.CheckTx (*v1.Transaction)(nil), // 15: base.v1.Transaction
(P2PMsgType)(0), // 16: p2p.v1.P2PMsgType (P2PMsgType)(0), // 16: p2p.v1.P2PMsgType
} }
var file_p2p_v1_request_response_proto_depIdxs = []int32{ var file_p2p_v1_request_response_proto_depIdxs = []int32{
14, // 0: p2p.v1.BroadCastRequest.header:type_name -> p2p.v1.MessageHeader 14, // 0: p2p.v1.BroadCastRequest.header:type_name -> p2p.v1.MessageHeader
15, // 1: p2p.v1.BroadCastTxsRequest.txs:type_name -> base.v1.CheckTx 15, // 1: p2p.v1.BroadCastTxsRequest.txs:type_name -> base.v1.Transaction
15, // 2: p2p.v1.BatchTxsHashResponse.txs:type_name -> base.v1.CheckTx 15, // 2: p2p.v1.BatchTxsHashResponse.txs:type_name -> base.v1.Transaction
14, // 3: p2p.v1.SendDataRequest.header:type_name -> p2p.v1.MessageHeader 14, // 3: p2p.v1.SendDataRequest.header:type_name -> p2p.v1.MessageHeader
14, // 4: p2p.v1.SubscribeMsgRequest.header:type_name -> p2p.v1.MessageHeader 14, // 4: p2p.v1.SubscribeMsgRequest.header:type_name -> p2p.v1.MessageHeader
16, // 5: p2p.v1.SubscribeMsgRequest.msg_types:type_name -> p2p.v1.P2PMsgType 16, // 5: p2p.v1.SubscribeMsgRequest.msg_types:type_name -> p2p.v1.P2PMsgType
......
...@@ -17,7 +17,7 @@ message BroadCastResponse { ...@@ -17,7 +17,7 @@ message BroadCastResponse {
message BroadCastTxsRequest { message BroadCastTxsRequest {
repeated base.v1.CheckTx txs = 1; repeated base.v1.Transaction txs = 1;
} }
message BroadCastTxsResponse { message BroadCastTxsResponse {
...@@ -33,7 +33,7 @@ message BatchTxsHashRequest{ ...@@ -33,7 +33,7 @@ message BatchTxsHashRequest{
message BatchTxsHashResponse { message BatchTxsHashResponse {
bytes hash = 1; bytes hash = 1;
repeated base.v1.CheckTx txs = 2; repeated base.v1.Transaction txs = 2;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment