Thursday, December 1, 2022
HomeBitcoinLightning: why do not balances add as much as capability?

Lightning: why do not balances add as much as capability?


I’ve created a model new lightning channel with two nodes.

I loaded the channel with "capability": "1000000", however "local_balance": "999056". I do know that "commit_fee": "614" accounts for some reserved sats for channel closing. However that also leaves about 330 sats unaccounted for. The place are these sats seen? Thanks

"channels": [
        {
            "active": true,
            "remote_pubkey": "0340b6591708a3bc385aef0c69e6e618e5e3de0f66d923607f55ea035b71dedd47",
            "channel_point": "6ac2d8f922b0d1f2d5de39d2819777cb8bc40b6d8f6226211bbba34eada55965:1",
            "chan_id": "2582377880184815617",
            "capacity": "1000000",
            "local_balance": "999056",
            "remote_balance": "0",
            "commit_fee": "614",
            "commit_weight": "772",
            "fee_per_kw": "253",
            "unsettled_balance": "0",
            "total_satoshis_sent": "0",
            "total_satoshis_received": "0",
            "num_updates": "0",
            "pending_htlcs": [
            ],
            "csv_delay": 144,
            "non-public": false,
            "initiator": true,
            "chan_status_flags": "ChanStatusDefault",
            "local_chan_reserve_sat": "10000",
            "remote_chan_reserve_sat": "10000",
            "static_remote_key": false,
            "commitment_type": "ANCHORS",
            "lifetime": "24",
            "uptime": "24",
            "close_address": "",
            "push_amount_sat": "0",
            "thaw_height": 0,
            "local_constraints": {
                "csv_delay": 144,
                "chan_reserve_sat": "10000",
                "dust_limit_sat": "573",
                "max_pending_amt_msat": "990000000",
                "min_htlc_msat": "1",
                "max_accepted_htlcs": 483
            },
            "remote_constraints": {
                "csv_delay": 144,
                "chan_reserve_sat": "10000",
                "dust_limit_sat": "573",
                "max_pending_amt_msat": "990000000",
                "min_htlc_msat": "1",
                "max_accepted_htlcs": 483
            }
        }
    ]
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments