async Task <String> GetDifficulty()
        {
            string hashrate = await DaemonModule.CurrentDifficulty();

            Difficulty.Text = hashrate;
            return(hashrate);
        }
        async Task <String> GetSupply()
        {
            string hashrate = await DaemonModule.CurrentSupply();

            Supply.Text = hashrate;
            return(hashrate);
        }
        async Task <String> GetHeight()
        {
            string hashrate = await DaemonModule.CurrentHeight();

            Height.Text = hashrate;
            return(hashrate);
        }
        async Task <String> GetHashRate()
        {
            string hashrate = await DaemonModule.CurrentHashrate();

            HashRate.Text = hashrate;
            return(hashrate);
        }
Example #5
0
 protected virtual void AddModule(string moduleName, DaemonModule module)
 {
     _modules[moduleName] = module;
 }