Skip to content

Commit

Permalink
add new field to result status
Browse files Browse the repository at this point in the history
  • Loading branch information
danwt committed Jan 9, 2025
1 parent 2a9d5f0 commit 0ea81b6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ type BaseConfig struct { //nolint: maligned
// * boltdb (uses etcd's fork of bolt - github.com/etcd-io/bbolt)
// - EXPERIMENTAL
// - may be faster is some use-cases (random reads - indexer)
// - use boltdb build tag (go build -tags boltdb)
// - use boltdb build tag (go build -tags boltdb
// * rocksdb (uses github.com/tecbot/gorocksdb)
// - EXPERIMENTAL
// - requires gcc
Expand Down
12 changes: 9 additions & 3 deletions rpc/core/types/responses.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,15 @@ type ValidatorInfo struct {

// Node Status
type ResultStatus struct {
NodeInfo p2p.DefaultNodeInfo `json:"node_info"`
SyncInfo SyncInfo `json:"sync_info"`
ValidatorInfo ValidatorInfo `json:"validator_info"`
NodeInfo p2p.DefaultNodeInfo `json:"node_info"`
SyncInfo SyncInfo `json:"sync_info"`
ValidatorInfo ValidatorInfo `json:"validator_info"`
DymensionStatus DymensionStatus `json:"dymension_status,omitempty"`
}

type DymensionStatus struct {
DAPath string `json:"da_path,omitempty"`
RollappParams abci.RollappParams `json:"rollapp_params,omitempty"`
}

// Is TxIndexing enabled
Expand Down

0 comments on commit 0ea81b6

Please sign in to comment.