Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Channels stuck for months in closing state #206

Open
dannybabbev opened this issue Jul 25, 2019 · 10 comments
Open

Channels stuck for months in closing state #206

dannybabbev opened this issue Jul 25, 2019 · 10 comments
Assignees

Comments

@dannybabbev
Copy link

I have several channels stuck for months in the following state on my Eclair mobile app:
photo_2019-07-25_12-13-35

I have tried changing the phone are restoring the wallet but the funds are still stuck.
Could you help me in getting my money out of those channels please?

Here is the raw channel data:

{
 "nodeId": "03984d92cdc95dfc197c190f8d99af095089ce70e00757920a15625919e2f0dab5",
 "channelId": "2cb5a44f0095d2ac2892147c7c73989f49475569fcbf481739d70dbc528b94e8",
 "state": "CLOSING",
 "data": {
  "$type": "fr.acinq.eclair.channel.DATA_CLOSING",
  "commitments": {
   "localParams": {
    "nodeId": "022c713836cb771318eea649eb1f2ed8b7bd53f9dd01f2e519fed04356c995cbca",
    "channelKeyPath": "m/293540430/1766992528'/431366835'/2029640836",
    "dustLimitSatoshis": "546",
    "maxHtlcValueInFlightMsat": "5000000000",
    "channelReserveSatoshis": "15000",
    "htlcMinimumMsat": "1",
    "toSelfDelay": 2016,
    "maxAcceptedHtlcs": 30,
    "isFunder": true,
    "defaultFinalScriptPubKey": "a9146ec607612bccfc200d4b8f6dbb53bc361f427a2387",
    "globalFeatures": "",
    "localFeatures": "02"
   },
   "remoteParams": {
    "nodeId": "03984d92cdc95dfc197c190f8d99af095089ce70e00757920a15625919e2f0dab5",
    "dustLimitSatoshis": "573",
    "maxHtlcValueInFlightMsat": "1485000000",
    "channelReserveSatoshis": "15000",
    "htlcMinimumMsat": "1000",
    "toSelfDelay": 180,
    "maxAcceptedHtlcs": 483,
    "fundingPubKey": "036840b9b67bdcbaed8c2ad071b555f2d447ad76d81285552a8b63d3cdf30cb0c5",
    "revocationBasepoint": "036bb559b61f6d28de4d6c33c420584888de6c86e5b16d8b0d357b30b36f82e2ad",
    "paymentBasepoint": "028a9d70e99bbc9da8649ac48c70ccaa5ea6196a9c4b067fc5fe2bf6b6961ce9e3",
    "delayedPaymentBasepoint": "027809e2796f96f1b0c8b58a513bdeab6e794b8c6b3c9599c8ef91bae1d905406f",
    "htlcBasepoint": "03124a4348f2af612789cb33deb8827852a07e5f51efcd258d0c256e0e1373a5d6",
    "globalFeatures": "",
    "localFeatures": "82"
   },
   "channelFlags": 0,
   "localCommit": {
    "index": "0",
    "spec": {
     "htlcs": [
      
     ],
     "feeratePerKw": "45000",
     "toLocalMsat": "1500000000",
     "toRemoteMsat": "0"
    },
    "publishableTxs": {
     "commitTx": {
      "$type": "fr.acinq.eclair.transactions.Transactions.CommitTx",
      "input": {
       "outPoint": "2cb5a44f0095d2ac2892147c7c73989f49475569fcbf481739d70dbc528b94e8:0",
       "txOut": {
        "amount": {
         "$type": "fr.acinq.bitcoin.Satoshi",
         "amount": "1500000"
        },
        "publicKeyScript": "002039d8071bbca6edd48a705b24ca342489f273dc3b4aa232a69019893e7d710a47"
       },
       "redeemScript": "522102de259d048e89859175f62950e4ac4ff7303be752d4db5e3a4df09913e20db0cb21036840b9b67bdcbaed8c2ad071b555f2d447ad76d81285552a8b63d3cdf30cb0c552ae"
      },
      "tx": "020000000001012cb5a44f0095d2ac2892147c7c73989f49475569fcbf481739d70dbc528b94e800000000005203d980011c6416000000000022002077a5f24930ca5407ffb761d67bc19df42d053c96bdaf46cdf7394ff2e4e229770400473044022022785356a8890c4980c7991df5f231f3288476ddbeb5cbedd70e33660fceec840220570179552b2741314cc1c0881e1d50d3900f648a032f51f595e60a2b8b69708401483045022100cfbb7339ce0bb71781a5339b5f20e31905e95a793f44642b3e14bbedb2e5c60502200b7b82c28dbf85dd892fbe377bd559581ff401cb0cb137bb65ed9c683d177af90147522102de259d048e89859175f62950e4ac4ff7303be752d4db5e3a4df09913e20db0cb21036840b9b67bdcbaed8c2ad071b555f2d447ad76d81285552a8b63d3cdf30cb0c552ae2bc42a20"
     },
     "htlcTxsAndSigs": [
      
     ]
    }
   },
   "remoteCommit": {
    "index": "0",
    "spec": {
     "htlcs": [
      
     ],
     "feeratePerKw": "45000",
     "toLocalMsat": "0",
     "toRemoteMsat": "1500000000"
    },
    "txid": "4648723a23efaa514e5784f3ccc6aecd52022cc66dc5315dce84a0eb7786d7a7",
    "remotePerCommitmentPoint": "02894426f31b7e89f232c416ff731cdabe778a0a706dac4a9fc07af6493f297d1a"
   },
   "localChanges": {
    "proposed": [
     
    ],
    "signed": [
     
    ],
    "acked": [
     
    ]
   },
   "remoteChanges": {
    "proposed": [
     
    ],
    "acked": [
     
    ],
    "signed": [
     
    ]
   },
   "localNextHtlcId": "0",
   "remoteNextHtlcId": "0",
   "originChannels": [
    
   ],
   "remoteNextCommitInfo": [
    1,
    "0270521f9461b93cefe71dd9cded173bad4b4a9a57a7da583861ae4bb613ac3ae2"
   ],
   "commitInput": {
    "outPoint": "2cb5a44f0095d2ac2892147c7c73989f49475569fcbf481739d70dbc528b94e8:0",
    "txOut": {
"amount": {
      "$type": "fr.acinq.bitcoin.Satoshi",
      "amount": "1500000"
     },
     "publicKeyScript": "002039d8071bbca6edd48a705b24ca342489f273dc3b4aa232a69019893e7d710a47"
    },
    "redeemScript": "522102de259d048e89859175f62950e4ac4ff7303be752d4db5e3a4df09913e20db0cb21036840b9b67bdcbaed8c2ad071b555f2d447ad76d81285552a8b63d3cdf30cb0c552ae"
   },
   "remotePerCommitmentSecrets": {
    "knownHashes": [
     
    ]
   },
   "channelId": "2cb5a44f0095d2ac2892147c7c73989f49475569fcbf481739d70dbc528b94e8"
  },
  "fundingTx": [
   
  ],
  "waitingSince": "1564045791",
  "mutualCloseProposed": [
   
  ],
  "localCommitPublished": [
   {
    "commitTx": "020000000001012cb5a44f0095d2ac2892147c7c73989f49475569fcbf481739d70dbc528b94e800000000005203d980011c6416000000000022002077a5f24930ca5407ffb761d67bc19df42d053c96bdaf46cdf7394ff2e4e229770400473044022022785356a8890c4980c7991df5f231f3288476ddbeb5cbedd70e33660fceec840220570179552b2741314cc1c0881e1d50d3900f648a032f51f595e60a2b8b69708401483045022100cfbb7339ce0bb71781a5339b5f20e31905e95a793f44642b3e14bbedb2e5c60502200b7b82c28dbf85dd892fbe377bd559581ff401cb0cb137bb65ed9c683d177af90147522102de259d048e89859175f62950e4ac4ff7303be752d4db5e3a4df09913e20db0cb21036840b9b67bdcbaed8c2ad071b555f2d447ad76d81285552a8b63d3cdf30cb0c552ae2bc42a20",
    "claimMainDelayedOutputTx": [
     "020000000001018e1a14d3a5034658cd710b8650918bb972d2a65dda95a47a3362b05925e4d0690000000000b400000001fd4c16000000000017a9146ec607612bccfc200d4b8f6dbb53bc361f427a23870347304402206c890b4d823be2b641aec69a61464141d8f640010391207f0496e586b2eafd320220222cfb3030db7fde51613b709c7579d7cccf874b02782ee2543d9cca39dc9c0c01004d6321034575a10b5e08a0a8883e3bb622b498895b4284bc4c870b15b1826695c6b2ccf26702b400b2752103fb5f22f3c2d7a978f64a5c99b2d40362327a92c7d519332522712f5c1691ebea68ac00000000"
    ],
    "htlcSuccessTxs": [
     
    ],
    "htlcTimeoutTxs": [
     
    ],
    "claimHtlcDelayedTxs": [
     
    ],
    "irrevocablySpent": [
     
    ]
   }
  ]
 }
}
{
"nodeId": "027070dc64b8850689b52020571d0e3173ba38cc456501ad1b5d994d6063eb0ec8",
"channelId": "4f59f9b836b6b2bbcb5058bf11886af720d2c1f9834e1ea9472e65b2e3a7c954",
"state": "CLOSING",
"data": {
"$type": "fr.acinq.eclair.channel.DATA_CLOSING",
"commitments": {
"localParams": {
"nodeId": "022c713836cb771318eea649eb1f2ed8b7bd53f9dd01f2e519fed04356c995cbca",
"channelKeyPath": "m/584987934'/1711565090'/623685051/793457003",
"dustLimitSatoshis": "546",
"maxHtlcValueInFlightMsat": "5000000000",
"channelReserveSatoshis": "11000",
"htlcMinimumMsat": "1",
"toSelfDelay": 144,
"maxAcceptedHtlcs": 30,
"isFunder": true,
"defaultFinalScriptPubKey": "a91406675a2b9c764403a1dae0ecaecff04262c1b1af87",
"globalFeatures": "",
"localFeatures": "02"
},
"remoteParams": {
"nodeId": "027070dc64b8850689b52020571d0e3173ba38cc456501ad1b5d994d6063eb0ec8",
"dustLimitSatoshis": "573",
"maxHtlcValueInFlightMsat": "1089000000",
"channelReserveSatoshis": "11000",
"htlcMinimumMsat": "1000",
"toSelfDelay": 144,
"maxAcceptedHtlcs": 483,
"fundingPubKey": "02dc27882b895f48c125bc5d0a4601057c34a895526b61bfb2dc3b6e9054245865",
"revocationBasepoint": "02c8cd19986d4dcce1623a1e4b382fadd1db395e421d5506bac80a9b03dd38a7bb",
"paymentBasepoint": "03485dbf2ab05fd2ca1bfe9bb43e4af7624c641721e12f22615f2f521705f18c74",
"delayedPaymentBasepoint": "02a4f19c1f77ab3521d9e6b41dcffee6841dfc0424f1c983405508e2e069b9f1d6",
"htlcBasepoint": "037d4d71e535b67040f6ce3cdf2b9a211c7637f538353b7fabd5b8ca91f06648ac",
"globalFeatures": "",
"localFeatures": "81"
},
"channelFlags": 0,
"localCommit": {
"index": "54",
"spec": {
"htlcs": [

],
"feeratePerKw": "750",
"toLocalMsat": "503000000",
"toRemoteMsat": "597000000"
},
"publishableTxs": {
"commitTx": {
"$type": "fr.acinq.eclair.transactions.Transactions.CommitTx",
"input": {
"outPoint": "4f59f9b836b6b2bbcb5058bf11886af720d2c1f9834e1ea9472e65b2e3a7c954:0",
"txOut": {
"amount": {
"$type": "fr.acinq.bitcoin.Satoshi",
"amount": "1100000"
},
"publicKeyScript": "0020297bf85daa7a8222cd668a747cc810e5833473f38f747b4e49e672e78f8bb379"
},
"redeemScript": "5221028f896e215ef6c34a13d8a14e7e22a3974ddf54a984ed7776d6996fa083e7abd52102dc27882b895f48c125bc5d0a4601057c34a895526b61bfb2dc3b6e905424586552ae"
},
"tx": "020000000001014f59f9b836b6b2bbcb5058bf11886af720d2c1f9834e1ea9472e65b2e3a7c954000000000049648d8002b9aa0700000000002200200fcd06d4e2a1c9581be698fb1a5f7dc5d4b702c4df1920f0c3049204a019d6e4081c0900000000001600143c1a4bb95776def5b7f492d592ad495365028ebe040047304402203c01b3e768b90a0c4c9adee865d2b11697b02d576de856c676340c8dcd9e934d02205312b6ec17d86119179eff33cb2ed9dc5abd40889ecac96d72c951b5b53a1f2f01483045022100d62d8d9921c8438f32199acdc4ba88bd1adadd8e594eb4b46b0066c6ad3ab3e702205b6becb1324e2258508d1f6abfb807f627a114bd129345d72b831c68479d806f01475221028f896e215ef6c34a13d8a14e7e22a3974ddf54a984ed7776d6996fa083e7abd52102dc27882b895f48c125bc5d0a4601057c34a895526b61bfb2dc3b6e905424586552aedf8ca620"
},
"htlcTxsAndSigs": [

]
}
},
"remoteCommit": {
"index": "55",
"spec": {
"htlcs": [

],
"feeratePerKw": "750",
"toLocalMsat": "597000000",
"toRemoteMsat": "503000000"
},
"txid": "964d6757fc41dba95a7045046f987e46d3cc3185ca8d09923e9a3904e5c46cda",
"remotePerCommitmentPoint": "034d1ff5a26af71356d7c8a612a0714f6589df0fc7a54859e7319b89c9b91a30d3"
},
"localChanges": {
"proposed": [

],
"signed": [
{
"$type": "fr.acinq.eclair.wire.UpdateAddHtlc",
"channelId": "4f59f9b836b6b2bbcb5058bf11886af720d2c1f9834e1ea9472e65b2e3a7c954",
"id": "17",
"amountMsat": "3000000",
"paymentHash": "96aa6ecf6a9d8360c0b66a9a7af7ed6e2313e1436fc74e72c798c2b3ee125bd7",
"cltvExpiry": "562988",
"onionRoutingPacket": "00034861bb4be04b0cb0a81c6beb7003250ab115a828ac7b46788fc8eb6a527279ef3207c26fc5d084cf7308aec4c2cc2432169336aed530818baa7489f7947fbfa5c2c68432da38c569be620f601d38d81f8a3144cb123c3a93ac22c5ea0fa92db18b77e12944f194c558d144bf7ed1dc37bc5c2db00fd68330978d5701769a17fe05d0b5571408702e04f15a7c7e0ec66c5c45ccffba0ddfca0f03b406467ab578cd67cccaf65a92bc65fcdb2f3c85958ec6d2dc1ceccb3cb0482d09740af2716a298426f2e4c9a6b45c85de77d63cfdace3ff796acb3388814cb5b541ec39e272d7f0b59a46dbf7036f436c8a03ee355d0619a02bf7fa015d04fcfebec13bacc74207df6606d0f7df2c6ed30f9c3219818fa7d8980138c81ef4f49c4f74b2c3744c702d1b78319efeaa7d57406b806a7033e9481a9409d70d431ebb01c342ca0e3299ab09b2af21b4bdf74e0a1afef321a7765ff077529d76079bc1bb8bd9b6c53c5e6e0266db37168d5ae12d0c74719b9c326b9cd8548b979659fc4d4cbdb5c11b8449ea349340a101475d5ec068c82cc59c5ec41a9aec64124a111ffffed467fa557af5d14b4b08da0cef30c08eb81903daa29ed249fc2d4bb6d6717e00265b6d52af1281dcd92d7da7de932378c8c715398f9408c326a1867bd16953cb8d90d686068fb30891fe248939a45e259a1b2efc551d006b17bb02c4b3ea0fbefb03a4cc94f140200e7897dad35256cf1f6201d1679c2c867d7fde6ca0c829cee1bc1ab54772e8a4ef2c5b562d7e357ae1828e9998a6fc37faaad104484f06828e327e5a38548056641cd6f26b92e895695454847b120e3d3e4cb4aaf4a16f6709bd0d424f11bc465557fb85207a961eb33a5b66acbdc6804e25d4e5b431aeca667c89c4420e1cb36e691500833b94d126ab33e1cc185dfb7f87005e650a779682c5a0b2ae973a9d593ee9b28d2d9a8baf97934c443634172f9b6c577c8d60f524b22ef27e051b096d500b14e11ca45417ecee6e145b78d5072f44be1f360d911133a753baffa09cd263e08d40a1ed9366d57c186efdbc0e1354fb8e43bdb34e52ee148dec96765fa6dae989baca3149a21d665a644406a193934bde4e7d8d51c34915e50ca8e45549a6f6bed543256e864d45326eeb2d7687d3bd4bccb5f00c5cfb95fd9716fa94db5a68763dfe4cf6721eb01e71da5d37b6e319c67334386c6f363b7dadd22b48480c9ca992fc7c95f4048128b3487ad4ecfb647cf8301ee73dc6a4be62b9f28abf5c20473233b80236fcf8e671e6ee160e6433500d93206c805ccc44e569c27238c3ec0f018925a3885284b504b74284410de7c59f61a3a48a9fb59aaccb04b349d3264d972335c43a61bd2deca3acf342a417f4f94a29f8e023ff4bb4b31c2cc73ef200ed75782a9f08a0dab81a85f8ab8df496cc816bf8a586e2ec255c91bc3fb547736dca89c7d640e5d82afb830d6f2e40f5324e0f0bd2d5e3e0a4895127259df8aa51883a5f588d57d1a0363c66111058278b64ebff99450423f756d5ba9c5e5ac720f5e70a7a163bc81c8cb3c98f30fa436b4ba9da28dd52409cf6d8962d17d4d5c82e284d507563f786d1f8cba5f9213db1ec452a3e54017fa84edd26328f90bad2a133e806c1d7cebd30589927e25b9611f1c06e6f93a02f49398b8d0933819757098f0319f16c63aeb65efaa1e4aa94edeb1990972e5e1c0dc06ba72703a9fc50f885249c304ed47d05c9b799a6fa1093e0563c5006dd4e73cd1cf118dfc4cd3b61a48e824628dfb811bbbd326e482ea5cab1a86313d8d016fcc12d6d8a6cbf36ae0f930cfaf889dfbf57ef317872c4d30718cba751aa75b7510b00c8b633b9517a0331ebd4c765aa107fbcf30a99c5d638be8619ed54e3d4404df693c225b420a09e82f7cdecd028f6"
}
],
"acked": [

]
},
"remoteChanges": {
"proposed": [

],
"acked": [

],
"signed": [

]
},
"localNextHtlcId": "18",
"remoteNextHtlcId": "0",
"originChannels": [
[
"17",
{
"$type": "fr.acinq.eclair.payment.Local",
"id": "00000000-0000-0000-0000-000000000000",
"sender": [

]
}
]
],
"remoteNextCommitInfo": [
0,
{
"nextRemoteCommit": {
"index": "56",
"spec": {
"htlcs": [
{
"direction": "IN",
"add": {
"$type": "fr.acinq.eclair.wire.UpdateAddHtlc",
"channelId": "4f59f9b836b6b2bbcb5058bf11886af720d2c1f9834e1ea9472e65b2e3a7c954",
"id": "17",
"amountMsat": "3000000",
"paymentHash": "96aa6ecf6a9d8360c0b66a9a7af7ed6e2313e1436fc74e72c798c2b3ee125bd7",
"cltvExpiry": "562988",
"onionRoutingPacket": "00034861bb4be04b0cb0a81c6beb7003250ab115a828ac7b46788fc8eb6a527279ef3207c26fc5d084cf7308aec4c2cc2432169336aed530818baa7489f7947fbfa5c2c68432da38c569be620f601d38d81f8a3144cb123c3a93ac22c5ea0fa92db18b77e12944f194c558d144bf7ed1dc37bc5c2db00fd68330978d5701769a17fe05d0b5571408702e04f15a7c7e0ec66c5c45ccffba0ddfca0f03b406467ab578cd67cccaf65a92bc65fcdb2f3c85958ec6d2dc1ceccb3cb0482d09740af2716a298426f2e4c9a6b45c85de77d63cfdace3ff796acb3388814cb5b541ec39e272d7f0b59a46dbf7036f436c8a03ee355d0619a02bf7fa015d04fcfebec13bacc74207df6606d0f7df2c6ed30f9c3219818fa7d8980138c81ef4f49c4f74b2c3744c702d1b78319efeaa7d57406b806a7033e9481a9409d70d431ebb01c342ca0e3299ab09b2af21b4bdf74e0a1afef321a7765ff077529d76079bc1bb8bd9b6c53c5e6e0266db37168d5ae12d0c74719b9c326b9cd8548b979659fc4d4cbdb5c11b8449ea349340a101475d5ec068c82cc59c5ec41a9aec64124a111ffffed467fa557af5d14b4b08da0cef30c08eb81903daa29ed249fc2d4bb6d6717e00265b6d52af1281dcd92d7da7de932378c8c715398f9408c326a1867bd16953cb8d90d686068fb30891fe248939a45e259a1b2efc551d006b17bb02c4b3ea0fbefb03a4cc94f140200e7897dad35256cf1f6201d1679c2c867d7fde6ca0c829cee1bc1ab54772e8a4ef2c5b562d7e357ae1828e9998a6fc37faaad104484f06828e327e5a38548056641cd6f26b92e895695454847b120e3d3e4cb4aaf4a16f6709bd0d424f11bc465557fb85207a961eb33a5b66acbdc6804e25d4e5b431aeca667c89c4420e1cb36e691500833b94d126ab33e1cc185dfb7f87005e650a779682c5a0b2ae973a9d593ee9b28d2d9a8baf97934c443634172f9b6c577c8d60f524b22ef27e051b096d500b14e11ca45417ecee6e145b78d5072f44be1f360d911133a753baffa09cd263e08d40a1ed9366d57c186efdbc0e1354fb8e43bdb34e52ee148dec96765fa6dae989baca3149a21d665a644406a193934bde4e7d8d51c34915e50ca8e45549a6f6bed543256e864d45326eeb2d7687d3bd4bccb5f00c5cfb95fd9716fa94db5a68763dfe4cf6721eb01e71da5d37b6e319c67334386c6f363b7dadd22b48480c9ca992fc7c95f4048128b3487ad4ecfb647cf8301ee73dc6a4be62b9f28abf5c20473233b80236fcf8e671e6ee160e6433500d93206c805ccc44e569c27238c3ec0f018925a3885284b504b74284410de7c59f61a3a48a9fb59aaccb04b349d3264d972335c43a61bd2deca3acf342a417f4f94a29f8e023ff4bb4b31c2cc73ef200ed75782a9f08a0dab81a85f8ab8df496cc816bf8a586e2ec255c91bc3fb547736dca89c7d640e5d82afb830d6f2e40f5324e0f0bd2d5e3e0a4895127259df8aa51883a5f588d57d1a0363c66111058278b64ebff99450423f756d5ba9c5e5ac720f5e70a7a163bc81c8cb3c98f30fa436b4ba9da28dd52409cf6d8962d17d4d5c82e284d507563f786d1f8cba5f9213db1ec452a3e54017fa84edd26328f90bad2a133e806c1d7cebd30589927e25b9611f1c06e6f93a02f49398b8d0933819757098f0319f16c63aeb65efaa1e4aa94edeb1990972e5e1c0dc06ba72703a9fc50f885249c304ed47d05c9b799a6fa1093e0563c5006dd4e73cd1cf118dfc4cd3b61a48e824628dfb811bbbd326e482ea5cab1a86313d8d016fcc12d6d8a6cbf36ae0f930cfaf889dfbf57ef317872c4d30718cba751aa75b7510b00c8b633b9517a0331ebd4c765aa107fbcf30a99c5d638be8619ed54e3d4404df693c225b420a09e82f7cdecd028f6"
}
}
],
"feeratePerKw": "750",
"toLocalMsat": "597000000",
"toRemoteMsat": "500000000"
},
"txid": "272871340964a8a71f5d57098d3173bac27450bd8eafe9a40ece88b62c00e73b",
"remotePerCommitmentPoint": "0318478c02b2b573b82b9ee544e02bbfefa4f3fab13d792689e300c637b358144b"
},
"sent": {
"$type": "fr.acinq.eclair.wire.CommitSig",
"channelId": "4f59f9b836b6b2bbcb5058bf11886af720d2c1f9834e1ea9472e65b2e3a7c954",
"signature": "4c795744cefe108582ca1a4b33bc02e64ba9424807bc92f99d0c041d56818863536c9ea783bb571d80a93b9d63ed2877d05e62145b64dc28ba57cb1482ebcb55",
"htlcSignatures": [
"2a008d2ae321f99bc76b1e777714fa3ceb97067bc70cf06418e21714279731732ac9cd85f495f70e51a7f7cc71f265baf3888d901a4eee7600a89c47927cd1d8"
]
},
"sentAfterLocalCommitIndex": "54"
}
],
"commitInput": {
"outPoint": "4f59f9b836b6b2bbcb5058bf11886af720d2c1f9834e1ea9472e65b2e3a7c954:0",
"txOut": {
"amount": {
"$type": "fr.acinq.bitcoin.Satoshi",
"amount": "1100000"
},
"publicKeyScript": "0020297bf85daa7a8222cd668a747cc810e5833473f38f747b4e49e672e78f8bb379"
},
"redeemScript": "5221028f896e215ef6c34a13d8a14e7e22a3974ddf54a984ed7776d6996fa083e7abd52102dc27882b895f48c125bc5d0a4601057c34a895526b61bfb2dc3b6e905424586552ae"
},
"remotePerCommitmentSecrets": {
"knownHashes": [
[
"-27",
"81a7299b9ab8948bb4dc6371d27aa1fb8c860a19195ff17fd9e7b902061b8085"
],
[
"-3",
"d551ae0ddb3b5f93905ad3c5552f3dd2240046f7991bc8a693a88e13c7289c8b"
],
[
"-55",
"53213a3db915292426f0b332873cb8a8a4c51e6721e85f17303fcb033f46e982"
],
[
"-1",
"319dc6073e23c33f305dfdd30b26205f6513da27bbf79b7b2eede572c34189aa"
],
[
"-13",
"238579d39bb7d278eb6d0813bc2237bc132a81dea590dcc7b921514baae7aa39"
]
],
"lastIndex": [
"281474976710601"
]
},
"channelId": "4f59f9b836b6b2bbcb5058bf11886af720d2c1f9834e1ea9472e65b2e3a7c954"
},
"fundingTx": [

],
"waitingSince": "1564045791",
"mutualCloseProposed": [

],
"localCommitPublished": [
{
"commitTx": "020000000001014f59f9b836b6b2bbcb5058bf11886af720d2c1f9834e1ea9472e65b2e3a7c954000000000049648d8002b9aa0700000000002200200fcd06d4e2a1c9581be698fb1a5f7dc5d4b702c4df1920f0c3049204a019d6e4081c0900000000001600143c1a4bb95776def5b7f492d592ad495365028ebe040047304402203c01b3e768b90a0c4c9adee865d2b11697b02d576de856c676340c8dcd9e934d02205312b6ec17d86119179eff33cb2ed9dc5abd40889ecac96d72c951b5b53a1f2f01483045022100d62d8d9921c8438f32199acdc4ba88bd1adadd8e594eb4b46b0066c6ad3ab3e702205b6becb1324e2258508d1f6abfb807f627a114bd129345d72b831c68479d806f01475221028f896e215ef6c34a13d8a14e7e22a3974ddf54a984ed7776d6996fa083e7abd52102dc27882b895f48c125bc5d0a4601057c34a895526b61bfb2dc3b6e905424586552aedf8ca620",
"claimMainDelayedOutputTx": [
"0200000000010140cfde75eb180191f04a7ff856d8f5f329ed9a9dc04e14a84fce02284c55895a000000000090000000014ba907000000000017a91406675a2b9c764403a1dae0ecaecff04262c1b1af8703483045022100f1d51c8e89cec21d53ed5ec69c0ff8d23c114c381fdbd54a37a0b8149dce571002207bed39e614c55b52c22c05decc12ffb52fec9573e048545e086b6f829dc7fb8901004d632102b84ebe99d9a1a19669db457f14fcafb5e42645c9d94da199968519ca665a0cb267029000b2752103bd58505c256c57741d8447cf8107dfd1dcd560bda0537974a40cd8e0bb03f18268ac00000000"
],
"htlcSuccessTxs": [

],
"htlcTimeoutTxs": [

],
"claimHtlcDelayedTxs": [

],
"irrevocablySpent": [
[
"4f59f9b836b6b2bbcb5058bf11886af720d2c1f9834e1ea9472e65b2e3a7c954:0",
"5a89554c2802ce4fa8144ec09d9aed29f3f5d856f87f4af0910118eb75decf40"
]
]
}
]
}
}
{
"nodeId": "027070dc64b8850689b52020571d0e3173ba38cc456501ad1b5d994d6063eb0ec8",
"channelId": "f6ce019a6caad1c5ff1f5cf9ff824f9210c3efdd52c61f2899338e76d518f09b",
"state": "SYNCING",
"data": {
"$type": "fr.acinq.eclair.channel.DATA_WAIT_FOR_FUNDING_CONFIRMED",
"commitments": {
"localParams": {
"nodeId": "022c713836cb771318eea649eb1f2ed8b7bd53f9dd01f2e519fed04356c995cbca",
"channelKeyPath": "m/2112220603'/131615746/987906363/1257487894'",
"dustLimitSatoshis": "546",
"maxHtlcValueInFlightMsat": "5000000000",
"channelReserveSatoshis": "3000",
"htlcMinimumMsat": "1",
"toSelfDelay": 144,
"maxAcceptedHtlcs": 30,
"isFunder": true,
"defaultFinalScriptPubKey": "a9146ec607612bccfc200d4b8f6dbb53bc361f427a2387",
"globalFeatures": "",
"localFeatures": "02"
},
"remoteParams": {
"nodeId": "027070dc64b8850689b52020571d0e3173ba38cc456501ad1b5d994d6063eb0ec8",
"dustLimitSatoshis": "573",
"maxHtlcValueInFlightMsat": "297000000",
"channelReserveSatoshis": "3000",
"htlcMinimumMsat": "1000",
"toSelfDelay": 144,
"maxAcceptedHtlcs": 483,
"fundingPubKey": "02d2a641c017ea4312d52cfced9c4f37880f985babea98ceb4e7dd7e2184f6bd57",
"revocationBasepoint": "03bd354a860615dedc911942cf57ea61e112292d4afb232e5d219e251f7ab68ecb",
"paymentBasepoint": "0305f5aa0f51a8655f5c49f9c67f9fc839b92efcf788a1eabcbb32be77185c5c67",
"delayedPaymentBasepoint": "033d47ffc68823ffe27709ce77debdefd60c7a197c0d45d1d530120793e3bf0cdf",
"htlcBasepoint": "024f0fad53f32629f0940d79e60292b970dc9df27bc07733c3d6bcc21980b171cb",
"globalFeatures": "",
"localFeatures": "81"
},
"channelFlags": 0,
"localCommit": {
"index": "0",
"spec": {
"htlcs": [

],
"feeratePerKw": "7810",
"toLocalMsat": "300000000",
"toRemoteMsat": "0"
},
"publishableTxs": {
"commitTx": {
"$type": "fr.acinq.eclair.transactions.Transactions.CommitTx",
"input": {
"outPoint": "f6ce019a6caad1c5ff1f5cf9ff824f9210c3efdd52c61f2899338e76d518f09b:0",
"txOut": {
"amount": {
"$type": "fr.acinq.bitcoin.Satoshi",
"amount": "300000"
},
"publicKeyScript": "0020469f4a466bb0be5b7c5b68cf6b99da55b075b7d257733514469b526c7a4ab10f"
},
"redeemScript": "522102d2a641c017ea4312d52cfced9c4f37880f985babea98ceb4e7dd7e2184f6bd572103139b1951ea7f579197d1fbba61d6f2a913e89376ee145c6f586a7987d33b98c752ae"
},
"tx": "02000000000101f6ce019a6caad1c5ff1f5cf9ff824f9210c3efdd52c61f2899338e76d518f09b00000000000c024c8001ca7d040000000000220020e132ba8a797a0855300af47c96eabcf991154a4571eace2f830aa55dba0c560b0400483045022100965ff325ad884db0e32b0dbae3bb31246658d2daa077c2a2d6529f13b42dedfb022013a51aa808bf028adfcc7c79831c0948157a702fe2e3e414d938d2127373e0330147304402200b36697d0dbef3652c05125bb81ebca5e172d30a36576838b5422e7aa5edce3402202d217bed6c9b049059fcb9431098eb21630a5448f30d77d19a505038f0b16eba0147522102d2a641c017ea4312d52cfced9c4f37880f985babea98ceb4e7dd7e2184f6bd572103139b1951ea7f579197d1fbba61d6f2a913e89376ee145c6f586a7987d33b98c752ae7713f020"
},
"htlcTxsAndSigs": [

]
}
},
"remoteCommit": {
"index": "0",
"spec": {
"htlcs": [

],
"feeratePerKw": "7810",
"toLocalMsat": "0",
"toRemoteMsat": "300000000"
},
"txid": "2da37b81d66a3bfa0954d985c40d7bf6bfc9160d8efa658c7c86b6ac283e46e7",
"remotePerCommitmentPoint": "03e32d5b2670400624a02591bedfdedbe19a2aeb70e810d1b3fc481d109197276c"
},
"localChanges": {
"proposed": [

],
"signed": [

],
"acked": [

]
},
"remoteChanges": {
"proposed": [

],
"acked": [

],
"signed": [

]
},
"localNextHtlcId": "0",
"remoteNextHtlcId": "0",
"originChannels": [

],
"remoteNextCommitInfo": [
1,
"02c5d022f1d947a2deb2c5dd211708afb62d6ff3e453237dbfa4696a0667fbdf4a"
],
"commitInput": {
"outPoint": "f6ce019a6caad1c5ff1f5cf9ff824f9210c3efdd52c61f2899338e76d518f09b:0",
"txOut": {
"amount": {
"$type": "fr.acinq.bitcoin.Satoshi",
"amount": "300000"
},
"publicKeyScript": "0020469f4a466bb0be5b7c5b68cf6b99da55b075b7d257733514469b526c7a4ab10f"
},
"redeemScript": "522102d2a641c017ea4312d52cfced9c4f37880f985babea98ceb4e7dd7e2184f6bd572103139b1951ea7f579197d1fbba61d6f2a913e89376ee145c6f586a7987d33b98c752ae"
},
"remotePerCommitmentSecrets": {
"knownHashes": [

]
},
"channelId": "f6ce019a6caad1c5ff1f5cf9ff824f9210c3efdd52c61f2899338e76d518f09b"
},
"fundingTx": [

],
"waitingSince": "1564045791",
"deferred": [

],
"lastSent": [
0,
{
"$type": "fr.acinq.eclair.wire.FundingCreated",
"temporaryChannelId": "d140b3b8eb66c55240dc3e7a4116429f84b02566fb31ab0be43883da222b9059",
"fundingTxid": "f6ce019a6caad1c5ff1f5cf9ff824f9210c3efdd52c61f2899338e76d518f09b",
"fundingOutputIndex": 0,
"signature": "5a9b7dbdfac7249a0c19f58b98201d764827c07998153d9ec56c2ccccef8d25e73b3f4bd8dc8550336e7bebe9f691b668603260a20351d787078f4cab54fe551"
}
]
}
}
@pm47 pm47 self-assigned this Jul 25, 2019
@pm47
Copy link
Member

