Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* add X1 to blockcore

* add seeds

* fix mining configuration

* disable mempool comm in IBD
  • Loading branch information
soma42 authored Mar 9, 2021
1 parent 04aa205 commit 5119089
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Features/Blockcore.Features.MemoryPool/MempoolBehavior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,12 @@ private async Task OnMessageReceivedAsync(INetworkPeer peer, IncomingMessage mes
{
try
{
if (this.initialBlockDownloadState.IsInitialBlockDownload())
{
this.logger.LogTrace("(-)[IS_IBD]");
return;
}

await this.ProcessMessageAsync(peer, message).ConfigureAwait(false);
}
catch (OperationCanceledException)
Expand Down Expand Up @@ -289,12 +295,6 @@ private async Task ProcessInvAsync(INetworkPeer peer, InvPayload invPayload)
return; //error("message inv size() = %u", vInv.size());
}

if (this.initialBlockDownloadState.IsInitialBlockDownload())
{
this.logger.LogTrace("(-)[IS_IBD]");
return;
}

//uint32_t nFetchFlags = GetFetchFlags(pfrom, chainActive.Tip(), chainparams.GetConsensus());

var inventoryTxs = invPayload.Inventory.Where(inv => inv.Type.HasFlag(InventoryType.MSG_TX));
Expand Down

0 comments on commit 5119089

Please sign in to comment.