File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ message Transaction {
9
9
bytes ID = 1 ;
10
10
int64 BlockID = 2 ;
11
11
uint32 Height = 3 ;
12
- string SenderAccountID = 4 ;
13
- string RecipientAccountID = 5 ;
12
+ bytes SenderAccountID = 4 ;
13
+ bytes RecipientAccountID = 5 ;
14
14
uint32 TransactionType = 6 ;
15
15
int64 Fee = 7 ;
16
16
int64 Timestamp = 8 ;
@@ -19,7 +19,18 @@ message Transaction {
19
19
bytes TransactionBodyBytes = 11 ;
20
20
bytes Signature = 12 ;
21
21
//TODO: protobuf only (not reflected in db)
22
+
22
23
// TransactionBody
24
+ oneof TransactionBody {
25
+ EmptyTransactionBody emptyTransactionBody = 13 ;
26
+ SendMoneyTransactionBody sendMoneyTransactionBody = 14 ;
27
+ }
28
+ }
29
+
30
+ message EmptyTransactionBody {}
31
+
32
+ message SendMoneyTransactionBody {
33
+ int64 Amount = 1 ;
23
34
}
24
35
25
36
message GetTransactionRequest {
You can’t perform that action at this time.
0 commit comments