Author

Topic: Lightning-C - coins in limbo [RESOLVED] (Read 136 times)

sr. member
Activity: 306
Merit: 257
March 19, 2021, 03:30:07 AM
#5
So I resolved the issue in this way:

1) Waited until the tx cleared from all mempools around the internet. blockcypher.com is handy for keeping track of that.
2) Now the tx is only in my local bitcoind's mempool. Stopped lightningd and bitcoind, deleted mempool.dat and restarted.
3) Issued "lightning-cli dev-rescan-outputs" command and now coins are back!
legendary
Activity: 3374
Merit: 3095
Playbet.io - Crypto Casino and Sportsbook
March 18, 2021, 06:44:20 PM
#4
I issued a withdraw command with low fee, and the transaction was broadcasted, but miners didn't include it in blocks. But I can't withdraw again with a higher fee, it gives me error 301 - the coins have been marked as "spent". Listfunds shows empty wallet. The question is how to salvage the coins.
Should I clear bitcoind's mempool, will it help?

According to their Github(c-lightning) this error "301: There are not enough funds in the internal wallet (including fees) to create the transaction."

So it means you don't have enough funds when you are trying to withdraw. Read the error from here https://lightning.readthedocs.io/lightning-fundchannel.7.html


What exactly command do you use can share it here

Then try this command in your lightning cli

Code:
lightning-cli listfunds

post the result here
legendary
Activity: 3374
Merit: 3095
Playbet.io - Crypto Casino and Sportsbook
March 17, 2021, 11:47:56 AM
#3
What error exactly do you see after you use the "withdraw" command?

You can try the GitHub link below to ask some questions about c-lightning below.

- https://github.com/ElementsProject/lightning/issues
full member
Activity: 173
Merit: 146
March 17, 2021, 11:35:26 AM
#2
specifically, "withdraw" command doesn't work for me
maybe "You're getting the error because the command line client can't connect your node. It could be because the node itself is not running, or because the node is not reachable from your host (ex: docker not exposing the right ports)".
sr. member
Activity: 306
Merit: 257
March 17, 2021, 11:16:50 AM
#1
I issued a withdraw command with low fee, and the transaction was broadcasted, but miners didn't include it in blocks. But I can't withdraw again with a higher fee, it gives me error 301 - the coins have been marked as "spent". Listfunds shows empty wallet. The question is how to salvage the coins.
Should I clear bitcoind's mempool, will it help?
Jump to: