public async Task <Transaction> ReceiveAsync(ScriptCoin escrowedCoin, TransactionSignature clientSignature, Key escrowKey, FeeRate feeRate)
 {
     _ReceiveBatch.FeeRate = feeRate;
     return(await _ReceiveBatch.WaitTransactionAsync(new ClientEscapeData()
     {
         ClientSignature = clientSignature,
         EscrowedCoin = escrowedCoin,
         EscrowKey = escrowKey
     }).ConfigureAwait(false));
 }
Exemple #2
0
        public async Task <Transaction> ReceiveAsync(ScriptCoin escrowedCoin, TransactionSignature clientSignature, Key escrowKey, FeeRate feeRate)
        {
            _ReceiveBatch.FeeRate = feeRate;
            var task = _ReceiveBatch.WaitTransactionAsync(new ClientEscapeData()
            {
                ClientSignature = clientSignature,
                EscrowedCoin    = escrowedCoin,
                EscrowKey       = escrowKey
            }).ConfigureAwait(false);

            Logs.Tumbler.LogDebug($"ClientEscape batch count {_ReceiveBatch.BatchCount}");
            return(await task);
        }