public IXICore(IXISettings settings, IConsensus consensus, IDataAccessor dataAccessor, ITangleAccessor tangleAccessor)
 {
     _dataAccessor   = dataAccessor;
     _tangleAccessor = tangleAccessor;
     _consensus      = consensus;
     _settings       = settings;
 }
Exemple #2
0
        public SimpleDataAccessor(CoinName coinName, IXISettings settings, ITangleAccessor tangleAccessor)
        {
            _coinName       = coinName.Name;
            _tangleAccessor = tangleAccessor;
            _settings       = settings;

            InitDB();
        }
 public SimpleConsensus(IXISettings settings, IDataAccessor dataAccessor, ITangleAccessor tangleAccessor)
 {
     _dataAccessor   = dataAccessor;
     _tangleAccessor = tangleAccessor;
     _settings       = settings;
 }