Skip to content

Commit

Permalink
Add oldest_block_identifier to NetworkStatusResponse (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-ogrady committed Jun 26, 2020
1 parent 12f2676 commit 3a45ddb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,12 @@ components:
description: |
NetworkStatusResponse contains basic information about the node's
view of a blockchain network.
If a Rosetta implementation prunes historical state, it should
populate the optional `oldest_block_identifier` field with the
oldest block available to query. If this is not populated,
it is assumed that the `genesis_block_identifier` is the oldest
queryable block.
type: object
required:
- current_block_identifier
Expand All @@ -803,6 +809,8 @@ components:
$ref: '#/components/schemas/Timestamp'
genesis_block_identifier:
$ref: '#/components/schemas/BlockIdentifier'
oldest_block_identifier:
$ref: '#/components/schemas/BlockIdentifier'
peers:
type: array
items:
Expand Down

0 comments on commit 3a45ddb

Please sign in to comment.