Lightning-Network
閃電:為什麼餘額加起來不等於容量?
我創建了一個帶有兩個節點的全新閃電通道。
"capacity": "1000000"
我用, 但是載入了頻道"local_balance": "999056"
。我知道這"commit_fee": "614"
佔了一些用於關閉頻道的預留座位。但這仍然留下了大約 330 個座位下落不明。這些衛星在哪裡可見?謝謝"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, "private": 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 } } ]
但這仍然留下了大約 330 個座位下落不明
您可能在計算中遺漏了承諾交易中包含的錨輸出。它的值正好是 330 sats。
注意:這個答案之前錯誤地認為這是由於儲備金不是餘額的一部分。它被完全重寫。