Ejemplo n.º 1
0
 private void FindPoolAccount()
 {
     try
     {
         _poolAccount = _daemonClient.GetAccount(_poolConfig.Wallet.Adress);
     }
     catch (RpcException e)
     {
         _logger.Error("Error getting account for pool central wallet address: {0:l} - {1:l}", _poolConfig.Wallet.Adress, e.Message);
     }
 }
Ejemplo n.º 2
0
 private void GetPoolAccount()
 {
     try
     {
         _poolAccount = _daemonClient.GetAccount(_poolConfig.Wallet.Adress);
     }
     catch (RpcException e)
     {
         _logger.Error("Cannot determine pool's central wallet account: {0:l}", e.Message);
     }
 }
Ejemplo n.º 3
0
 private void FindPoolAccount()
 {
     try
     {
         _poolAccount = !_poolConfig.Coin.Options.UseDefaultAccount // if UseDefaultAccount is not set
             ? _daemonClient.GetAccount(_poolConfig.Wallet.Adress)  // find the account of the our pool address.
             : "";                                                  // use the default account.
     }
     catch (RpcException e)
     {
         _logger.Error("Error getting account for pool central wallet address: {0:l} - {1:l}", _poolConfig.Wallet.Adress, e.Message);
     }
 }
Ejemplo n.º 4
0
 private bool GetPoolAccount()
 {
     try
     {
         _poolAccount = !_poolConfig.Coin.Options.UseDefaultAccount // if UseDefaultAccount is not set
             ? _daemonClient.GetAccount(_poolConfig.Wallet.Adress)  // find the account of the our pool address.
             : "";                                                  // use the default account.
         return(true);
     }
     catch (RpcException e)
     {
         _logger.Error("Cannot determine pool's central wallet account: {0:l}", e.Message);
         return(false);
     }
 }
Ejemplo n.º 5
0
        private void GetPoolAccount()
        {
            var result = _daemonClient.GetAccount(_walletConfig.Adress);

            _poolAccount = result;
        }