Skip to content
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

signer: Increase the max_invoices limit to 10k #304

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions libs/gl-client/src/signer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ impl Signer {
FilterRule::new_warn("policy-routing-balanced"),
],
});

// Increase the invoices limit. Results in a larger state, but
// bumping into this is rather annoying.
policy.max_invoices = 10_000usize;

// Relaxed max_routing_fee since we no longer have the
// presplitter which was causing the HTLCs to be smaller.
policy.max_routing_fee_msat = 1_000_000;
Expand Down
Loading