Skip to content

[bug]: Why is listpayments so slow? #9069

Closed
@Impa10r

Description

@Impa10r

Background

I have only 209 payments, but it takes 43 seconds to list them:

$ time lncli listpayments | jq '.payments | length'
209

real    0m43.422s
user    0m0.188s
sys     0m0.142s

For comparison, pulling 349,464 of forwards takes less than a second:

$ time lncli forwardinghistory > nul

real    0m0.394s
user    0m0.082s
sys     0m0.058s

Your environment

  • version of lnd 0.18.0
  • which operating system (uname -a on *Nix) Umbrel 0.54 debian
  • version of btcd, bitcoind, or other backend bitcoind 27.0.0
  • any other relevant environment details
    image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions