-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[bug]: TXs not making it to mempool. #9286
Comments
Hi @bparker0, thanks for raising this issue. Could you check if the channel inputs are indeed spent on the block chain. And could you |
I'm not sure how I can check if the channel input was spent, it doesn't look anything was broadcasted when I opened or forced closed these channels. You'll have to forgive me here but I'm not as familiar using cli. I'm not even sure which directory myNode keeps the logfiles. Fortunately they provide an easy way to download the entire debug log from the web interface. If you would like I could share the log file with you. I have sifted through and copied one of the affected channels from the LND log file below.
|
Thanks @bparker0, indeed the channel points don't exist on-chain, I don't see what went wrong during channel openings from the log snippet. Could you send me the entire log to hieblmi @ lightning.engineering? Also, could you check if your on-chain balance hasn't changed through the channel openings, meaning, do you see the on-chain balance that you expect or is something missing? |
Can you report your Knots config? We've had some instances in the past of a popular guide having issues in its mempool related config. |
potentially related issue: #9048 This issue was fixed with knots version |
Ok, I just got home from work. Just sent the log file via wetransfer.com, hopefully that works. It's 8MB in size. Knots is running whatever the default config is at installation. I installed knots from the myNode web interface. |
The onchain balance has fluctuated considerably over that last week. Although, I did just force close a 5M sat channel with a node that had been offline for quite sometime. It's been about 11 days since I closed it. |
I have seen the onchain balance increase by as much as 10M sats during this force close. It seems that I have 5M more sats than what I had originally put in this wallet. Maybe somehow I ended up with the other nodes sats. I'll give it another week for the funds to straighten out. If this is the case I would like to return the sats. The fun part is going to be trying to contact the node runner. |
@bparker0 are you also able to provide the output of From the logs you sent I can see that the channels that you are trying to force close...
...never made it on-chain because the input The logs you sent unfortunately don't contain the channel open messages for these points, they must've happened before the log starts. Once again, would be good to see what |
|
It should be the case that the pending balance is what is too much in your wallet, All three channels can be abandoned because their funding input was already spent in another channel that you opened, If you can confirm all above then you can abandon the 3 channels. |
My onchain balance shows 6090056 sats. No pending balance. I have
imported the node wallet into sparrow (running electrum server on my node)
as a view only wallet so I can see the UTXO's and transaction history. In
all of the 7 UTXO's that are sitting there, there are a total of 1128629
sats. This doesn't make sense to me why my on chain balance shows 6090056
sats from the node wallet web interface. Thunder Hub shows 609056 also. I
opened the channel with 'Valais' node on November 6. The channels that are
pending were initiated just last week so I don't see how their inputs could
have been spent back on November 6. I can't even find any inputs that are
associated with these pending channels looking through my transaction
history.
The most recent transaction I see is back on the 13th when I force closed a
5M sat channel with 'Rune ThrowAxe' node.
https://mempool.space/tx/c5a86dd819529213b99bc867d2e2f66183e5a8bc35e04ba1d6c5391f721bab56
…On Thu, Nov 21, 2024 at 10:53 AM Slyghtning ***@***.***> wrote:
It seems that I have 5M more sats than what I had originally put in this
wallet. Maybe somehow I ended up with the other nodes sats.
It should be the case that the pending balance is what is too much in your
wallet, 7989590 sats, can you confirm.
All three channels can be abandoned because their funding input was
already spent in another channel that you opened,
namely here https://mempool.space/lightning/channel/955718596691623936.
If you can confirm all above then you can abandon the 3 channels.
—
Reply to this email directly, view it on GitHub
<#9286 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A7J5CGWVP6VXPE4QCDJZKVD2BYM2JAVCNFSM6AAAAABSDXQWNGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJRHEYDEMRXGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
The inputs of these three channels can be found in the funding transactions that lnd tries to broadcast after a restart. For the first channel, search the log for
If you
you find the input
that all three channels try to use, but it is already used in the channel I mentioned. Unfortunately the logs you sent start on |
Ok I did some searching. I found the logs directory and copied the
compressed log files. I will send the log file that looks to be what has
the info we're looking for. lnd.log.318
…On Fri, Nov 22, 2024 at 1:55 AM Slyghtning ***@***.***> wrote:
The inputs of these three channels can be found in the funding
transactions that lnd tries to broadcast after a restart. For the first
channel, search the log for
2024-11-19 20:56:18.641 [WRN] BTWL: Transaction 09d769f2585845d8ced749f6f65b3938ac1da8aa68d12a00d8d54bd26d39e48a not accepted by mempool: missing-inputs
2024-11-19 20:56:18.641 [ERR] FNDG: Unable to rebroadcast funding tx 02000000000101d5e2cf9145a22908518b94fc1c7024b371a49c9df68b28c01dc9452512c63cda0100000000000000000267790e00000000002251201dfac4c255c47e9762ec3305ac910ebdcdfd3037afcbea7b925c1b5f6558dc9900093d00000000002200204ed737c120cc93d23f0e63fa524a5ebbc920473c6f227ff84501463c8c8b609301408cfb815890139ce3bd472b28e992ebf5979bd47323ce4fdcf73658996390fd0afc86f7afe0cfbf6d0adb19837e81b74248c979e239b9e6ecadc5e4362edf9d6200000000 for ChannelPoint(09d769f2585845d8ced749f6f65b3938ac1da8aa68d12a00d8d54bd26d39e48a:1): transaction rejected: output already spent
2024-11-19 20:56:18.641 [INF] NTFN: New confirmation subscription: conf_id=1, txid=09d769f2585845d8ced749f6f65b3938ac1da8aa68d12a00d8d54bd26d39e48a, num_confs=3 height_hint=871143
If you bitcoin-cli decoderawtransaction
02000000000101d5e2cf9145a22908518b94fc1c7024b371a49c9df68b28c01dc9452512c63cda0100000000000000000267790e00000000002251201dfac4c255c47e9762ec3305ac910ebdcdfd3037afcbea7b925c1b5f6558dc9900093d00000000002200204ed737c120cc93d23f0e63fa524a5ebbc920473c6f227ff84501463c8c8b609301408cfb815890139ce3bd472b28e992ebf5979bd47323ce4fdcf73658996390fd0afc86f7afe0cfbf6d0adb19837e81b74248c979e239b9e6ecadc5e4362edf9d6200000000
you find the input
"vin": [
{
"txid": "da3cc6122545c91dc0288bf69d9ca471b324701cfc948b510829a24591cfe2d5",
"vout": 1,
that all three channels try to use, but it is already used in the channel
I mentioned.
Unfortunately the logs you sent start on 2024-11-19 00:07:50.225 so I
can't really see what happened when you opened these channels initially.
—
Reply to this email directly, view it on GitHub
<#9286 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A7J5CGR3RYOK6ZYSTQHHBCD2B3WRRAVCNFSM6AAAAABSDXQWNGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJTGIZDSMZYGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Opened some new channels from ThunderHub a couple days ago. Opening TX's are shown in 'lncli pendingchannels' with zero limbo balance. The opening transactions do not show in mempool. I tried force closing them using 'lncli closechannel --force channelpoint n'. Closing TX's do not show in mem pool either. Pending channels shows limbo balances for each respective channel after trying to force close the channels.
Not sure how to reproduce the issue, looking for some help. Maybe my only option is to try and manually close all my existing channels and then do '--reset-wallet-transactions' from config file. Wait for it to resync and then abandon the pending channels if they are still showing. Thoughts?
The text was updated successfully, but these errors were encountered: