Skip to content

Channel closing because local/remote feerates are too different #2354

Description

@billygarrison

Issue and Steps to Reproduce

I had a channel close out automatically.

listpeers gives this status:

"status": [
            "CHANNELD_NORMAL:Received error from peer: channel 5466dea37ff282212d3df23022de2e6432aec1a0ddf54b6f697bfe2fa0ac0883: local/remote feerates are too different: remoteFeeratePerKw=7476 localFeeratePerKw=821",
            "ONCHAIN:Tracking our own unilateral close",
            "ONCHAIN:2 outputs unresolved: in 75 blocks will spend DELAYED_OUTPUT_TO_US (5ead07d77ab9054798f191c7a5d6f0ba5114f68431e0734ca899b47f6cd2c131:0) using OUR_DELAYED_RETURN_TO_WALLET"
          ],

I tend to open channels with lightning-cli fundchannel <peer_id> slow because I'm not in a hurry to get them opened and want to pay the smallest on-chain fee. So maybe this has something to do with it? (I'm not certain if I used default or slow when opening this channel, FWIW).

I have a copy of the lightningd database from yesterday (before the channel closed), and it shows that the local and remote feerate_per_kw are both 7475. What could cause the local to change and cause this channel-closing error?

The peer is using ACINQ according to 1ml.com.

I'm wondering what caused the channel to close and how I can avoid this problem in the future.

getinfo output

{
  "id": "02843833374b6c42daa4b780df2066a9985cb8cf97bc4566dd63cf693d32cbf7b5",
  "alias": "BillyGarrison",
  "color": "009900",
  "num_peers": 10,
  "num_pending_channels": 1,
  "num_active_channels": 8,
  "num_inactive_channels": 1,
  "address": [
    {
      "type": "ipv4",
      "address": "47.55.123.202",
      "port": 9735
    }
  ],
  "binding": [
  ],
  "version": "v0.6.3",
  "blockheight": 563043,
  "network": "bitcoin",
  "msatoshi_fees_collected": 3375
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions