net: Remove forcerelay of rejected txs

This commit is contained in:
MarcoFalke
2020-01-22 13:02:24 -08:00
parent ab7915f804
commit facb71576c
4 changed files with 20 additions and 28 deletions

View File

@@ -15,7 +15,7 @@ enum NetPermissionFlags
PF_BLOOMFILTER = (1U << 1),
// Relay and accept transactions from this peer, even if -blocksonly is true
PF_RELAY = (1U << 3),
// Always relay transactions from this peer, even if already in mempool or rejected from policy
// Always relay transactions from this peer, even if already in mempool
// Keep parameter interaction: forcerelay implies relay
PF_FORCERELAY = (1U << 2) | PF_RELAY,
// Can't be banned for misbehavior
@@ -59,4 +59,4 @@ public:
CSubNet m_subnet;
};
#endif // BITCOIN_NET_PERMISSIONS_H
#endif // BITCOIN_NET_PERMISSIONS_H