-
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
sendcoins generated a transaction which did not show up in the network #812
Comments
Interestingly b0a732349958b2a771562fd25f05492fa3e6bcaa4af082daadb1aaf89e0641ee does not show up in |
I found the transaction in the logs: Somehow
|
Did your node have the transaction in its mempool? Were both your I just tried to reproduce, and the sat/byte gets translated properly:
|
I'm 99% sure that Not sure what's the better way to check if transaction got into the mempool. External wallet and https://www.blocktrail.com/tBTC/ did not see it, usually both of those see the transaction in under 5 seconds from issuing sendcoins. Yet, that's expected not to see it with sat/byte=1 |
I wish |
What node were you connected to? Check the logs of that node. Not sure what's at foot here, are you able to reproduce a similar send's fee rate getting downgraded? |
I only run one node and lncil connects to it locally. Let me try to repro the fee downgrade... |
Funds showed up. Some channels also showed up, even though I did not re-enable Autopilot.
fee downgrade did not re-pro:
|
If you're getting a rejection there, then it's due to the fact that the wallet wrote the transaction to the database, but it actually didn't land in the mempool. If you restart, we'll prune away that zombie utxo, though we should also do it if we get a rejection upon sending. |
After restart the funding transaction showed up in the an inactive channel:
Let me close all the channels again and re-try. Not sure why the channels are re-opening. |
If you have the autopilot setting active, it will automatically open channels for you. Other nodes may also be automatically opening channels to you. |
I have Autoplot off. Oh, good point, let me not supply If I'm to make a pull request to include git hash in
|
This PR to add a makefile can be extended to do so: #689 You'd do something like set a variable string in |
For the record, some changes to fee rate calculation landed a few days after 83b779d, so would be interesting to see if this could be reproduced on latest EDIT: looking at these changes in Line 409 in 83b779d
|
What broke
lncli sendcoins
generated a transaction, yet it did to show up in the blockchain explorer or the external walletTheory
A possible explanation is that
lncli sendcoins
seems to be able to generate transactions that will be rejected by the networkEnvironment
Testnet, Autopilot, 30 channels, running LND 83b779d (Feb 23)
Context (what happened?)
To do LND upgrade:
lncli walletbalance
at that time)It's usually difficult to see how much funds I have total among the wallet and the channels. Yet it looked like I had 2.3 tBTC available to transfer out. I tried moving out 2.3 tBTC as follows, and the command "succeed":
A day later, transaction is still not visible in testnet, and in the balances looks like I only have 1.6 tBTC:
Did this ever work?
When funds are available
Yes. I used
lncli sendcoins
many times to do LND upgrades. The transaction would show up in the external wallet almost instantly (5 seconds) and then would get confirmed easily with--sat_per_byte 40
. Yet, this time the transaction did not even show up.When funds are not available
Yes. Many times when I specify the amount that was too large,
lncli sendcoins
would always tell me that not enough funds are available, and not generate a transaction.Proposal (what I'd expect to happen)
Since funds may not be truly available until all the Timelock contracts are fulfilled, I expect that
lncli sendcoins
would report that funds are not yet available and not generate a transaction.The text was updated successfully, but these errors were encountered: