projects
/
ldk-sample
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
46c606e
)
Allow "rejecting replacement" tx broadcast error
author
Matt Corallo
<649246+TheBlueMatt@users.noreply.github.com>
Tue, 17 Aug 2021 01:33:01 +0000
(
01:33
+0000)
committer
GitHub
<noreply@github.com>
Tue, 17 Aug 2021 01:33:01 +0000
(
01:33
+0000)
We occasionally will attempt to broadcast transactions which conflicting
with mempool transactions which are marked RBF. If we don't have a
higher fee, we'll get a "rejecting replacement" error, which should not
cause a panic.
src/bitcoind_client.rs
patch
|
blob
|
history
diff --git
a/src/bitcoind_client.rs
b/src/bitcoind_client.rs
index fd21b5974040efc0afc42380fcd94df705c0e92d..61e67c28a7acea384c97f8819fa8415eeb1d3e7b 100644
(file)
--- a/
src/bitcoind_client.rs
+++ b/
src/bitcoind_client.rs
@@
-262,6
+262,7
@@
impl BroadcasterInterface for BitcoindClient {
&& !err_str.contains("Inputs missing or spent")
&& !err_str.contains("bad-txns-inputs-missingorspent")
&& !err_str.contains("non-BIP68-final")
+ && !err_str.contains("insufficient fee, rejecting replacement ")
{
panic!("{}", e);
}