Ejemplo n.º 1
0
 public CoinJoinManager(WalletManager walletManager, RoundStateUpdater roundStatusUpdater, IBackendHttpClientFactory backendHttpClientFactory, ServiceConfiguration serviceConfiguration)
 {
     WalletManager        = walletManager;
     HttpClientFactory    = backendHttpClientFactory;
     RoundStatusUpdater   = roundStatusUpdater;
     ServiceConfiguration = serviceConfiguration;
 }
Ejemplo n.º 2
0
        public Participant(IRPCClient rpc, IBackendHttpClientFactory httpClientFactory)
        {
            Rpc = rpc;
            HttpClientFactory = httpClientFactory;

            KeyManager = KeyManager.CreateNew(out var _, password: "", Network.Main);
            KeyManager.AssertCleanKeysIndexed();
        }
Ejemplo n.º 3
0
 public CoinJoinClient(
     IBackendHttpClientFactory httpClientFactory,
     Kitchen kitchen,
     KeyManager keymanager,
     RoundStateUpdater roundStatusUpdater)
 {
     HttpClientFactory  = httpClientFactory;
     Kitchen            = kitchen;
     Keymanager         = keymanager;
     RoundStatusUpdater = roundStatusUpdater;
     SecureRandom       = new SecureRandom();
 }