github.com/algorand/go-algorand-sdk@v1.24.0/client/v2/common/models/node_status_response.go (about)

     1  package models
     2  
     3  // NodeStatusResponse
     4  type NodeStatusResponse struct {
     5  	// Catchpoint the current catchpoint that is being caught up to
     6  	Catchpoint string `json:"catchpoint,omitempty"`
     7  
     8  	// CatchpointAcquiredBlocks the number of blocks that have already been obtained by
     9  	// the node as part of the catchup
    10  	CatchpointAcquiredBlocks uint64 `json:"catchpoint-acquired-blocks,omitempty"`
    11  
    12  	// CatchpointProcessedAccounts the number of accounts from the current catchpoint
    13  	// that have been processed so far as part of the catchup
    14  	CatchpointProcessedAccounts uint64 `json:"catchpoint-processed-accounts,omitempty"`
    15  
    16  	// CatchpointProcessedKvs the number of key-values (KVs) from the current
    17  	// catchpoint that have been processed so far as part of the catchup
    18  	CatchpointProcessedKvs uint64 `json:"catchpoint-processed-kvs,omitempty"`
    19  
    20  	// CatchpointTotalAccounts the total number of accounts included in the current
    21  	// catchpoint
    22  	CatchpointTotalAccounts uint64 `json:"catchpoint-total-accounts,omitempty"`
    23  
    24  	// CatchpointTotalBlocks the total number of blocks that are required to complete
    25  	// the current catchpoint catchup
    26  	CatchpointTotalBlocks uint64 `json:"catchpoint-total-blocks,omitempty"`
    27  
    28  	// CatchpointTotalKvs the total number of key-values (KVs) included in the current
    29  	// catchpoint
    30  	CatchpointTotalKvs uint64 `json:"catchpoint-total-kvs,omitempty"`
    31  
    32  	// CatchpointVerifiedAccounts the number of accounts from the current catchpoint
    33  	// that have been verified so far as part of the catchup
    34  	CatchpointVerifiedAccounts uint64 `json:"catchpoint-verified-accounts,omitempty"`
    35  
    36  	// CatchpointVerifiedKvs the number of key-values (KVs) from the current catchpoint
    37  	// that have been verified so far as part of the catchup
    38  	CatchpointVerifiedKvs uint64 `json:"catchpoint-verified-kvs,omitempty"`
    39  
    40  	// CatchupTime catchupTime in nanoseconds
    41  	CatchupTime uint64 `json:"catchup-time"`
    42  
    43  	// LastCatchpoint the last catchpoint seen by the node
    44  	LastCatchpoint string `json:"last-catchpoint,omitempty"`
    45  
    46  	// LastRound lastRound indicates the last round seen
    47  	LastRound uint64 `json:"last-round"`
    48  
    49  	// LastVersion lastVersion indicates the last consensus version supported
    50  	LastVersion string `json:"last-version"`
    51  
    52  	// NextVersion nextVersion of consensus protocol to use
    53  	NextVersion string `json:"next-version"`
    54  
    55  	// NextVersionRound nextVersionRound is the round at which the next consensus
    56  	// version will apply
    57  	NextVersionRound uint64 `json:"next-version-round"`
    58  
    59  	// NextVersionSupported nextVersionSupported indicates whether the next consensus
    60  	// version is supported by this node
    61  	NextVersionSupported bool `json:"next-version-supported"`
    62  
    63  	// StoppedAtUnsupportedRound stoppedAtUnsupportedRound indicates that the node does
    64  	// not support the new rounds and has stopped making progress
    65  	StoppedAtUnsupportedRound bool `json:"stopped-at-unsupported-round"`
    66  
    67  	// TimeSinceLastRound timeSinceLastRound in nanoseconds
    68  	TimeSinceLastRound uint64 `json:"time-since-last-round"`
    69  }