Package utils

Class WalletEqualityUtils

java.lang.Object
utils.WalletEqualityUtils

public class WalletEqualityUtils extends Object
Utilities to deep compare wallets.
  • Constructor Details

    • WalletEqualityUtils

      public WalletEqualityUtils()
  • Method Details

    • testWalletEqualityOnChain

      public static void testWalletEqualityOnChain(MoneroWallet w1, MoneroWallet w2)
      Compares two wallets for equality using only on-chain data. This test will sync the two wallets until their height is equal to guarantee equal state.
      Parameters:
      w1 - a wallet to compare
      w2 - a wallet to compare