Example #1
0
        public DashBalanceProvider(
            ILogFactory logFactory,
            DashSettings settings)
        {
            NBitcoin.Altcoins.Dash.Instance.EnsureRegistered();

            _network         = NBitcoin.Altcoins.Dash.Instance.Mainnet;
            _balanceProvider = new InsightApiBalanceProvider
                               (
                logFactory,
                new InsightApiClient(settings.InsightApiUrl),
                NormalizeOrDefault
                               );
        }
Example #2
0
 public void UpdateActionItem(DashSettings record)
 {
     DataContext.Table <DashSettings>().UpdateRecord(record);
 }
Example #3
0
 public void AddNewActionItem(DashSettings record)
 {
     DataContext.Table <DashSettings>().AddNewRecord(record);
 }