• About
  • FAQ
  • Earn Bitcoin while Surfing the net
  • Buy & Sell Crypto on Paxful
Newsletter
Approx Foundation
  • Home
    • Home – Layout 1
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Business
  • Guide
  • Contact Us
No Result
View All Result
  • Home
    • Home – Layout 1
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Business
  • Guide
  • Contact Us
No Result
View All Result
Approx Foundation
No Result
View All Result
Home Bitcoin

lightning network – Force-closure of unknown channel: What do status `Loaded from database` and the state AWAITING_UNILATERAL mean?

Moussa by Moussa
October 14, 2024
in Bitcoin
0
peer discovery – how to obtain the IP addresses of nodes for mining pools?
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter


I noticed that the majority of my lightning payments fail despite increasing the fee. It’s been like this over the last two months.
Investigating this matter, I found an inactive channel in the output of listpeerchannels:

      {
         "peer_id": "03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f",
         "peer_connected": true,
         "reestablished": false,
         "channel_type": {
            "bits": [
               12,
               22,
               46
            ],
            "names": [
               "static_remotekey/even",
               "anchors/even",
               "scid_alias/even"
            ]
         },
         "updates": {
            "local": {
               "htlc_minimum_msat": 1,
               "htlc_maximum_msat": 7549746000,
               "cltv_expiry_delta": 34,
               "fee_base_msat": 1000,
               "fee_proportional_millionths": 10
            }
         },
         "last_stable_connection": 1721499560,
         "state": "AWAITING_UNILATERAL",
         "scratch_txid": "991419d10eb2f1f01596e68eac18dafcb34b24ff7a03e21936a739c4128cd460",
         "last_tx_fee_msat": 2888000,  (my note:  Saturday, 20 July 2024 18:19:20 GMT)
         "lost_state": false,
         "feerate": {
            "perkw": 2276,
            "perkb": 9104
         },
         "direction": 0,
         "channel_id": "881895f720246c99b6d4d9278510d37370344239e2e235f5e61c792ec495ea0e",
         "funding_txid": "0eea95c42e791ce6f535e2e23942347073d3108527d9d4b6996c2420f7951888",
         "funding_outnum": 0,
         "close_to_addr": "bc1pv5jzxk7h60ea3wnk4a92yxjufdyj7689fc936yn0ln5d7q4ykwnsc46cgf",
         "close_to": "51206524235bd7d3f3d8ba76af4aa21a5c4b492f68e54e0b1d126ffce8df02a4b3a7",
         "private": true,
         "opener": "local",
         "alias": {
            "local": "740013x9434280x28179"
         },
         "features": [
            "option_static_remotekey",
            "option_anchors_zero_fee_htlc_tx",
            "option_anchors",
            "option_scid_alias"
         ],
         "funding": {
            "local_funds_msat": 16777215000,
            "remote_funds_msat": 0,
            "pushed_msat": 0
         },
         "to_us_msat": 16777215000,
         "min_to_us_msat": 16777215000,
         "max_to_us_msat": 16777215000,
         "total_msat": 16777215000,
         "fee_base_msat": 1000,
         "fee_proportional_millionths": 10,
         "dust_limit_msat": 546000,
         "max_total_htlc_in_msat": 18446744073709551615,
         "their_reserve_msat": 167772000,
         "our_reserve_msat": 167772000,
         "spendable_msat": 16602238000,
         "receivable_msat": 0,
         "minimum_htlc_in_msat": 0,
         "minimum_htlc_out_msat": 1,
         "maximum_htlc_out_msat": 7549746000,
         "their_to_self_delay": 144,
         "our_to_self_delay": 720,
         "max_accepted_htlcs": 30,
         "state_changes": [
            {
               "timestamp": "2024-07-20T18:20:19.887Z",
               "old_state": "CHANNELD_AWAITING_LOCKIN",
               "new_state": "AWAITING_UNILATERAL",
               "cause": "protocol",
               "message": "channeld: received ERROR channel 881895f720246c99b6d4d9278510d37370344239e2e235f5e61c792ec495ea0e: unknown channel"
            }
         ],
         "status": [
            "Loaded from database"
         ],
         "in_payments_offered": 0,
         "in_offered_msat": 0,
         "in_payments_fulfilled": 0,
         "in_fulfilled_msat": 0,
         "out_payments_offered": 0,
         "out_offered_msat": 0,
         "out_payments_fulfilled": 0,
         "out_fulfilled_msat": 0,
         "htlcs": []
      }

I have no use of this channel and so I tried to close it,
sudo lightning-cli close 881895f720246c99b6d4d9278510d37370344239e2e235f5e61c792ec495ea0e returned

{
   "code": -32602,
   "message": "id: Channel id not found: invalid token (see logs for details)"
}

Over the last months I attempted to benefit from low fees by opening
lightning channels paying 2-3 sats/vbyte in fees. I did it over poor, intermittent connectivity, and
I was frequently shutting down my node while the funding transaction was still unconfirmed.
I have private channels, 6 with ACINQ’s node and 1 with ALLNICE | TORQ.co.
From what I gathered from the values of last_stable_connection and timestamp (of the last state change)
the channel was force-closed before it was locked-in with six confirmations. Yet,
it has been a week since the inactive channel and there
is no history of any transaction involving close_to_addr.

