public FederationGatewayFeature( ILoggerFactory loggerFactory, Signals signals, IDepositExtractor depositExtractor, IWithdrawalExtractor withdrawalExtractor, IWithdrawalReceiver withdrawalReceiver, IConnectionManager connectionManager, IFederationGatewaySettings federationGatewaySettings, IFullNode fullNode, IFederationWalletManager federationWalletManager, IFederationWalletSyncManager walletSyncManager, Network network, ConcurrentChain chain, INodeStats nodeStats, ICrossChainTransferStore crossChainTransferStore, IPartialTransactionRequester partialTransactionRequester, IFederationGatewayClient federationGatewayClient, MempoolManager mempoolManager, IMaturedBlocksSyncManager maturedBlocksSyncManager, IWithdrawalHistoryProvider withdrawalHistoryProvider) { this.loggerFactory = loggerFactory; this.signals = signals; this.depositExtractor = depositExtractor; this.withdrawalExtractor = withdrawalExtractor; this.withdrawalReceiver = withdrawalReceiver; this.connectionManager = connectionManager; this.federationGatewaySettings = federationGatewaySettings; this.fullNode = fullNode; this.chain = chain; this.federationWalletManager = federationWalletManager; this.walletSyncManager = walletSyncManager; this.network = network; this.crossChainTransferStore = crossChainTransferStore; this.partialTransactionRequester = partialTransactionRequester; this.federationGatewayClient = federationGatewayClient; this.mempoolManager = mempoolManager; this.maturedBlocksSyncManager = maturedBlocksSyncManager; this.withdrawalHistoryProvider = withdrawalHistoryProvider; this.logger = loggerFactory.CreateLogger(this.GetType().FullName); // add our payload var payloadProvider = (PayloadProvider)this.fullNode.Services.ServiceProvider.GetService(typeof(PayloadProvider)); payloadProvider.AddPayload(typeof(RequestPartialTransactionPayload)); nodeStats.RegisterStats(this.AddComponentStats, StatsType.Component); nodeStats.RegisterStats(this.AddInlineStats, StatsType.Inline, 800); }
public FederatedPegFeature( ILoggerFactory loggerFactory, IConnectionManager connectionManager, IFederatedPegSettings federatedPegSettings, IFullNode fullNode, IFederationWalletManager federationWalletManager, IFederationWalletSyncManager walletSyncManager, Network network, ChainIndexer chainIndexer, INodeStats nodeStats, ICrossChainTransferStore crossChainTransferStore, IPartialTransactionRequester partialTransactionRequester, MempoolCleaner mempoolCleaner, ISignedMultisigTransactionBroadcaster signedBroadcaster, IMaturedBlocksSyncManager maturedBlocksSyncManager, IWithdrawalHistoryProvider withdrawalHistoryProvider, IInputConsolidator inputConsolidator, ICollateralChecker collateralChecker = null) { this.loggerFactory = loggerFactory; this.connectionManager = connectionManager; this.federatedPegSettings = federatedPegSettings; this.fullNode = fullNode; this.chainIndexer = chainIndexer; this.federationWalletManager = federationWalletManager; this.walletSyncManager = walletSyncManager; this.network = network; this.crossChainTransferStore = crossChainTransferStore; this.partialTransactionRequester = partialTransactionRequester; this.mempoolCleaner = mempoolCleaner; this.maturedBlocksSyncManager = maturedBlocksSyncManager; this.withdrawalHistoryProvider = withdrawalHistoryProvider; this.signedBroadcaster = signedBroadcaster; this.inputConsolidator = inputConsolidator; this.logger = loggerFactory.CreateLogger(this.GetType().FullName); // add our payload var payloadProvider = (PayloadProvider)this.fullNode.Services.ServiceProvider.GetService(typeof(PayloadProvider)); payloadProvider.AddPayload(typeof(RequestPartialTransactionPayload)); nodeStats.RegisterStats(this.AddComponentStats, StatsType.Component, this.GetType().Name); nodeStats.RegisterStats(this.AddInlineStats, StatsType.Inline, this.GetType().Name, 800); }
public FederationGatewayFeature( ILoggerFactory loggerFactory, IConnectionManager connectionManager, IFederationGatewaySettings federationGatewaySettings, IFullNode fullNode, IFederationWalletManager federationWalletManager, IFederationWalletSyncManager walletSyncManager, Network network, ChainIndexer chainIndexer, INodeStats nodeStats, ICrossChainTransferStore crossChainTransferStore, IPartialTransactionRequester partialTransactionRequester, ISignedMultisigTransactionBroadcaster signedBroadcaster, IMaturedBlocksSyncManager maturedBlocksSyncManager, IWithdrawalHistoryProvider withdrawalHistoryProvider) { this.loggerFactory = loggerFactory; this.connectionManager = connectionManager; this.federationGatewaySettings = federationGatewaySettings; this.fullNode = fullNode; this.chainIndexer = chainIndexer; this.federationWalletManager = federationWalletManager; this.walletSyncManager = walletSyncManager; this.network = network; this.crossChainTransferStore = crossChainTransferStore; this.partialTransactionRequester = partialTransactionRequester; this.maturedBlocksSyncManager = maturedBlocksSyncManager; this.withdrawalHistoryProvider = withdrawalHistoryProvider; this.signedBroadcaster = signedBroadcaster; this.logger = loggerFactory.CreateLogger("Impleum.Bitcoin.FullNode"); // add our payload var payloadProvider = (PayloadProvider)this.fullNode.Services.ServiceProvider.GetService(typeof(PayloadProvider)); payloadProvider.AddPayload(typeof(RequestPartialTransactionPayload)); nodeStats.RegisterStats(this.AddComponentStats, StatsType.Component); nodeStats.RegisterStats(this.AddInlineStats, StatsType.Inline, 800); }
public FederatedPegFeature( IConnectionManager connectionManager, IFederatedPegSettings federatedPegSettings, IFullNode fullNode, IFederationWalletManager federationWalletManager, IFederationWalletSyncManager walletSyncManager, Network network, INodeStats nodeStats, ICrossChainTransferStore crossChainTransferStore, IPartialTransactionRequester partialTransactionRequester, MempoolCleaner mempoolCleaner, ISignedMultisigTransactionBroadcaster signedBroadcaster, IMaturedBlocksSyncManager maturedBlocksSyncManager, IInputConsolidator inputConsolidator) { this.connectionManager = connectionManager; this.federatedPegSettings = federatedPegSettings; this.fullNode = fullNode; this.federationWalletManager = federationWalletManager; this.walletSyncManager = walletSyncManager; this.network = network; this.crossChainTransferStore = crossChainTransferStore; this.partialTransactionRequester = partialTransactionRequester; this.mempoolCleaner = mempoolCleaner; this.maturedBlocksSyncManager = maturedBlocksSyncManager; this.signedBroadcaster = signedBroadcaster; this.inputConsolidator = inputConsolidator; this.logger = LogManager.GetCurrentClassLogger(); // add our payload var payloadProvider = (PayloadProvider)this.fullNode.Services.ServiceProvider.GetService(typeof(PayloadProvider)); payloadProvider.AddPayload(typeof(RequestPartialTransactionPayload)); nodeStats.RegisterStats(this.AddComponentStats, StatsType.Component, this.GetType().Name); }