lightning community – Do LND reserve balances overlap with one another in any manner?

0
72


LND 0.16.2-beta

I am wanting on the instructions walletbalance and listchannels (which has output much like pendingchannels). I’ve modified the numbers in these examples.

$ ./lncli walletbalance
{
    "total_balance": "1111111",
    "confirmed_balance": "1111111",
    "unconfirmed_balance": "0",
    "locked_balance": "0",
    "reserved_balance_anchor_chan": "44444",
    "account_balance": {
        "default": {
            "confirmed_balance": "1111111",
            "unconfirmed_balance": "0"
        }
    }
}

Discover that walletbalance returns a discipline referred to as reserved_balance_anchor_chan. The documentation provides this definition:

Anchor channels embrace as much as two particular outputs referred to as anchors which
are used for well timed CPFP fee-bumping of force-closed channels.

However the response from listchannels (which I’ve shortened in an effort to save house) features a separate native reserve quantity for every channel.

$ ./lncli listchannels
{
    "channels": [
        {
            "active": true,
            "capacity": "1111111",
            "local_balance": "555555",
            "remote_balance": "444444",
            "local_chan_reserve_sat": "11111",
            "remote_chan_reserve_sat": "11111",
            "local_constraints": {
                "chan_reserve_sat": "11111",
            },
            "remote_constraints": {
                "chan_reserve_sat": "11111",
            }
        }
    ]
}

Discover the local_chan_reserve_sat discipline. So every channel has its personal reserve stability and the node additionally has this anchor channel with its personal reserve stability.

Do the native channel reserve balances overlap in any respect with the anchor channel reserve stability? In different phrases, if I’ve native channel reserve balances of 11111, 22222 and 33333, and I even have an anchor channel reserve stability of 55555, then is my complete reserve stability 66666 or 122221?

LEAVE A REPLY

Please enter your comment!
Please enter your name here