pm47 commented Jul 25, 2019

Hi, what's the version of your app? Have you started it recently after a long time?

@dannybabbev
Copy link
Author

dannybabbev commented Jul 25, 2019 via email

@pm47
Copy link
Member

pm47 commented Jul 25, 2019

Ok, but what is the current version? Top right three dot menu > About > Current Version

@dannybabbev
Copy link
Author

dannybabbev commented Jul 25, 2019 via email

@pm47
Copy link
Member

pm47 commented Jul 25, 2019

Ok, it may be troubling but none of those channels actually exist: there were issues in the past causing sending of channel funding transactions fail. Recent versions of Eclair Mobile detect that and clean up the zombie channels after a few days. It seems like you have just restarted Eclair after a long time, so you just need to wait a few days and the first two channels will get closed. The third one (in state SYNCING) is stuck because your peer apparently is unresponsive. You should force close it, it will disappear after a few days too.

To double check, you can put your master public key (Menu > Network Info > Master Public Key) in an independent wallet (e.g. Electrum), there won't be any outgoing transactions for these channels.

@pm47
Copy link
Member

pm47 commented Jul 25, 2019

I was wrong, the first channel is indeed unexisting, but the last two aren't. Let me look a little bit more into it.

@pm47
Copy link
Member

pm47 commented Jul 25, 2019

