Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use bisq's bitcoinj 0.15.8 - september 2020 #4504

Merged
merged 40 commits into from
Sep 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
e9a8be3
Use bitcoinj 0.15.8 (commit 86c7094)
oscarguindzberg Apr 22, 2019
41556f2
bitcoinj 0.15: Update depencencies to match bitcoinj versions
oscarguindzberg Apr 16, 2019
3aea094
bitcoinj 0.15: bitcoinj exclude dependency bcprov-jdk15on because alr…
oscarguindzberg Apr 9, 2019
9f76737
bitcoinj 0.15: Update modified dependencies hashes.
oscarguindzberg Apr 16, 2019
423ffa8
bitcoinj 0.15: Futures.addCallback() in guava 28 requires an executor.
oscarguindzberg Apr 16, 2019
850ae9a
bitcoinj 0.15: Use new Wallet.toString() with includeLookAhead boolea…
oscarguindzberg Apr 8, 2019
d4ac45d
bitcoinj 0.15: bitcoinj moved from spongycastle to bouncycastle.
oscarguindzberg Apr 9, 2019
da8ab93
bitcoinj 0.15: NetworkParameters.acceptableAddressCodes was removed.
oscarguindzberg Apr 9, 2019
f0735a3
bitcoinj 0.15: ScriptException moved to another package.
oscarguindzberg Apr 9, 2019
46f2ba6
bitcoinj 0.15: WalletEventListener was replaced by more granular list…
oscarguindzberg Apr 9, 2019
7356b64
bitcoinj 0.15: Use LegacyAddress.fromBase58() instead of Address.from…
oscarguindzberg Apr 9, 2019
26b20f0
bitcoinj 0.15: replace ECKey.toAddress() with LegacyAddress.fromKey().
oscarguindzberg Sep 14, 2020
87481cd
bitcoinj 0.15: Replace usage of bitcoinj's removed methods with new o…
oscarguindzberg Apr 11, 2019
7e57bdb
bitcoinj 0.15: Deal with methods throwing SignatureDecodeException.
oscarguindzberg Apr 11, 2019
e57c301
bitcoinj 0.15: Replace Utils.closeUnchecked() to Closeables.closeQuie…
oscarguindzberg Apr 11, 2019
8e45633
bitcoinj 0.15: Use PeerAddress constructor with NetworkParameters par…
oscarguindzberg Apr 11, 2019
4348f66
bitcoinj 0.15: PeerAddress: don't set addr when already using hostname.
oscarguindzberg Apr 16, 2019
3717323
bitcoinj 0.15: PeerAddress: Use InetSocketAddress constructor instead…
oscarguindzberg Apr 16, 2019
7b172c1
bitcoinj 0.15: PeerAddress: BtcNodeConverterTest fixes.
oscarguindzberg Apr 16, 2019
e5fa24e
bitcoinj 0.15: Bip44 refactor.
oscarguindzberg Apr 15, 2019
6e50996
bitcoinj 0.15: Remove call to PeerGroup.setIgnoreHttpSeeds(true).
oscarguindzberg Apr 16, 2019
9a9b067
bitcoinj 0.15: Replace deprecated Transaction.getHashAsString with Tr…
oscarguindzberg Apr 22, 2019
76e6955
bitcoinj 0.15: Replace deprecated Transaction.getHash() with Transact…
oscarguindzberg Apr 22, 2019
08cc836
bitcoinj 0.15: Fix TransactionAwareTradeTest
oscarguindzberg May 9, 2019
d8e0ba7
bitcoinj 0.15: Replace deprecated Script methods with ScriptPattern m…
oscarguindzberg Apr 22, 2019
5a00770
bitcoinj 0.15: BisqRiskAnalisys: Add commented out code to match orig…
oscarguindzberg Apr 22, 2019
053b22f
Prevent seednode to use older guava version
oscarguindzberg May 19, 2019
b472e38
Update btcd-cli4j to 27b9433
oscarguindzberg May 30, 2019
00c9f40
WalletConfig.preferredOutputScriptType: make it a method variable
oscarguindzberg May 21, 2020
d0b00fb
Use bitcoinj 0.15.8 (commit 0d7762b)
oscarguindzberg Aug 27, 2020
4de39fc
Make it clear P2PKH is used always used
oscarguindzberg Sep 9, 2020
daaacec
Use bitcoinj 0.15.8 (commit 0d98efb)
oscarguindzberg Sep 9, 2020
02559f2
Revert "bitcoinj 0.15: Remove call to PeerGroup.setIgnoreHttpSeeds(tr…
oscarguindzberg Sep 9, 2020
f342c89
Code polishing to make Codacy happy
oscarguindzberg Sep 9, 2020
f1738f0
Code polishing to make Codacy happier
oscarguindzberg Sep 9, 2020
0d25ca1
Remove okhttp and okio dependencies
oscarguindzberg Sep 16, 2020
24da468
bugfix: When creating a new BSQ wallet, use the BTC wallet seed
oscarguindzberg Sep 17, 2020
b89e9e1
Code quality: Use {} in if oneliners
oscarguindzberg Sep 17, 2020
9a7439b
Break lines at 120 characters
oscarguindzberg Sep 17, 2020
fc70c11
ok codacy, you win
oscarguindzberg Sep 18, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

