Skip to content

Commit

Permalink
Add height matcher to api (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillPamPam authored Nov 10, 2023
1 parent 0d143eb commit 275ba48
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions proto/blockchain.proto
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ message NativeCallItem {
bytes payload = 4;
uint64 nonce = 5;
string request_id = 6;
repeated Matcher matchers = 7;
}

/**
Expand Down Expand Up @@ -196,6 +197,16 @@ message Selector {
bool should_be_forwarded = 100;
}

message Matcher {
oneof matcher_type {
HeightMatcher height_matcher = 1;
}
}

message HeightMatcher {
uint64 height = 1;
}

message LabelSelector {
string name = 1;
repeated string value = 2;
Expand Down

0 comments on commit 275ba48

Please sign in to comment.