Ok so:

  • channel 2cb5a44f0095d2ac2892147c7c73989f49475569fcbf481739d70dbc528b94e8 to node 03984d92cdc95dfc197c190f8d99af095089ce70e00757920a15625919e2f0dab5: zombie channel, should be cleaned up in 5 days
  • channel 4f59f9b836b6b2bbcb5058bf11886af720d2c1f9834e1ea9472e65b2e3a7c954 to node 027070dc64b8850689b52020571d0e3173ba38cc456501ad1b5d994d6063eb0ec8: actual channel, that got closed on feb 13th, got refunded on feb 17th to your address 32GsnjVVzXDDjLC9sryt33JRAEHTWdkKSJ (funds have been spent since). There is a bug that prevents Eclair Mobile from detecting the refund tx and clean up the channel, but apart from that everything is normal and there is nothing to do.
  • channel f6ce019a6caad1c5ff1f5cf9ff824f9210c3efdd52c61f2899338e76d518f09b to node 027070dc64b8850689b52020571d0e3173ba38cc456501ad1b5d994d6063eb0ec8: peer is unresponsive, you should force close the channel and will be refunded for 300000 sat after 144 blocks (~1 day).

pm47 added a commit to ACINQ/eclair that referenced this issue Jul 25, 2019
Follow up to #1082.

