mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 05:06:45 +00:00
reduce time to check broadcasted tx
This commit is contained in:
parent
eda96af607
commit
3134a9ad42
1 changed files with 1 additions and 1 deletions
|
@ -801,7 +801,7 @@ public class HeadersController extends TransactionFormController implements Init
|
||||||
}
|
}
|
||||||
|
|
||||||
transactionMempoolService = new ElectrumServer.TransactionMempoolService(headersForm.getSigningWallet(), headersForm.getTransaction().getTxId(), headersForm.getSigningWalletNodes());
|
transactionMempoolService = new ElectrumServer.TransactionMempoolService(headersForm.getSigningWallet(), headersForm.getTransaction().getTxId(), headersForm.getSigningWalletNodes());
|
||||||
transactionMempoolService.setDelay(Duration.seconds(5));
|
transactionMempoolService.setDelay(Duration.seconds(3));
|
||||||
transactionMempoolService.setPeriod(Duration.seconds(10));
|
transactionMempoolService.setPeriod(Duration.seconds(10));
|
||||||
transactionMempoolService.setOnSucceeded(mempoolWorkerStateEvent -> {
|
transactionMempoolService.setOnSucceeded(mempoolWorkerStateEvent -> {
|
||||||
Set<String> scriptHashes = transactionMempoolService.getValue();
|
Set<String> scriptHashes = transactionMempoolService.getValue();
|
||||||
|
|
Loading…
Reference in a new issue