mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 23:06:39 +01:00
commit
971a91eaf9
4 changed files with 0 additions and 73 deletions
|
@ -1,28 +0,0 @@
|
|||
/*
|
||||
* This file is part of Bisq.
|
||||
*
|
||||
* Bisq is free software: you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Affero General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or (at
|
||||
* your option) any later version.
|
||||
*
|
||||
* Bisq is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
|
||||
* License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with Bisq. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package bisq.asset.coins;
|
||||
|
||||
import bisq.asset.Base58BitcoinAddressValidator;
|
||||
import bisq.asset.Coin;
|
||||
|
||||
public class BitcoinCash extends Coin {
|
||||
|
||||
public BitcoinCash() {
|
||||
super("Bitcoin Cash", "BCH", new Base58BitcoinAddressValidator());
|
||||
}
|
||||
}
|
|
@ -3,7 +3,6 @@
|
|||
# See bisq.asset.Asset and bisq.asset.AssetRegistry for further details.
|
||||
# See https://bisq.network/list-asset for complete instructions.
|
||||
bisq.asset.coins.Actinium
|
||||
bisq.asset.coins.BitcoinCash
|
||||
bisq.asset.coins.BitcoinClashic
|
||||
bisq.asset.coins.BitcoinRhodium
|
||||
bisq.asset.coins.Bitcoin$Mainnet
|
||||
|
|
|
@ -1,43 +0,0 @@
|
|||
/*
|
||||
* This file is part of Bisq.
|
||||
*
|
||||
* Bisq is free software: you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Affero General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or (at
|
||||
* your option) any later version.
|
||||
*
|
||||
* Bisq is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
|
||||
* License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with Bisq. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package bisq.asset.coins;
|
||||
|
||||
import bisq.asset.AbstractAssetTest;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
public class BitcoinCashTest extends AbstractAssetTest {
|
||||
|
||||
public BitcoinCashTest() {
|
||||
super(new BitcoinCash());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testValidAddresses() {
|
||||
assertValidAddress("1HQQgsvLTgN9xD9hNmAgAreakzVzQUSLSH");
|
||||
assertValidAddress("1MEbUJ5v5MdDEqFJGz4SZp58KkaLdmXZ85");
|
||||
assertValidAddress("34dvotXMg5Gxc37TBVV2e5GUAfCFu7Ms4g");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testInvalidAddresses() {
|
||||
assertInvalidAddress("21HQQgsvLTgN9xD9hNmAgAreakzVzQUSLSHa");
|
||||
assertInvalidAddress("1HQQgsvLTgN9xD9hNmAgAreakzVzQUSLSHs");
|
||||
assertInvalidAddress("1HQQgsvLTgN9xD9hNmAgAreakzVzQUSLSH#");
|
||||
}
|
||||
}
|
|
@ -152,7 +152,6 @@ public class AltCoinAccountsView extends PaymentAccountsView<GridPane, AltCoinAc
|
|||
.useIUnderstandButton()
|
||||
.show();
|
||||
break;
|
||||
case "BCH":
|
||||
case "BCHC":
|
||||
new Popup<>().information(Res.get("account.altcoin.popup.bch"))
|
||||
.useIUnderstandButton()
|
||||
|
|
Loading…
Add table
Reference in a new issue