Renamed project from 'cold' to 'burrow'
This commit is contained in:
parent
ac99468a9d
commit
78c03988ea
|
@ -23,7 +23,7 @@ group 'io.rudefox'
|
||||||
version isRelease ? gitVersion.call() : gitVersion.call() + "-SNAPSHOT"
|
version isRelease ? gitVersion.call() : gitVersion.call() + "-SNAPSHOT"
|
||||||
|
|
||||||
application {
|
application {
|
||||||
mainClassName = 'io.rudefox.cold.RudefoxCold'
|
mainClassName = 'io.rudefox.burrow.RudefoxBurrow'
|
||||||
}
|
}
|
||||||
|
|
||||||
run {
|
run {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package io.rudefox.cold;
|
package io.rudefox.burrow;
|
||||||
|
|
||||||
import com.bjdweck.bitcoin.mnemonic.Entropy;
|
import com.bjdweck.bitcoin.mnemonic.Entropy;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package io.rudefox.cold;
|
package io.rudefox.burrow;
|
||||||
|
|
||||||
import com.bjdweck.bitcoin.mnemonic.Entropy;
|
import com.bjdweck.bitcoin.mnemonic.Entropy;
|
||||||
import com.bjdweck.math.UnsignedInt;
|
import com.bjdweck.math.UnsignedInt;
|
|
@ -1,4 +1,4 @@
|
||||||
package io.rudefox.cold;
|
package io.rudefox.burrow;
|
||||||
|
|
||||||
import com.bjdweck.bitcoin.mnemonic.Entropy;
|
import com.bjdweck.bitcoin.mnemonic.Entropy;
|
||||||
import picocli.CommandLine;
|
import picocli.CommandLine;
|
|
@ -1,4 +1,4 @@
|
||||||
package io.rudefox.cold;
|
package io.rudefox.burrow;
|
||||||
|
|
||||||
import com.google.zxing.BarcodeFormat;
|
import com.google.zxing.BarcodeFormat;
|
||||||
import com.google.zxing.EncodeHintType;
|
import com.google.zxing.EncodeHintType;
|
|
@ -1,16 +1,16 @@
|
||||||
package io.rudefox.cold;
|
package io.rudefox.burrow;
|
||||||
|
|
||||||
import com.bjdweck.bitcoin.params.INetworkParameters;
|
import com.bjdweck.bitcoin.params.INetworkParameters;
|
||||||
import com.bjdweck.bitcoin.params.NetworkParameters;
|
import com.bjdweck.bitcoin.params.NetworkParameters;
|
||||||
import picocli.CommandLine;
|
import picocli.CommandLine;
|
||||||
|
|
||||||
@CommandLine.Command(
|
@CommandLine.Command(
|
||||||
name = "rudefox-cold",
|
name = "burrow",
|
||||||
synopsisSubcommandLabel = "COMMAND",
|
synopsisSubcommandLabel = "COMMAND",
|
||||||
description = "Offline wallet tool",
|
description = "Offline wallet tool",
|
||||||
subcommands = {MnemonicCommand.class, WalletCommand.class}
|
subcommands = {MnemonicCommand.class, WalletCommand.class}
|
||||||
)
|
)
|
||||||
public class RudefoxCold implements Runnable {
|
public class RudefoxBurrow implements Runnable {
|
||||||
|
|
||||||
@CommandLine.Option(names = "--testnet", description = "run on Bitcoin Testnet (default: Mainnet)")
|
@CommandLine.Option(names = "--testnet", description = "run on Bitcoin Testnet (default: Mainnet)")
|
||||||
boolean testnet = false;
|
boolean testnet = false;
|
||||||
|
@ -20,7 +20,7 @@ public class RudefoxCold implements Runnable {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
new CommandLine(new RudefoxCold()).execute(args);
|
new CommandLine(new RudefoxBurrow()).execute(args);
|
||||||
}
|
}
|
||||||
|
|
||||||
@CommandLine.Spec
|
@CommandLine.Spec
|
|
@ -1,4 +1,4 @@
|
||||||
package io.rudefox.cold;
|
package io.rudefox.burrow;
|
||||||
|
|
||||||
import java.nio.charset.Charset;
|
import java.nio.charset.Charset;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package io.rudefox.cold;
|
package io.rudefox.burrow;
|
||||||
|
|
||||||
import com.bjdweck.bitcoin.address.BitcoinAddress;
|
import com.bjdweck.bitcoin.address.BitcoinAddress;
|
||||||
import com.bjdweck.bitcoin.extendedkey.AddressChain;
|
import com.bjdweck.bitcoin.extendedkey.AddressChain;
|
||||||
|
@ -19,7 +19,7 @@ import picocli.CommandLine;
|
||||||
public class WalletCommand implements Runnable {
|
public class WalletCommand implements Runnable {
|
||||||
|
|
||||||
@CommandLine.ParentCommand
|
@CommandLine.ParentCommand
|
||||||
private RudefoxCold globalOptions;
|
private RudefoxBurrow globalOptions;
|
||||||
|
|
||||||
@CommandLine.Option(names = {"-s", "--sentence"}, description = "mnemonic sentence", required = true)
|
@CommandLine.Option(names = {"-s", "--sentence"}, description = "mnemonic sentence", required = true)
|
||||||
String sentence;
|
String sentence;
|
|
@ -1,4 +1,4 @@
|
||||||
package io.rudefox.cold;
|
package io.rudefox.burrow;
|
||||||
|
|
||||||
import com.bjdweck.test.CliTestFixture;
|
import com.bjdweck.test.CliTestFixture;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
@ -59,6 +59,6 @@ class mnemonic_8_sided_dice_tests extends CliTestFixture {
|
||||||
|
|
||||||
setInput();
|
setInput();
|
||||||
|
|
||||||
RudefoxCold.main(getArgs());
|
RudefoxBurrow.main(getArgs());
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
package io.rudefox.cold;
|
package io.rudefox.burrow;
|
||||||
|
|
||||||
import com.bjdweck.test.CliTestFixture;
|
import com.bjdweck.test.CliTestFixture;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
@ -66,6 +66,6 @@ class mnemonic_command_tests extends CliTestFixture {
|
||||||
|
|
||||||
setInput();
|
setInput();
|
||||||
|
|
||||||
RudefoxCold.main(getArgs());
|
RudefoxBurrow.main(getArgs());
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
package io.rudefox.cold;
|
package io.rudefox.burrow;
|
||||||
|
|
||||||
import com.bjdweck.test.CliTestFixture;
|
import com.bjdweck.test.CliTestFixture;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
@ -140,6 +140,6 @@ class wallet_command_tests extends CliTestFixture {
|
||||||
|
|
||||||
ServiceLocator.DEFAULT_CHARSET = StandardCharsets.UTF_8;
|
ServiceLocator.DEFAULT_CHARSET = StandardCharsets.UTF_8;
|
||||||
|
|
||||||
RudefoxCold.main(getArgs());
|
RudefoxBurrow.main(getArgs());
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user