solana-explorer: add map_filter_transactions module

This commit is contained in:
colindickson
2023-11-01 10:18:13 -04:00
parent 030238e07e
commit 2b104ff1d5
12 changed files with 214 additions and 49 deletions

View File

@@ -1,6 +1,6 @@
syntax = "proto3";
package sol.block_meta.v1;
package sol.block.v1;
message BlockMeta {
uint64 slot = 1;

View File

@@ -1,16 +0,0 @@
syntax = "proto3";
package sol.programs.v1;
message Instructions {
repeated Instruction instructions = 1;
}
message Instruction {
string program_id = 1;
repeated string accounts = 2;
string data = 3;
uint64 slot_number = 4;
string block_hash = 5;
}

View File

@@ -0,0 +1,24 @@
syntax = "proto3";
package sol.transactions.v1;
message Instructions {
repeated Instruction instructions = 1;
}
message Instruction {
string program_id = 1;
repeated string accounts = 2;
string data = 3;
}
message Transactions {
repeated Transaction transactions = 1;
}
message Transaction {
repeated string signatures = 1;
repeated Instruction instructions = 2;
}