Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cmd/derod/rpc/rpc_dero_getinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func GetInfo(ctx context.Context) (result rpc.GetInfo_Result, err error) {
result.Height = chain.Get_Height()
result.StableHeight = chain.Get_Stable_Height()
result.TopoHeight = chain.Load_TOPO_HEIGHT()
result.PrunedHeight = chain.LocatePruneTopo()

{
version, err := chain.ReadBlockSnapshotVersion(chain.Get_Top_ID())
Expand Down
1 change: 1 addition & 0 deletions rpc/daemon_rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ type (
Height int64 `json:"height"`
StableHeight int64 `json:"stableheight"`
TopoHeight int64 `json:"topoheight"`
PrunedHeight int64 `json:"prunedheight"`
Merkle_Balance_TreeHash string `json:"treehash"`
AverageBlockTime50 float32 `json:"averageblocktime50"`
Incoming_connections_count uint64 `json:"incoming_connections_count"`
Expand Down