public DashService(ILogFactory logFactory,
                           IDashInsightClient dashInsightClient,
                           IBroadcastRepository broadcastRepository,
                           IBroadcastInProgressRepository broadcastInProgressRepository,
                           IBalanceRepository balanceRepository,
                           IBalancePositiveRepository balancePositiveRepository,
                           string network,
                           decimal fee,
                           int minConfirmations)
        {
            DashNetworks.Register();

            _log = logFactory.CreateLog(this);
            _dashInsightClient             = dashInsightClient;
            _broadcastRepository           = broadcastRepository;
            _broadcastInProgressRepository = broadcastInProgressRepository;
            _network          = Network.GetNetwork(network);
            _fee              = fee;
            _minConfirmations = minConfirmations;
        }
Exemplo n.º 2
0
        public DashService(string network)
        {
            DashNetworks.Register();

            _network = Network.GetNetwork(network);
        }