diff --git a/core/src/main/java/org/litecoinj/core/Context.java b/core/src/main/java/org/litecoinj/core/Context.java index add6f44edc0..bc1ea627b03 100644 --- a/core/src/main/java/org/litecoinj/core/Context.java +++ b/core/src/main/java/org/litecoinj/core/Context.java @@ -71,7 +71,7 @@ public Context(NetworkParameters params) { * @param ensureMinRequiredFee Whether to ensure the minimum required fee by default when completing transactions. For details, see {@link SendRequest#ensureMinRequiredFee}. */ public Context(NetworkParameters params, int eventHorizon, Coin feePerKb, boolean ensureMinRequiredFee) { - log.info("Creating bitcoinj {} context.", VersionMessage.BITCOINJ_VERSION); + log.info("Creating litecoinj {} context.", VersionMessage.BITCOINJ_VERSION); this.confidenceTable = new TxConfidenceTable(); this.params = params; this.eventHorizon = eventHorizon; @@ -99,12 +99,12 @@ public static Context get() { Context tls = slot.get(); if (tls == null) { if (isStrictMode) { - log.error("Thread is missing a bitcoinj context."); + log.error("Thread is missing a litecoinj context."); log.error("You should use Context.propagate() or a ContextPropagatingThreadFactory."); throw new IllegalStateException("missing context"); } if (lastConstructed == null) - throw new IllegalStateException("You must construct a Context object before using bitcoinj!"); + throw new IllegalStateException("You must construct a Context object before using litecoinj!"); slot.set(lastConstructed); log.error("Performing thread fixup: you are accessing bitcoinj via a thread that has not had any context set on it."); log.error("This error has been corrected for, but doing this makes your app less robust."); diff --git a/core/src/main/java/org/litecoinj/core/VersionMessage.java b/core/src/main/java/org/litecoinj/core/VersionMessage.java index 5a42f4cfa30..38a362cb7db 100644 --- a/core/src/main/java/org/litecoinj/core/VersionMessage.java +++ b/core/src/main/java/org/litecoinj/core/VersionMessage.java @@ -43,7 +43,7 @@ public class VersionMessage extends Message { /** The version of this library release, as a string. */ public static final String BITCOINJ_VERSION = "0.15.2-SNAPSHOT"; /** The value that is prepended to the subVer field of this application. */ - public static final String LIBRARY_SUBVER = "/bitcoinj:" + BITCOINJ_VERSION + "/"; + public static final String LIBRARY_SUBVER = "/litecoinj:" + BITCOINJ_VERSION + "/"; /** A service bit that denotes whether the peer has a full copy of the block chain or not. */ public static final int NODE_NETWORK = 1 << 0; diff --git a/core/src/main/java/org/litecoinj/utils/Threading.java b/core/src/main/java/org/litecoinj/utils/Threading.java index 6b001dfb1cd..4b59632504b 100644 --- a/core/src/main/java/org/litecoinj/utils/Threading.java +++ b/core/src/main/java/org/litecoinj/utils/Threading.java @@ -91,7 +91,7 @@ public static class UserThread extends Thread implements Executor { private LinkedBlockingQueue tasks; public UserThread() { - super("bitcoinj user thread"); + super("litecoinj user thread"); setDaemon(true); tasks = new LinkedBlockingQueue<>(); start();