From 1bf37a51909eafa82d69eff78fbc99a438e52d48 Mon Sep 17 00:00:00 2001 From: dangershony Date: Sun, 18 Dec 2022 12:17:55 +0000 Subject: [PATCH 1/2] Remove the notification subscription, its anyway not working and waists p2p messages processing --- src/Node/Blockcore.Node/NodeBuilder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Node/Blockcore.Node/NodeBuilder.cs b/src/Node/Blockcore.Node/NodeBuilder.cs index 6faa4d748..17620ceed 100644 --- a/src/Node/Blockcore.Node/NodeBuilder.cs +++ b/src/Node/Blockcore.Node/NodeBuilder.cs @@ -70,7 +70,7 @@ private static IFullNodeBuilder CreateBaseBuilder(string chain, NodeSettings set .UseNodeSettings(settings) .UseBlockStore() .UseMempool() - .UseBlockNotification() + //.UseBlockNotification() this feature is broken and anyway its not used .UseTransactionNotification() .UseNodeHost() .AddRPC() From de0f81fc4a1868b75418ff2e84bd40143d9794e7 Mon Sep 17 00:00:00 2001 From: dangershony Date: Sun, 18 Dec 2022 12:49:40 +0000 Subject: [PATCH 2/2] Also disable the old trx notifications, this already happensin the mempool feature --- src/Node/Blockcore.Node/NodeBuilder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Node/Blockcore.Node/NodeBuilder.cs b/src/Node/Blockcore.Node/NodeBuilder.cs index 17620ceed..3f5e9529d 100644 --- a/src/Node/Blockcore.Node/NodeBuilder.cs +++ b/src/Node/Blockcore.Node/NodeBuilder.cs @@ -71,7 +71,7 @@ private static IFullNodeBuilder CreateBaseBuilder(string chain, NodeSettings set .UseBlockStore() .UseMempool() //.UseBlockNotification() this feature is broken and anyway its not used - .UseTransactionNotification() + // .UseTransactionNotification() this feature is broken and anyway its not used .UseNodeHost() .AddRPC() .UseDiagnosticFeature();