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;
        }
示例#2
0
        public DashService(string network)
        {
            DashNetworks.Register();

            _network = Network.GetNetwork(network);
        }