Skip to content

[lightning-listfunds] Missing field #5345

@bubelov

Description

@bubelov

It looks like reserved_to_block field is missing from gRPC mapping:

message ListfundsOutputs {
// ListFunds.outputs[].status
enum ListfundsOutputsStatus {
UNCONFIRMED = 0;
CONFIRMED = 1;
SPENT = 2;
}
bytes txid = 1;
uint32 output = 2;
Amount amount_msat = 3;
bytes scriptpubkey = 4;
optional string address = 5;
optional bytes redeemscript = 6;
ListfundsOutputsStatus status = 7;
bool reserved = 9;
optional uint32 blockheight = 8;
}

Is it intentional? It looks like CLI can return this field under certain conditions:

if (reserved)
json_add_num(response, "reserved_to_block",
utxo->reserved_til);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions