Skip to content

LND generated too big onchain transaction #6556

@Overtorment

Description

@Overtorment

Background

Tried to consolidate some of utxos, and LND generated a pretty big tx (273 kb).
Tx was never broadcast by lnd, i.e. its not visible on block explorers.
I tried grabbing raw txhex manually from listchaintxns and broadcasting it, but all public apis reject it with Invalid transaction. Error: tx-size, code: -26
I would try to craft 5 times smaller transaction, but LND already thinks those utxos are spent.
What do I do here?

Your environment

  • version of lnd v0.15.0-beta.rc1-dirty
  • which operating system (uname -a on *Nix) Linux lnd2 4.15.0-161-generic #169-Ubuntu SMP Fri Oct 15 13:41:54 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
  • bitcoind

Expected behaviour

Probably gracefully fail and not craft huge txs

Metadata

Metadata

Assignees

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