Skip to content

Commit 4e7516b

Browse files
committed
Increase the size of the broadcast package queue
In 2024749, we started taking one slot in the package queue for each transaction broadcasted by the wallet upon `WalletEvent::ChainTipChanged`, so we increase the number of slots available in the queue.
1 parent 08efb3a commit 4e7516b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tx_broadcaster.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use crate::logger::{log_error, LdkLogger};
1818
use crate::types::Wallet;
1919
use crate::Error;
2020

21-
const BCAST_PACKAGE_QUEUE_SIZE: usize = 50;
21+
const BCAST_PACKAGE_QUEUE_SIZE: usize = 256;
2222

2323
/// A package of transactions that LDK handed to the broadcaster in one `broadcast_transactions`
2424
/// call, along with each transaction's type. Queued until the background task classifies and

0 commit comments

Comments
 (0)