Skip to content

Commit

Permalink
more renaming - org.bitcoinj to org.litecoinj
Browse files Browse the repository at this point in the history
  • Loading branch information
pvyhnal-generalbytes committed Apr 24, 2019
1 parent 27aa5ef commit e2947d6
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion core/findbugs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<!-- The code is correct but findbugs can't analyze it properly -->
<Match>
<Bug code="SF"/>
<Class name="org.bitcoinj.core.BloomFilter"/>
<Class name="org.litecoinj.core.BloomFilter"/>
</Match>

<!-- fb doesn't like the odd API this class has -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static void initVerbose() {

public static void initWithSilentBitcoinJ() {
init();
Logger.getLogger("org.bitcoinj").setLevel(Level.SEVERE);
Logger.getLogger("org.litecoinj").setLevel(Level.SEVERE);
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion core/src/test/resources/logging.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
handlers=java.util.logging.ConsoleHandler
org.bitcoinj.level=OFF
org.litecoinj.level=OFF
2 changes: 1 addition & 1 deletion examples/src/main/javascript/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@


// Import some stuff.
var bcj = org.bitcoinj;
var bcj = org.litecoinj;
var ECKey = bcj.core.ECKey;

// We'll use the testnet for now.
Expand Down
2 changes: 1 addition & 1 deletion examples/src/main/javascript/forwarding.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//
// This example shows how to implement the forwarding service demo from the Getting Started tutorial.

var bcj = org.bitcoinj;
var bcj = org.litecoinj;
var params = bcj.params.TestNet3Params.get();

// Address where we'll send received coins (minus the miner fee)
Expand Down
10 changes: 5 additions & 5 deletions examples/src/main/python/forwarding.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
# if it has a confirmed balance in it, then you can set it to 0.
confirm_wait = 1

from org.bitcoinj.core import *
from org.litecoinj.core import *

import org.bitcoinj.crypto.KeyCrypterException
import org.bitcoinj.params.MainNetParams
from org.bitcoinj.kits import WalletAppKit
import org.litecoinj.crypto.KeyCrypterException
import org.litecoinj.params.MainNetParams
from org.litecoinj.kits import WalletAppKit

from com.google.common.util.concurrent import FutureCallback
from com.google.common.util.concurrent import Futures
Expand Down Expand Up @@ -87,7 +87,7 @@ def onSuccess(selfx, txn):
Futures.addCallback(tx.getConfidence().getDepthFuture(confirm_wait), myFutureCallback())

if __name__ == "__main__":
params = org.bitcoinj.params.TestNet3Params.get()
params = org.litecoinj.params.TestNet3Params.get()
my_address = Address(params,my_address_text)
filePrefix = "forwarding-service-testnet"
f = java.io.File(".")
Expand Down
4 changes: 2 additions & 2 deletions tools/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ compileTestJava.options.encoding = 'UTF-8'

task wallet_tool(type: JavaExec) {
description = 'Print and manipulate wallets.'
main = 'org.bitcoinj.tools.WalletTool'
main = 'org.litecoinj.tools.WalletTool'
if (project.hasProperty('appArgs') && appArgs.length() > 0)
args = Arrays.asList(appArgs.split("\\s+"))
classpath = sourceSets.main.runtimeClasspath
}

task build_checkpoints(type: JavaExec) {
description = 'Create checkpoint files to use with CheckpointManager.'
main = 'org.bitcoinj.tools.BuildCheckpoints'
main = 'org.litecoinj.tools.BuildCheckpoints'
if (project.hasProperty('appArgs') && appArgs.length() > 0)
args = Arrays.asList(appArgs.split("\\s+"))
classpath = sourceSets.main.runtimeClasspath
Expand Down

0 comments on commit e2947d6

Please sign in to comment.