package bisq.asset;

import org.bitcoinj.core.Address;
import org.bitcoinj.core.AddressFormatException;
import org.bitcoinj.core.LegacyAddress;
import org.bitcoinj.core.NetworkParameters;
import org.bitcoinj.params.MainNetParams;

Expand All @@ -27,7 +27,7 @@
*
* @author Chris Beams
* @since 0.7.0
* @see org.bitcoinj.core.Address#fromBase58(NetworkParameters, String)
* @see org.bitcoinj.core.LegacyAddress#fromBase58(NetworkParameters, String)
*/
public class Base58BitcoinAddressValidator implements AddressValidator {

Expand All @@ -44,7 +44,7 @@ public Base58BitcoinAddressValidator(NetworkParameters networkParameters) {
@Override
public AddressValidationResult validate(String address) {
try {
Address.fromBase58(networkParameters, address);
LegacyAddress.fromBase58(networkParameters, address);
} catch (AddressFormatException ex) {
return AddressValidationResult.invalidAddress(ex);
}
Expand Down
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Actinium.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public static class ActiniumParams extends NetworkParametersAdapter {
public ActiniumParams() {
addressHeader = 53;
p2shHeader = 55;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Adeptio.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public static class AdeptioParams extends NetworkParametersAdapter {
public AdeptioParams() {
addressHeader = 23;
p2shHeader = 16;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Animecoin.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public static class AnimecoinMainNetParams extends NetworkParametersAdapter {
public AnimecoinMainNetParams() {
this.addressHeader = 23;
this.p2shHeader = 9;
this.acceptableAddressCodes = new int[]{this.addressHeader, this.p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Australiacash.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public static class AustraliacashParams extends NetworkParametersAdapter {
public AustraliacashParams() {
addressHeader = 23;
p2shHeader = 5;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/BitcoinRhodium.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public static class BitcoinRhodiumParams extends NetworkParametersAdapter {
public BitcoinRhodiumParams() {
addressHeader = 61;
p2shHeader = 123;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
Expand Down
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Bitmark.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ public static class BitmarkParams extends NetworkParametersAdapter {
public BitmarkParams() {
addressHeader = 85;
p2shHeader = 5;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}

Expand Down
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/CTSCoin.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public static class CtscMainNetParams extends NetworkParametersAdapter {
public CtscMainNetParams() {
this.addressHeader = 66;
this.p2shHeader = 16;
this.acceptableAddressCodes = new int[]{this.addressHeader, this.p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Chaucha.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public static class ChauchaParams extends NetworkParametersAdapter {
public ChauchaParams() {
addressHeader = 88;
p2shHeader = 50;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
Expand Down
3 changes: 1 addition & 2 deletions assets/src/main/java/bisq/asset/coins/Credits.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public static class CreditsParams extends NetworkParametersAdapter {
public CreditsParams() {
addressHeader = 28;
p2shHeader = 5;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/DSTRA.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public static class DSTRAParams extends NetworkParametersAdapter {
public DSTRAParams() {
addressHeader = 30;
p2shHeader = 33;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/DarkPay.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public static class DarkPayMainNetParams extends NetworkParametersAdapter {
public DarkPayMainNetParams() {
this.addressHeader = 31;
this.p2shHeader = 60;
this.acceptableAddressCodes = new int[]{this.addressHeader, this.p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Dash.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public static class DashMainNetParams extends NetworkParametersAdapter {
public DashMainNetParams() {
this.addressHeader = 76;
this.p2shHeader = 16;
this.acceptableAddressCodes = new int[]{this.addressHeader, this.p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/DeepOnion.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public DeepOnionParams() {
super();
addressHeader = 31;
p2shHeader = 78;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Dextro.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ public DextroParams() {
super();
addressHeader = 30;
p2shHeader = 90;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Dogecoin.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ public static class DogecoinMainNetParams extends NetworkParametersAdapter {
public DogecoinMainNetParams() {
this.addressHeader = 30;
this.p2shHeader = 22;
this.acceptableAddressCodes = new int[]{this.addressHeader, this.p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Doichain.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ public static class DoichainParams extends NetworkParametersAdapter {
public DoichainParams() {
addressHeader = 52;
p2shHeader = 13;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Donu.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public static class DonuParams extends NetworkParametersAdapter {
public DonuParams() {
addressHeader = 53;
p2shHeader = 5;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Emercoin.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ public static class EmercoinMainNetParams extends NetworkParametersAdapter {
public EmercoinMainNetParams() {
this.addressHeader = 33;
this.p2shHeader = 92;
this.acceptableAddressCodes = new int[]{this.addressHeader, this.p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Faircoin.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public static class FaircoinParams extends NetworkParametersAdapter {
public FaircoinParams() {
addressHeader = 95;
p2shHeader = 36;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}

Expand Down
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Fujicoin.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public static class FujicoinParams extends NetworkParametersAdapter {
public FujicoinParams() {
addressHeader = 36;
p2shHeader = 16;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Galilel.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public static class GalilelMainNetParams extends NetworkParametersAdapter {
public GalilelMainNetParams() {
this.addressHeader = 68;
this.p2shHeader = 16;
this.acceptableAddressCodes = new int[]{this.addressHeader, this.p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/GambleCoin.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ public GambleCoinParams() {
super();
addressHeader = 28;
p2shHeader = 18;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Genesis.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ public static class GenesisParams extends NetworkParametersAdapter {
public GenesisParams() {
addressHeader = 28;
p2shHeader = 63;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
Expand Down
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Hatch.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public static class HatchMainNetParams extends NetworkParametersAdapter {
public HatchMainNetParams() {
this.addressHeader = 76;
this.p2shHeader = 16;
this.acceptableAddressCodes = new int[]{this.addressHeader, this.p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Helium.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public static class HeliumParams extends NetworkParametersAdapter {
public HeliumParams() {
addressHeader = 63;
p2shHeader = 5;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/IdaPay.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ public IdaPayParams() {
super();
addressHeader = 29;
p2shHeader = 36;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
3 changes: 1 addition & 2 deletions assets/src/main/java/bisq/asset/coins/Kekcoin.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public KekcoinParams() {
super();
addressHeader = 45;
p2shHeader = 88;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public static class KydMainNetParams extends NetworkParametersAdapter {
public KydMainNetParams() {
this.addressHeader = 78;
this.p2shHeader = 85;
this.acceptableAddressCodes = new int[]{this.addressHeader, this.p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Kore.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public static class KoreMainNetParams extends NetworkParametersAdapter {
public KoreMainNetParams() {
this.addressHeader = 45;
this.p2shHeader = 85;
this.acceptableAddressCodes = new int[]{this.addressHeader, this.p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/LBRYCredits.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ public static class LBRYCreditsMainNetParams extends NetworkParametersAdapter {
public LBRYCreditsMainNetParams() {
this.addressHeader = 0x55;
this.p2shHeader = 0x7a;
this.acceptableAddressCodes = new int[]{this.addressHeader, this.p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Litecoin.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public static class LitecoinMainNetParams extends NetworkParametersAdapter {
public LitecoinMainNetParams() {
this.addressHeader = 48;
this.p2shHeader = 5;
this.acceptableAddressCodes = new int[]{this.addressHeader, this.p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/LitecoinPlus.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ public static class LitecoinPlusMainNetParams extends NetworkParametersAdapter {
public LitecoinPlusMainNetParams() {
this.addressHeader = 75;
this.p2shHeader = 8;
this.acceptableAddressCodes = new int[]{this.addressHeader, this.p2shHeader};
}
}
}
Expand Down
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Lytix.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public static class LytixParams extends NetworkParametersAdapter {
public LytixParams() {
addressHeader = 19;
p2shHeader = 11;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/MobitGlobal.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public static class MobitGlobalParams extends NetworkParametersAdapter {
public MobitGlobalParams() {
addressHeader = 50;
p2shHeader = 110;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/MonetaryUnit.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public static class MonetaryUnitParams extends NetworkParametersAdapter {
public MonetaryUnitParams() {
addressHeader = 16;
p2shHeader = 76;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
3 changes: 1 addition & 2 deletions assets/src/main/java/bisq/asset/coins/Myce.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@ public class Myce extends Coin {
public Myce() {
super("Myce", "YCE", new Base58BitcoinAddressValidator(new MyceParams()));
}

public static class MyceParams extends NetworkParametersAdapter {
public MyceParams() {
addressHeader = 50;
p2shHeader = 85;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Navcoin.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public static class NavcoinParams extends NetworkParametersAdapter {
public NavcoinParams() {
this.addressHeader = 53;
this.p2shHeader = 85;
this.acceptableAddressCodes = new int[]{this.addressHeader, this.p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/PIVX.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public static class PIVXParams extends NetworkParametersAdapter {
public PIVXParams() {
addressHeader = 30;
p2shHeader = 13;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/PZDC.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public static class PZDCParams extends NetworkParametersAdapter {
public PZDCParams() {
addressHeader = 55;
p2shHeader = 13;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
3 changes: 1 addition & 2 deletions assets/src/main/java/bisq/asset/coins/Particl.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public static class ParticlMainNetParams extends NetworkParametersAdapter {
public ParticlMainNetParams() {
this.addressHeader = 56;
this.p2shHeader = 60;
this.acceptableAddressCodes = new int[]{this.addressHeader, this.p2shHeader};
}
}
public static class ParticlMainNetAddressValidator extends Base58BitcoinAddressValidator {
Expand All @@ -49,5 +48,5 @@ public AddressValidationResult validate(String address) {
return super.validate(address);
}
}

}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Pinkcoin.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public static class PinkcoinParams extends NetworkParametersAdapter {
public PinkcoinParams() {
addressHeader = 3;
p2shHeader = 28;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/QMCoin.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public static class QMCoinParams extends NetworkParametersAdapter {
public QMCoinParams() {
addressHeader = 58;
p2shHeader = 120;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
1 change: 0 additions & 1 deletion assets/src/main/java/bisq/asset/coins/Qbase.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public static class QbaseParams extends NetworkParametersAdapter {
public QbaseParams() {
addressHeader = 25;
p2shHeader = 5;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
3 changes: 1 addition & 2 deletions assets/src/main/java/bisq/asset/coins/Radium.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public RadiumParams() {
super();
addressHeader = 76;
p2shHeader = 58;
acceptableAddressCodes = new int[]{addressHeader, p2shHeader};
}
}
}
}
Loading