private bool TryUnlockWalletForStakingOnly(out string errorMessage)
        {
            WalletHelper helper = new WalletHelper(m_dataConnector);

            // Attempt 2 unlocks to work around a wallet bug where the first unlock for staking only seems to unlock the whole wallet.
            if (!helper.TryUnlockWallet(
                    m_walletPassphrase,
                    m_config.RunFrequencyInMilliSeconds * 3,
                    true,
                    out errorMessage))
            {
                return(false);
            }

            return(helper.TryUnlockWallet(
                       m_walletPassphrase,
                       m_config.RunFrequencyInMilliSeconds * 3,
                       true,
                       out errorMessage));
        }
        private bool TryUnlockWallet(out string errorMessage)
        {
            WalletHelper helper = new WalletHelper(m_dataConnector);

            return(helper.TryUnlockWallet(m_walletPassphrase, 5, false, out errorMessage));
        }