Exemplo n.º 1
0
        public XrpDepositsHistoryProvider(
            IBlockchainsProvider blockchainsProvider,
            XrpSettings settings)
        {
            _ripple   = blockchainsProvider.GetRipple();
            _settings = settings;

            if (_settings.CacheExpirationPeriod == default(TimeSpan))
            {
                _settings.CacheExpirationPeriod = TimeSpan.FromMinutes(5);
            }

            _memoryCache = new MemoryCache(new MemoryCacheOptions());
        }
 public XrpAddressNormalizer(IBlockchainsProvider blockchainsProvider)
 {
     _ripple = blockchainsProvider.GetRipple();
 }