The goal is to be able to publish transactions only after we have
persisted the state. Otherwise we may run into corner cases like [1]
where a refund tx has been published, but we haven't kept track of it
and generate a different one (with different fees) the next time.

As a side effect, we can now remove the special case that we were
doing when publishing the funding tx, and remove the `store` function.

NB: the new `calling` transition method isn't restricted to publishing
transactions but that is the only use case for now.

[1] ACINQ/eclair-mobile#206
pm47 added a commit to ACINQ/eclair that referenced this issue Aug 26, 2019
Follow up to #1082.

The goal is to be able to publish transactions only after we have
persisted the state. Otherwise we may run into corner cases like [1]
where a refund tx has been published, but we haven't kept track of it
and generate a different one (with different fees) the next time.

As a side effect, we can now remove the special case that we were
doing when publishing the funding tx, and remove the `store` function.

NB: the new `calling` transition method isn't restricted to publishing
transactions but that is the only use case for now.

[1] ACINQ/eclair-mobile#206
@maflcko
Copy link
Contributor

maflcko commented Sep 19, 2019

Is this still an issue?

sstone added a commit to ACINQ/eclair that referenced this issue Oct 8, 2019
* Update list of commands in eclair-cli help (#1091)

* Add missing API endpoints to eclair-cli help

* Documentation update (#1092)

* Typed amounts (#1088)

* Route computation: fix fee check (#1101)

Fee check during route computation is:
- fee is below maximum value
- OR fee is below amout * maximum percentage

The second check was buggy and route computation would failed when fees we above maximum value but below maximum percentage of amount being paid.

* Publish transactions during transitions (#1089)

Follow up to #1082.

The goal is to be able to publish transactions only after we have
persisted the state. Otherwise we may run into corner cases like [1]
where a refund tx has been published, but we haven't kept track of it
and generate a different one (with different fees) the next time.

As a side effect, we can now remove the special case that we were
doing when publishing the funding tx, and remove the `store` function.

NB: the new `calling` transition method isn't restricted to publishing
transactions but that is the only use case for now.

[1] ACINQ/eclair-mobile#206

* Typed cltv expiry (#1104)

Untyped cltv expiry was confusing: delta and absolute expiries really need to be handled differently.
Even variable names were sometimes misleading.
Now the compiler will help us catch errors early.

* Extended queries optional (#899)

This is the implementation of lightning/bolts#557.

* Correctly handle multiple channel_range_replies

The scheme we use to keep tracks of channel queries with each peer would forget about
missing data when several channel_range_replies are sent back for a single channel_range_queries.

* RoutingSync: remove peer entry properly

* Remove peer entry on our sync map only when we've received
a `reply_short_channel_ids_end` message.
* Make routing sync test more explicit

* Do not send channel queries if we don't want to sync

* Router: clean our sync state when we (re)connect to a peer

We must clean up leftovers for the previous session and start the sync process again.

* Router: reset sync state on reconnection

When we're reconnected to a peer we will start a new sync process and should reset our sync
state with that peer.

* Extended Queries: use TLV format for optional data

Optional query extensions now use TLV instead of a custom format.
Flags are encoded as varint instead of bytes as originally proposed. With the current proposal they will all fit on a single byte, but will be
much easier to extends this way.

* TLV Stream: Implement a generic "get" method for TLV fields

If a have a TLV stream of type MyTLV which is a subtype of TLV, and MyTLV1 and MYTLV2 are both
subtypes of MyTLV then we can use stream.get[MyTLV1] to get the TLV record of type MYTLV1 (if any)
in our TLV stream.

* Channel range queries: send back node announcements if requested (#1108)

This PR adds support for sending back node announcements when replying to channel range queries:
- when explicitly requested (bit is set in the optional query flag)
- when query flags are not used and a channel announcement is sent (as per the BOLTs)

A new configuration option `request-node-announcements` has been added in the `router` section. If set to true, we
will request node announcements when we receive a channel id (through channel range queries) that we don't know of.
This is a setting that we will probably turn off on mobile devices.

* Rework router data structures (#902)

Instead of using two separate maps (for channels and channel_updates), we now use a single map, which groups channel+channel_updates. This is also true for data storage, resulting in the removal of the channel_updates table.

* Add more numeric utilities to MilliSatoshi (#1103)

Add comparisons and postfix operators.
Update most of the codebase to leverage those.

* Use unsigned comparison for 'maxHtlcValueInFlightMsat' (#1105)

* Add a sync whitelist (#954)

We will only sync with whilelisted peer. If the whitelist is empty then
we sync with everyone.

* Move http APIs to subproject eclair-node (#1102)

* Fix regression in `Commitments.availableForSend` (#1107)

We must consider `nextRemoteCommit` when applicable.

This is a regression caused in #784. The core bug only exists when we
have a pending unacked `commit_sig`, but since we only send the
`AvailableBalanceChanged` event when sending a signature (not when
receiving a revocation), actors relying on this event to know the
current available balance (e.g. the `Relayer`) will have a wrong
value in-between two outgoing sigs.

* Bolt4: remove final_expiry_too_soon error message (#1106)

It allowed probing attacks and the spec deprecated it in favor of IncorrectOrUnknownPaymentDetails.
Also add better support for unknown failure messages.

* Fix maven mirror (#1120)

* Use Long to back the UInt64 type (#1109)

* Define comparison operators between UInt64 and MilliSatoshi

* Implement Bolt 11 invoice feature bits (#1121)

lightning/bolts#656 introduced invoice feature bits as a pre-requisite for AMP and other advanced payment use-cases.

* Update docker build (#1123)

* Update docker base image to jdk11, update maven to 3.6.2 [ci skip]

* Reject expired invoices before payment flow starts (#1117)

* Made sync params configurable (#1124)

This allows us to choose smaller parameters for tests and reduce cpu
requirement during testing.

NB: The default value of 3500 for `reply_channel_range` was wrong. Theoretical max is ~2700.

* Activate support for variable-length onion (#1087)

This is now enabled by default.
We forward variable-length onions if we receive some.
We accept variable-length payments.
However for maximum compatibility with the network, we send payments using legacy payloads.

* Add Semaphore CI (#1125)

* Router computes network stats (#1116)

* Add comments and fix warnings in graph processing
* Add small feature to set the htlcMaximumMsat for routing hints (otherwise the graph processing algorithm used a minimum value which slightly reduced the benefits of those routing hints)
* Add the computation of network statistics to the router: this will be useful for multi-part payments to decide what thresholds should be used to split a payment

* Add monitoring with Kamon (disabled by default) (#1126)

For now:
- we only track some tasks (especially in the router, but not even
`node_announcement` and `channel_update`
- all db calls are monitored
- kamon is disabled by default

* Check funds in millisatoshi when sending/receiving an HTLC (#1128)

Instead of satoshi, which could introduce rounding errors.

Also, we check first the balance before the max-inflight amount, because
it makes more sense in terms of error management.

Co-Authored-By: Bastien Teinturier <[email protected]>

* Don't hardcode the channel version (#1129)

Instead of hardcoding the channel version when we instantiate the
`Commitments` object, we rather define it when the channel is
instantiated. This is saner and prepares future usage.

* Removed Globals class (#1127)

This is a prerequisite to parallelization of tests.

* Make tests run in parallel (#1112)

There are two level of parallelization:
- between test suites (a suite = a test file)
- within a suite (depends on tests suites, some rely on sequential execution of tests, some don't)

* Add codecov integration to semaphore CI (#1134)

* Remove codecov integration from travis CI

* Drop support for Java 8 (#1135)

We already have Java 7 (for Android) and Java 11. Supporting Java 8
would require crossbuilding, which we are not doing (two recent PRs
broke the build on Java 8).

* Sphinx: accept invalid downstream errors (#1137)

When a downstream node sends us an onion error with an invalid length, we must forward the failure.
The recipient won't be able to extract the error but at least it knows the payment failed.

* Update string to match on bitcoind while it's indexing (#1138)

* Check for bitcoind's getrawtransaction availablilty during startup

* Peer: disable kamon

* Payment lifecycle refactoring (#1130)

* Unify payment events (no more duplication between payment types and events)
* Factorize DB and eventStream interactions: this paves the way for sub-payments that shouldn't be stored in the DB nor emit events.
* Add more fields to the payments DB:
  * bolt 11 invoice for sent payment
  * external id (for app developers)
  * parent id (AMP)
  * target node id
  * fees
  * route (if success)
  * failures (if failed)
* Re-work the PaymentsDb interface
* Clarify use of seconds / milliseconds in DB interfaces -> milliseconds everywhere
* Run SQL migrations inside transactions

* Improve error handling when we couldn't find all the channels for a supplied route in /sendtoroute API (#1142)

* Improve error handling when we couldn't find all the channels for a supplied route in /sendtoroute

* Handle fees increases when channel is OFFLINE (#1080)

* Add 'close-on-offline-feerate-mismatch' configuration to avoid closing offline channel when the feerate mismatch if over the threshold.

* Derive channel keys from the channel funding pubkey (#1097)

We now generate a random funding key for each new channel, and use its public key to deterministically derive all channel keys and secrets. This will let us easily recover funds using DLP even if we've lost everything but our seed: we just need to connect to the node we had a channel with, ask them to publish their commit tx, and once we see it on the blockchain we can extract our funding pubkey, recompute channel keys and spend our output.

* Add a "funding pubkey path" option to the channel version field

This option is checked when we need to compute channel keys. For old channels it won't be set, and we always set it for new ones.

* ChannelVersion: make sure that all bits are set to 0 for legacy channels

* ChannelVersion: USE_PUBKEY_KEYPATH is set by default

* Check if remote funder can handle an updated commit fee when sending HTLC (#1084)

If the sender of an htlc isn't the funder, then both sides will have to afford the payment:
- the sender needs to be able to afford the htlc amount
- the funder needs to be able to afford the greater commit tx fee incurred by the additional htlc output.

Fixes #1081.

Co-Authored-By: Pierre-Marie Padiou <[email protected]>

* Fix and expand channel keypath (#1147)

* Fix funding pubkey to channel key path computation

Channel key path is generated from 8 bytes computed from our funding pubkey, but we extracted 4 uint32 values instead of 2 (last 2 were always 0). We now use 128 bits to derive channel key paths.

* Add a channel key path compatibility test

This test will fail if we change the way we compute channel key paths, which would break existing channels.

* Use the same chain hash reference in all channel updates

To save memory, once we check that a channel_update's chain hash matches what
we expect we just replace it with a reference to our own chain hash.

* Commitments: take HTLC fee into account (#1152)

Our balance computation was slightly incorrect. If you want to know how much you can send (or receive), you need to take into account the fact that you'll add a new HTLC which adds weight to the commit tx (and thus adds fees).

* Android: add a spray-based API to eclair-node

This is a copy of the spray-based API developped by @araspitzu (akka-http does not
work for akka 2.3 which we use on the android branch)

* HTTP API: add type hints for payment status (#1150)

Cleans up the JSON payment status (easier to interpret for callers).

* Use "mock" Kamon library

Kamon does not work on Android and does not make much sense, so we replace
it with a basic Mock implementation that does nothing.

* Electrum: improve coin selection (fixes #1146) (#1149)

Our previous coin selection would sometimes fail when there was one wallet utxo and and low 
 feerate, because our first pass used a fee estimate that was too high and could sometimes not be met.

* Extend funding key path to 256 bits (#1154)

Our random funding key path is now 8 * 32 bits plus a 1' (funder) or 0' (fundee).
Channel key paths are computed from the sha256 of the funding public key (we take all 256 bits).

* Use bitcoin 0.18.1 in the test (#1148)

* Upgrade new unit tests to bitcoin 0.18.1 API (#1157)

We had 2 open PRs, one that added new tests using the 0.API, one that switched to 0.18.1, when they were merged the new tests failed since they had not been upgraded....

* Update netty dependency to 4.1.32 (#1160)

Also:
* explicitely set endpoint identification algorithm in strict mode
* force TLS protocols 1.2/1.3 in strict mode

Co-Authored-By: Bastien Teinturier <[email protected]>

* Add execution time limit (#1161)

* Android: wipe channels table during db migration

We already wipe the updates table, and this make upgrading much simpler since we had different structures on
android vs mater.

* Activate extended channel range queries (#1165)
By default we now set the `gossip_queries_ex` feature bit.
We also change how we compare feature bits, and will use channel queries (or extended queries) only if the corresponding feature bit is set in both local and remote init messages.

* Use guava to compute CRC32C checksums (#1166)

CRC32C is not available in JDK 7 which we target on Android.
@MidnightLightning
Copy link

I have a channel in Eclair wallet that I tried to create shortly after the wallet launched on the Mainnet, but I think it never fully opened, and now that I've kept up-to-date on versions (currently using 0.4.9), it still isn't getting cleaned up. In the "Channels" tab, the channel shows a state of "CLOSING (uncooperative), Refund claimable", and clicking into the details about the channel, it shows the "Cause of closing" is "sync error", and a "Refund block height" of "N/A".

@pm47: There is a bug that prevents Eclair Mobile from detecting the refund tx and clean up the channel, but apart from that everything is normal and there is nothing to do.

How can I diagnose if my channel is in that same situation?

The funding transaction ID is not found on any block explorers, so I believe it was never successfully broadcast, but Eclair still thinks it's there. Is there anything I can do to properly close out this old channel (making sure all funds are released or never were locked up in the first place), and get it off my channels list?

@pm47
Copy link
Member

pm47 commented Dec 4, 2019

The funding transaction ID is not found on any block explorers, so I believe it was never successfully broadcast

Indeed, this is just a display issue and only affect channels created before a certain date (early 2019 I would say), so you can guess this isn't particularly high priority for us.

It's hard to tell for sure what the exact cause is, given how old your channel seem to be, but it would probably be fixed by something like ACINQ/eclair#1122. We haven't merged this particular PR because we weren't satisfied with it.

Given how low the fees are nowadays, I would recommend closing your other channels, and initializing a brand new wallet and moving your funds to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants