@Test public void watchingAddresses() { List<Address> watchingAddresses = pocket.getAddressesToWatch(); assertEquals(40, watchingAddresses.size()); for (int i = 0; i < addresses.size(); i++) { assertEquals(addresses.get(i), watchingAddresses.get(i).toString()); } }
@Override public String toString() { return WalletPocketHD.class.getSimpleName() + " " + id.substring(0, 4)+ " " + coinType; }
WalletPocketHD extends AbstractWallet { @Override public String toString() { return WalletPocketHD.class.getSimpleName() + " " + id.substring(0, 4)+ " " + coinType; } }
WalletPocketHD extends AbstractWallet { @Override public String toString() { return WalletPocketHD.class.getSimpleName() + " " + id.substring(0, 4)+ " " + coinType; } WalletPocketHD(DeterministicKey rootKey, CoinType coinType,
                          @Nullable KeyCrypter keyCrypter, @Nullable KeyParameter key);   WalletPocketHD(SimpleHDKeyChain keys, CoinType coinType);   WalletPocketHD(String id, SimpleHDKeyChain keys, CoinType coinType); }
WalletPocketHD extends AbstractWallet { @Override public String toString() { return WalletPocketHD.class.getSimpleName() + " " + id.substring(0, 4)+ " " + coinType; } WalletPocketHD(DeterministicKey rootKey, CoinType coinType,
                          @Nullable KeyCrypter keyCrypter, @Nullable KeyParameter key);   WalletPocketHD(SimpleHDKeyChain keys, CoinType coinType);   WalletPocketHD(String id, SimpleHDKeyChain keys, CoinType coinType); int getAccountIndex(); @Override boolean isEquals(WalletAccount other); @Override boolean isEncryptable(); @Override boolean isEncrypted(); @Nullable @Override KeyCrypter getKeyCrypter(); @Override void encrypt(KeyCrypter keyCrypter, KeyParameter aesKey); @Override void decrypt(KeyParameter aesKey); SendRequest sendCoinsOffline(Address address, Coin amount); SendRequest sendCoinsOffline(Address address, Coin amount, @Nullable String password); SendRequest sendCoinsOffline(Address address, Coin amount, @Nullable KeyParameter aesKey); @Override boolean isAddressMine(Address address); @Override boolean isPubKeyHashMine(byte[] pubkeyHash); @Override boolean isWatchedScript(Script script); @Override boolean isPubKeyMine(byte[] pubkey); @Override boolean isPayToScriptHashMine(byte[] payToScriptHash); void completeAndSignTx(SendRequest request); void completeTx(SendRequest req); void signTransaction(SendRequest req); @Nullable @Override ECKey findKeyFromPubHash(byte[] pubkeyHash); @Nullable @Override ECKey findKeyFromPubKey(byte[] pubkey); @Nullable @Override RedeemData findRedeemDataFromScriptHash(byte[] bytes); @Override Address getChangeAddress(); @Override Address getReceiveAddress(); @Override Address getRefundAddress(); Address getReceiveAddress(boolean isManualAddressManagement); Address getRefundAddress(boolean isManualAddressManagement); @Nullable Address getLastUsedAddress(SimpleHDKeyChain.KeyPurpose purpose); boolean canCreateFreshReceiveAddress(); Address getFreshReceiveAddress(); Address getFreshReceiveAddress(boolean isManualAddressManagement); int getNumberIssuedReceiveAddresses(); List<Address> getIssuedReceiveAddresses(); Set<Address> getUsedAddresses(); Address getAddress(SimpleHDKeyChain.KeyPurpose purpose,
                              boolean isManualAddressManagement); List<Address> getActiveAddresses(); void markAddressAsUsed(Address address); @Override String toString(); }
WalletPocketHD extends AbstractWallet { @Override public String toString() { return WalletPocketHD.class.getSimpleName() + " " + id.substring(0, 4)+ " " + coinType; } WalletPocketHD(DeterministicKey rootKey, CoinType coinType,
                          @Nullable KeyCrypter keyCrypter, @Nullable KeyParameter key);   WalletPocketHD(SimpleHDKeyChain keys, CoinType coinType);   WalletPocketHD(String id, SimpleHDKeyChain keys, CoinType coinType); int getAccountIndex(); @Override boolean isEquals(WalletAccount other); @Override boolean isEncryptable(); @Override boolean isEncrypted(); @Nullable @Override KeyCrypter getKeyCrypter(); @Override void encrypt(KeyCrypter keyCrypter, KeyParameter aesKey); @Override void decrypt(KeyParameter aesKey); SendRequest sendCoinsOffline(Address address, Coin amount); SendRequest sendCoinsOffline(Address address, Coin amount, @Nullable String password); SendRequest sendCoinsOffline(Address address, Coin amount, @Nullable KeyParameter aesKey); @Override boolean isAddressMine(Address address); @Override boolean isPubKeyHashMine(byte[] pubkeyHash); @Override boolean isWatchedScript(Script script); @Override boolean isPubKeyMine(byte[] pubkey); @Override boolean isPayToScriptHashMine(byte[] payToScriptHash); void completeAndSignTx(SendRequest request); void completeTx(SendRequest req); void signTransaction(SendRequest req); @Nullable @Override ECKey findKeyFromPubHash(byte[] pubkeyHash); @Nullable @Override ECKey findKeyFromPubKey(byte[] pubkey); @Nullable @Override RedeemData findRedeemDataFromScriptHash(byte[] bytes); @Override Address getChangeAddress(); @Override Address getReceiveAddress(); @Override Address getRefundAddress(); Address getReceiveAddress(boolean isManualAddressManagement); Address getRefundAddress(boolean isManualAddressManagement); @Nullable Address getLastUsedAddress(SimpleHDKeyChain.KeyPurpose purpose); boolean canCreateFreshReceiveAddress(); Address getFreshReceiveAddress(); Address getFreshReceiveAddress(boolean isManualAddressManagement); int getNumberIssuedReceiveAddresses(); List<Address> getIssuedReceiveAddresses(); Set<Address> getUsedAddresses(); Address getAddress(SimpleHDKeyChain.KeyPurpose purpose,
                              boolean isManualAddressManagement); List<Address> getActiveAddresses(); void markAddressAsUsed(Address address); @Override String toString();  }