[net processing] Use ignore_incoming_txs from m_opts

This commit is contained in:
dergoegge
2023-04-20 13:36:36 +02:00
parent 8b87725921
commit 4cfb7b925f
2 changed files with 7 additions and 10 deletions

View File

@@ -44,6 +44,7 @@ class PeerManager : public CValidationInterface, public NetEventsInterface
{
public:
struct Options {
/** Whether this node is running in -blocksonly mode */
bool ignore_incoming_txs{DEFAULT_BLOCKSONLY};
};