Skip to content

Commit

Permalink
add Transacstion object
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid committed May 30, 2024
1 parent f41c487 commit 5342d7a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions block-cache-proto/proto/old-faithful.proto
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ message BlockResponse {
uint64 slot = 4;
int64 block_time = 5;
uint64 block_height = 6;
repeated bytes transactions = 7; // serialized old-faithful format
repeated Transaction transactions = 7;
repeated bytes rewards = 8; // serialized old-faithful format
}

Expand All @@ -35,7 +35,12 @@ message TransactionRequest {
}

message TransactionResponse {
bytes transaction = 1; // serialized old-faithful format
Transaction transaction = 1;
uint64 slot = 2;
int64 block_time = 3;
}

message Transaction {
bytes transaction = 1;
bytes meta = 2; // bincode or protobuf
}

0 comments on commit 5342d7a

Please sign in to comment.