routerrpc: create pair data proto message
With a separate proto message, it becomes possible to also return the pair data for a single pair. This prepares for the new mc probability querying rpc.
This commit is contained in:
4 files changed
+204
-145
No files matched your search
@@ -48,9 +48,9 @@ func queryMissionControl(ctx *cli.Context) error {
|
||||
displayPairHistory{
|
||||
NodeFrom: hex.EncodeToString(n.NodeFrom),
|
||||
NodeTo: hex.EncodeToString(n.NodeTo),
|
||||
LastAttemptSuccessful: n.LastAttemptSuccessful,
|
||||
Timestamp: n.Timestamp,
|
||||
MinPenalizeAmtSat: n.MinPenalizeAmtSat,
|
||||
LastAttemptSuccessful: n.History.LastAttemptSuccessful,
|
||||
Timestamp: n.History.Timestamp,
|
||||
MinPenalizeAmtSat: n.History.MinPenalizeAmtSat,
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user