src/Stratis.Features.FederatedPeg/TargetChain/CrossChainTransferStore.cs
/// <summary>
/// The store will chase the wallet tip. This will ensure that we can rely on
/// information recorded in the wallet such as the list of unspent UTXO's.
/// </summary>
/// <returns>The height to which the wallet has been synced.</returns>
The store will chase the wallet tip. This will ensure that we can rely on
information recorded in the wallet such as the list of unspent UTXO's.
The store will chase the wallet tip . This will ensure that we can rely on information recorded in the wallet such as the list of unspent UTXO ' s .
private HashHeightPair TipToChase()
        {
            FederationWallet wallet = this.federationWalletManager.GetWallet();
            if (wallet?.LastBlockSyncedHeight == null)
            {
                this.logger.LogTrace("(-)[GENESIS]");
                return new HashHeightPair(this.network.GenesisHash, 0);
            }
            return new HashHeightPair(wallet.LastBlockSyncedHash, (int)wallet.LastBlockSyncedHeight);
        }
private HashHeightPair TipToChase ( ) { FederationWallet wallet = this . federationWalletManager . GetWallet ( ) ; if ( wallet ? . LastBlockSyncedHeight == null ) { this . logger . LogTrace ( " " ) ; return new HashHeightPair ( this . network . GenesisHash , 0 ) ; } return new HashHeightPair ( wallet . LastBlockSyncedHash , ( int ) wallet . LastBlockSyncedHeight ) ; }
The store will chase the wallet tip.
The store will chase the wallet tip .
The height to which the wallet has been synced.
The height to which the wallet has been synced .