Skip to content

Commit

Permalink
Add refreshed_at and created_at fields to gateway_metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
kurotych committed Nov 12, 2024
1 parent bf91f46 commit bb3b3a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/service/mobile_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ message gateway_metadata {
// The res12 h3 index asserted address of the gateway as a string
// where an unasserted gateway returns an empty string
string location = 2;
// The unix epoch timestamp (in seconds)
// when the data was read from chain and written to the db
uint64 refreshed_at = 3
// The unix epoch timestamp (in seconds)
// when the gateway was first added to the database.
uint64 created_at = 4;
}

message gateway_info {
Expand Down

0 comments on commit bb3b3a4

Please sign in to comment.