-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Background
Tried to open open a channel but it failed due to "mempool min fee not met". Channel still shows as pending.
Your environment
-
version of
lnd: commit e0baa49 (mainnet) -
which operating system (
uname -aon *Nix): Linux bitcoin-node 4.9.35-v7+ Correcting install docs to add path for upgrade instructions section #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux (raspberry pi) -
version of
btcd,bitcoind: Bitcoin Core Daemon version v0.16.1 -
wallet balance before:
lncli walletbalance
{
"total_balance": "115918",
"confirmed_balance": "115918",
"unconfirmed_balance": "0"
}
- bitcoind settings:
rpcuser=bitcoinrpc
rpcpassword=<redacted>
dbcache=100
maxorphantx=10
maxmempool=5
minrelaytxfee=0.00000000
server=1
listen=1
txindex=1
zmqpubrawblock=tcp://127.0.0.1:28332
zmqpubrawtx=tcp://127.0.0.1:28332
Note that minrelaytxfee was set to 0 to ensure that low TXs created by LND get forwarded.
Steps to reproduce
Executed openchannel to LIGHTNING.SCOT node:
lncli openchannel --node_key 02a456b816697c6b8407ee2176475d74b790a96143bc30e896e8bf7a8852a8b637 --local_amt 100000 --push_amt 0
Expected behaviour
Channel opens, or fails with reason given.
Actual behaviour
lncli blocked and did not return from the RPC call, had to be killed with CTRL+C.
Channel did not open due to "mempool min fee not met".
Channel stuck in pending state, although TX was not broadcast anywhere.
Relevant log output:
2018-07-25 13:03:05.506 [INF] LNWL: Inserting unconfirmed transaction 2ae81716cc429e7ce0441469f2f173068d4a0888f669e4fbb67821100e362175
2018-07-25 13:03:05.601 [ERR] FNDG: Unable to complete reservation sign complete: -26: 66: mempool min fee not met
2018-07-25 13:03:05.602 [DBG] FNDG: Failing funding flow for pendingID=900048e234a9c4653880745b6b86c83523bd9c4709b2f6de8a8dd6b275fc3bd2:
-26: 66: mempool min fee not met
2018-07-25 13:03:05.602 [INF] FNDG: Cancelling funding reservation for node_key=02a456b816697c6b8407ee2176475d74b790a96143bc30e896e8bf7a
8852a8b637, chan_id=900048e234a9c4653880745b6b86c83523bd9c4709b2f6de8a8dd6b275fc3bd2
2018-07-25 13:03:05.602 [ERR] FNDG: unable to cancel reservation: unable to cancel reservation: attempted to cancel non-existent funding
state
2018-07-25 13:03:05.602 [DBG] FNDG: Sending funding error to peer (02a456b816697c6b8407ee2176475d74b790a96143bc30e896e8bf7a8852a8b637):
(*lnwire.Error)(0x13a3bbc0)({
ChanID: (lnwire.ChannelID) (len=32 cap=32) 900048e234a9c4653880745b6b86c83523bd9c4709b2f6de8a8dd6b275fc3bd2,
Data: (lnwire.ErrorData) (len=36 cap=48) {
00000000 66 75 6e 64 69 6e 67 20 66 61 69 6c 65 64 20 64 |funding failed d|
00000010 75 65 20 74 6f 20 69 6e 74 65 72 6e 61 6c 20 65 |ue to internal e|
00000020 72 72 6f 72 |rror|
}
})
2018-07-25 13:03:05.603 [DBG] PEER: Sending Error(chan_id=900048e234a9c4653880745b6b86c83523bd9c4709b2f6de8a8dd6b275fc3bd2, err=funding
failed due to internal error) to 206.189.124.227:9735
Output from lncli afterwards:
lncli pendingchannels
{
"total_limbo_balance": "164076",
"pending_open_channels": [
{
"channel": {
"remote_node_pub": "02a456b816697c6b8407ee2176475d74b790a96143bc30e896e8bf7a8852a8b637",
"channel_point": "2ae81716cc429e7ce0441469f2f173068d4a0888f669e4fbb67821100e362175:1",
"capacity": "100000",
"local_balance": "99638",
"remote_balance": "0"
},
"confirmation_height": 0,
"commit_fee": "362",
"commit_weight": "600",
"fee_per_kw": "500"
}
],
"pending_closing_channels": [
],
"pending_force_closing_channels": [
... removed since it's unrelated ...
],
"waiting_close_channels": [
]
}