Commit 04ac4c6d authored by Ubuntu's avatar Ubuntu

add tx struct

parent 07f4b340
...@@ -10,10 +10,17 @@ import "meta/txchecker/v1/resource.proto"; ...@@ -10,10 +10,17 @@ import "meta/txchecker/v1/resource.proto";
// The standard BatchGet request definition. // The standard BatchGet request definition.
message BatchCheckTxRequest { message BatchCheckTxRequest {
// The ids of the requested shelves. // The ids of the requested shelves.
repeated bytes txs = 1; repeated bytes txs = 1; //with rw and block hash
repeated bytes from = 2; repeated bytes from = 2;
} }
// type TxWithFrom struct {
// From []byte
// RW []byte
// Tx *types.Transaction
// }
// The standard BatchGet response definition. // The standard BatchGet response definition.
message BatchCheckTxResponse { message BatchCheckTxResponse {
// The retrieved shelves. // The retrieved shelves.
......
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