@Test public void validateBTC_shouldValidate() { assertTrue(BitcoinAddressValidator.validate("2NBMEXXS4v8ubajzfQUjYvh2ptLkxzH8uTC", true)); assertTrue(BitcoinAddressValidator.validate("2N9fzq66uZYQXp7uqrPBH6jKBhjrgTzpGCy", true)); assertTrue(BitcoinAddressValidator.validate("1AGNa15ZQXAZUgFiqJ2i7Z2DPU2J6hW62i", false)); assertTrue(BitcoinAddressValidator.validate("1Q1pE5vPGEEMqRcVRMbtBK842Y6Pzo6nK9", false)); assertTrue(BitcoinAddressValidator.validate("3R2MPpTNQLCNs13qnHz89Rm82jQ27bAwft", false)); assertTrue(BitcoinAddressValidator.validate("34QjytsE8GVRbUBvYNheftqJ5CHfDHvQRD", false)); assertTrue(BitcoinAddressValidator.validate("3GsAUrD4dnCqtaTTUzzsQWoymHNkEFrgGF", false)); assertTrue(BitcoinAddressValidator.validate("3NagLCvw8fLwtoUrK7s2mJPy9k6hoyWvTU", false)); assertTrue(BitcoinAddressValidator.validate("mjn127C5wRQCULksMYMFHLp9UTdQuCfbZ9", true)); }
public static boolean validate(String addrress) { return validate(addrress, WalletManager.getInstance().getNetworkType() != NetworkType.NetworkType_Mainnet); }
BitcoinAddressValidator { public static boolean validate(String addrress) { return validate(addrress, WalletManager.getInstance().getNetworkType() != NetworkType.NetworkType_Mainnet); } }
BitcoinAddressValidator { public static boolean validate(String addrress) { return validate(addrress, WalletManager.getInstance().getNetworkType() != NetworkType.NetworkType_Mainnet); }  }
BitcoinAddressValidator { public static boolean validate(String addrress) { return validate(addrress, WalletManager.getInstance().getNetworkType() != NetworkType.NetworkType_Mainnet); }  static boolean validate(String addrress); static boolean validate(String addrress, boolean testnet); }
BitcoinAddressValidator { public static boolean validate(String addrress) { return validate(addrress, WalletManager.getInstance().getNetworkType() != NetworkType.NetworkType_Mainnet); }  static boolean validate(String addrress); static boolean validate(String addrress, boolean testnet);  }