diff --git a/cmd/derod/rpc/rpc_dero_getinfo.go b/cmd/derod/rpc/rpc_dero_getinfo.go index 4103e61f..99a15057 100644 --- a/cmd/derod/rpc/rpc_dero_getinfo.go +++ b/cmd/derod/rpc/rpc_dero_getinfo.go @@ -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()) diff --git a/rpc/daemon_rpc.go b/rpc/daemon_rpc.go index d2fae098..aabb8d1f 100644 --- a/rpc/daemon_rpc.go +++ b/rpc/daemon_rpc.go @@ -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"`