public static ChannelManager Create(
            NBitcoin.Network nbitcoinNetwork,
            IUserConfigProvider config,
            IChainWatchInterface chainWatchInterface,
            IKeysInterface keysInterface,
            ILogger logger,
            IBroadcaster broadcaster,
            IFeeEstimator feeEstimator,
            ulong currentBlockHeight
            )
        {
            var c = config.GetUserConfig();

            return(Create(nbitcoinNetwork, in c, chainWatchInterface, keysInterface, logger, broadcaster, feeEstimator, currentBlockHeight));
        }
Beispiel #2
0
        public static PeerManager Create(
            Span <byte> seed,
            NBitcoin.Network nbitcoinNetwork,
            IUserConfigProvider config,
            IChainWatchInterface chainWatchInterface,
            IKeysInterface keysInterface,
            IBroadcaster broadcaster,
            ILogger logger,
            IFeeEstimator feeEstimator,
            uint currentBlockHeight,
            int tickIntervalMSec = 30000
            )
        {
            var c = config.GetUserConfig();

            return(Create(seed, nbitcoinNetwork, in c, chainWatchInterface, keysInterface, broadcaster, logger, feeEstimator, currentBlockHeight, tickIntervalMSec));
        }
 public static ChannelManager Create(
     NBitcoin.Network nbitcoinNetwork,
     in UserConfig config,
Beispiel #4
0
 public static PeerManager Create(
     Span <byte> seed,
     NBitcoin.Network nbitcoinNetwork,
     in UserConfig config,