1. What does status Loaded from database mean and why is the channel referred to as unknown?

2. Can it be that my node was flagged by ACINQ node after this force-closure was triggered.
Might this the cause of the failure of my payments?

3. Should I do anything about it? How much sats am I going to loose with this
force-closure?

4. How could I prevent similar issues from happening in the future?



Source link

Related articles

MEXC Returns to TOKEN2049 Singapore as Platinum Sponsor with Interactive Experiences and Industry Conversations

MEXC Returns to TOKEN2049 Singapore as Platinum Sponsor with Interactive Experiences and Industry Conversations

September 25, 2026
Traders Manipulated $8.2M On Polymarket Bitcoin Bets: Study

New York Sues Polymarket, Alleges It Operated Illegally

September 25, 2026
Share76Tweet47

Related Posts

MEXC Returns to TOKEN2049 Singapore as Platinum Sponsor with Interactive Experiences and Industry Conversations

MEXC Returns to TOKEN2049 Singapore as Platinum Sponsor with Interactive Experiences and Industry Conversations

by Moussa
September 25, 2026
0

Mutsamudu, Comoros, September 25, 2026 – MEXC, a pioneer in 0-fee digital asset trading, will return to TOKEN2049 Singapore as...

Traders Manipulated $8.2M On Polymarket Bitcoin Bets: Study

New York Sues Polymarket, Alleges It Operated Illegally

by Moussa
September 25, 2026
0

New York Attorney General Letitia James and Governor Kathy Hochul on Thursday filed a lawsuit against crypto-based prediction market Polymarket,...

KelpDAO Takes Layerzero to Court Over a $292M Bridge Blowup

KelpDAO Takes Layerzero to Court Over a $292M Bridge Blowup

by Moussa
September 25, 2026
0

Key TakeawaysKelp says LayerZero’s bridge released 116,500 rsETH worth about $292 million on April 18.Aave faced $123.7M-$230.1M in estimated bad...

CFTC Reviews Kalshi After $5B in Ether Perp Trades

CFTC Reviews Kalshi After $5B in Ether Perp Trades

by Moussa
September 25, 2026
0

Join Our Telegram channel to stay up to date on breaking news coverage The Commodity Futures Trading Commission is reviewing...

Sellers Send Ripple XRP Below $100Bn Marketcap After Brief Milestone

Sellers Send Ripple XRP Below $100Bn Marketcap After Brief Milestone

by Moussa
September 25, 2026
0

XRP Ripple briefly pushed its market capitalization back above $100Bn on Tuesday, September 22, before profit-taking dragged the token below...

Load More

youssufi.com

sephina.com

[vc_row full_width="stretch_row" parallax="content-moving" vc_row_background="" background_repeat="no-repeat" background_position="center center" footer_scheme="dark" css=".vc_custom_1517813231908{padding-top: 60px !important;padding-bottom: 30px !important;background-color: #191818 !important;background-position: center;background-repeat: no-repeat !important;background-size: cover !important;}" footer_widget_title_color="#fcbf46" footer_button_bg="#fcb11e"][vc_column width="1/4"]

We bring you the latest in Crypto News

[/vc_column][vc_column width="1/4"][vc_wp_categories]
[/vc_column][vc_column width="1/4"][vc_wp_tagcloud taxonomy="post_tag"][/vc_column][vc_column width="1/4"]

Newsletter

[vc_raw_html]JTNDcCUzRSUzQ2RpdiUyMGNsYXNzJTNEJTIydG5wJTIwdG5wLXN1YnNjcmlwdGlvbiUyMiUzRSUwQSUzQ2Zvcm0lMjBtZXRob2QlM0QlMjJwb3N0JTIyJTIwYWN0aW9uJTNEJTIyaHR0cHMlM0ElMkYlMkZhcHByb3gub3JnJTJGJTNGbmElM0RzJTIyJTNFJTBBJTBBJTNDaW5wdXQlMjB0eXBlJTNEJTIyaGlkZGVuJTIyJTIwbmFtZSUzRCUyMm5sYW5nJTIyJTIwdmFsdWUlM0QlMjIlMjIlM0UlM0NkaXYlMjBjbGFzcyUzRCUyMnRucC1maWVsZCUyMHRucC1maWVsZC1maXJzdG5hbWUlMjIlM0UlM0NsYWJlbCUyMGZvciUzRCUyMnRucC0xJTIyJTNFRmlyc3QlMjBuYW1lJTIwb3IlMjBmdWxsJTIwbmFtZSUzQyUyRmxhYmVsJTNFJTBBJTNDaW5wdXQlMjBjbGFzcyUzRCUyMnRucC1uYW1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zQyUyRnAlM0U=[/vc_raw_html][/vc_column][/vc_row]
No Result
View All Result
  • Contact Us
  • Homepages
  • Business
  • Guide

© 2024 APPROX FOUNDATION - The Crypto Currency News