last seen inactive chan

This commit is contained in:
boufni95 2025-06-24 15:05:57 +00:00
parent 9f9a66a513
commit 67896c81ec
17 changed files with 162 additions and 27 deletions

View file

@ -475,15 +475,16 @@ type OfferInvoices struct {
Invoices []OfferInvoice `json:"invoices"`
}
type OpenChannel struct {
Active bool `json:"active"`
Capacity int64 `json:"capacity"`
Channel_id string `json:"channel_id"`
Channel_point string `json:"channel_point"`
Label string `json:"label"`
Lifetime int64 `json:"lifetime"`
Local_balance int64 `json:"local_balance"`
Policy *ChannelPolicy `json:"policy"`
Remote_balance int64 `json:"remote_balance"`
Active bool `json:"active"`
Capacity int64 `json:"capacity"`
Channel_id string `json:"channel_id"`
Channel_point string `json:"channel_point"`
Inactive_since_unix int64 `json:"inactive_since_unix"`
Label string `json:"label"`
Lifetime int64 `json:"lifetime"`
Local_balance int64 `json:"local_balance"`
Policy *ChannelPolicy `json:"policy"`
Remote_balance int64 `json:"remote_balance"`
}
type OpenChannelRequest struct {
Close_address string `json:"close_address"`