示例#1
0
 public void ResyncTransaction()
 {
     ClassWalletObject.BlockTransactionSync = true;
     ClassFormPhase.WalletXiropht.StopUpdateTransactionHistory(true, false);
     ClassWalletTransactionCache.RemoveWalletCache(ClassWalletObject.WalletConnect.WalletAddress);
     ClassWalletTransactionAnonymityCache.RemoveWalletCache(ClassWalletObject.WalletConnect.WalletAddress);
     ClassWalletTransactionCache.ListTransaction.Clear();
     ClassWalletTransactionAnonymityCache.ListTransaction.Clear();
     ClassWalletObject.InSyncTransaction          = false;
     ClassWalletObject.InSyncTransactionAnonymity = false;
     ClassWalletObject.BlockTransactionSync       = false;
     ClassFormPhase.WalletXiropht.StartUpdateTransactionHistory();
 }
示例#2
0
 public void ResyncTransaction()
 {
     ClassWalletObject.BlockTransactionSync = true;
     ClassFormPhase.WalletXiropht.StopUpdateTransactionHistory(true, true);
     if (ClassWalletTransactionCache.RemoveWalletCache(ClassWalletObject.WalletConnect.WalletAddress))
     {
         if (ClassWalletTransactionAnonymityCache.RemoveWalletCache(ClassWalletObject.WalletConnect.WalletAddress))
         {
             ClassWalletTransactionCache.ListTransaction.Clear();
             ClassWalletTransactionAnonymityCache.ListTransaction.Clear();
             ClassWalletObject.InSyncTransaction          = false;
             ClassWalletObject.InSyncTransactionAnonymity = false;
             ClassWalletObject.BlockTransactionSync       = false;
             ClassWalletObject.DisconnectWholeRemoteNodeSyncAsync(true, true);
             ClassFormPhase.WalletXiropht.EnableUpdateTransactionWallet = false;
             ClassFormPhase.WalletXiropht.StopAndRestartTransactionHistory();
         }
     }
 }