-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add AccountBlock and Account to proto
- Loading branch information
1 parent
af348c9
commit 90030f8
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
syntax = "proto3"; | ||
|
||
option go_package = "github.com/streamingfast/firehose-solana/pb/sf/solana/type/v1;pbsol"; | ||
|
||
package sf.solana.type.v1; | ||
|
||
import "google/protobuf/timestamp.proto"; | ||
|
||
message AccountBlock { | ||
uint64 slot = 1; | ||
string hash = 2; | ||
uint64 parent_slot = 3; | ||
string parent_hash = 4; | ||
google.protobuf.Timestamp timestamp = 6; | ||
repeated Account accounts = 7; | ||
} | ||
|
||
message Account { | ||
bytes address = 1; | ||
bytes owner = 2; | ||
bytes data = 3; | ||
bool deleted = 7; | ||
} |