diff --git a/core/pom.xml b/core/pom.xml
index cd0535a..0707632 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -5,7 +5,7 @@
network.bisq.btcd-cli4j
btcd-cli4j-parent
- 0.5.8.4
+ 0.5.8.5
btcd-cli4j-core
jar
diff --git a/core/src/main/java/com/neemre/btcdcli4j/core/BtcdCli4jVersion.java b/core/src/main/java/com/neemre/btcdcli4j/core/BtcdCli4jVersion.java
index 8eb0e6e..19c98bc 100644
--- a/core/src/main/java/com/neemre/btcdcli4j/core/BtcdCli4jVersion.java
+++ b/core/src/main/java/com/neemre/btcdcli4j/core/BtcdCli4jVersion.java
@@ -18,5 +18,5 @@
package com.neemre.btcdcli4j.core;
public class BtcdCli4jVersion {
- public static final String VERSION = "0.5.8.4";
-}
\ No newline at end of file
+ public static final String VERSION = "0.5.8.5";
+}
diff --git a/daemon/pom.xml b/daemon/pom.xml
index 5d89fd4..fb05ec5 100644
--- a/daemon/pom.xml
+++ b/daemon/pom.xml
@@ -5,7 +5,7 @@
network.bisq.btcd-cli4j
btcd-cli4j-parent
- 0.5.8.4
+ 0.5.8.5
btcd-cli4j-daemon
jar
@@ -28,7 +28,7 @@
com.google.guava
guava
- 20.0
+ 27.0.1-jre
com.google.code.findbugs
diff --git a/daemon/src/main/java/com/neemre/btcdcli4j/daemon/BtcdDaemonImpl.java b/daemon/src/main/java/com/neemre/btcdcli4j/daemon/BtcdDaemonImpl.java
index 9bd1cc3..3f0eb59 100644
--- a/daemon/src/main/java/com/neemre/btcdcli4j/daemon/BtcdDaemonImpl.java
+++ b/daemon/src/main/java/com/neemre/btcdcli4j/daemon/BtcdDaemonImpl.java
@@ -20,6 +20,8 @@
import java.util.concurrent.Future;
import java.util.function.Consumer;
+import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
+
public class BtcdDaemonImpl implements BtcdDaemon {
private static final Logger LOG = LoggerFactory.getLogger(BtcdDaemonImpl.class);
@@ -218,7 +220,7 @@ public void onFailure(Throwable throwable) {
if (errorHandler != null)
errorHandler.accept(throwable);
}
- });
+ }, directExecutor());
}
}
}
diff --git a/daemon/src/main/java/com/neemre/btcdcli4j/daemon/notification/NotificationMonitor.java b/daemon/src/main/java/com/neemre/btcdcli4j/daemon/notification/NotificationMonitor.java
index d151601..a097062 100644
--- a/daemon/src/main/java/com/neemre/btcdcli4j/daemon/notification/NotificationMonitor.java
+++ b/daemon/src/main/java/com/neemre/btcdcli4j/daemon/notification/NotificationMonitor.java
@@ -25,6 +25,8 @@
import java.util.concurrent.TimeUnit;
import java.util.function.Consumer;
+import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
+
public class NotificationMonitor extends Observable implements Observer, Callable {
private static final Logger LOG = LoggerFactory.getLogger(NotificationMonitor.class);
@@ -83,7 +85,7 @@ public void onFailure(Throwable throwable) {
if (errorHandler != null)
errorHandler.accept(throwable);
}
- });
+ }, directExecutor());
LOG.trace("-- run(..): total no. of '{}' notifications received: '{}', task queue "
+ "occupancy: '{}/{}'", type.name(), executor.getTaskCount(),
diff --git a/examples/pom.xml b/examples/pom.xml
index 8fdc640..6cca420 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -5,7 +5,7 @@
network.bisq.btcd-cli4j
btcd-cli4j-parent
- 0.5.8.4
+ 0.5.8.5
btcd-cli4j-examples
jar
diff --git a/pom.xml b/pom.xml
index 66d7cc9..85a1d08 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
network.bisq.btcd-cli4j
btcd-cli4j-parent
- 0.5.8.4
+ 0.5.8.5
pom
btcd-cli4j Parent