コード例 #1
0
        protected virtual async Task CrawlTransaction(CrawlerStepCompleted <BlockWithTransactions> completedStep, Transaction txn)
        {
            var currentStepCompleted = await TransactionWithBlockCrawlerStep.ExecuteStepAsync(
                new TransactionVO(txn, completedStep.StepData), completedStep.ExecutedStepsCollection);

            if (currentStepCompleted.ExecutedStepsCollection.Any())
            {
                await CrawlTransactionReceipt(currentStepCompleted);
            }
        }
コード例 #2
0
        protected virtual async Task CrawlTransactionAsync(CrawlerStepCompleted <BlockWithTransactions> completedStep, Transaction txn)
        {
            var currentStepCompleted = await TransactionWithBlockCrawlerStep.ExecuteStepAsync(
                new TransactionVO(txn, completedStep.StepData), completedStep.ExecutedStepsCollection).ConfigureAwait(false);

            if (currentStepCompleted.ExecutedStepsCollection.Any() && TransactionWithReceiptCrawlerStep.Enabled)
            {
                await CrawlTransactionReceiptAsync(currentStepCompleted).ConfigureAwait(false);
            }
        }