Skip to content

Commit

Permalink
chore: debug chunk
Browse files Browse the repository at this point in the history
  • Loading branch information
perfogic committed Oct 3, 2024
1 parent 3ac1e7a commit 101bd9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/orchestrator/src/services/relayer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,10 @@ class RelayerService implements RelayerInterface {
try {
let mempoolTxs = await this.btcClient.getrawmempool();
const txChunks = chunkArray(mempoolTxs, SCAN_MEMPOOL_CHUNK_SIZE);
let i = 0;
for (const txChunk of txChunks) {
console.log("Chunk", i);
i++;
let detailMempoolTxs: BitcoinTransaction[] = await retry(
async () => {
return (
Expand Down

0 comments on commit 101bd9a

Please sign in to comment.