Clone proto and substreams from tycho-indexer
This commit is contained in:
20
proto/sf/substreams/v1/clock.proto
Normal file
20
proto/sf/substreams/v1/clock.proto
Normal file
@@ -0,0 +1,20 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package sf.substreams.v1;
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
option go_package = "github.com/streamingfast/substreams/pb/sf/substreams/v1;pbsubstreams";
|
||||
|
||||
// Clock is a pointer to a block with added timestamp
|
||||
message Clock {
|
||||
string id = 1;
|
||||
uint64 number = 2;
|
||||
google.protobuf.Timestamp timestamp = 3;
|
||||
}
|
||||
|
||||
// BlockRef is a pointer to a block to which we don't know the timestamp
|
||||
message BlockRef {
|
||||
string id = 1;
|
||||
uint64 number = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user