mirror of
https://github.com/monero-project/monero.git
synced 2025-07-28 21:48:39 -04:00
Add a --fluffy-blocks option to relay blocks as fluffy blocks
Defaults to off, but fluffy blocks are forced enabled on testnet
This commit is contained in:
parent
02e5dcd2fa
commit
6ac61100a1
7 changed files with 20 additions and 1 deletions
|
@ -1622,7 +1622,7 @@ skip:
|
|||
{
|
||||
if (peer_id && exclude_context.m_connection_id != context.m_connection_id)
|
||||
{
|
||||
if(m_core.get_testnet() && (support_flags & P2P_SUPPORT_FLAG_FLUFFY_BLOCKS))
|
||||
if(m_core.fluffy_blocks_enabled() && (support_flags & P2P_SUPPORT_FLAG_FLUFFY_BLOCKS))
|
||||
{
|
||||
LOG_DEBUG_CC(context, "PEER SUPPORTS FLUFFY BLOCKS - RELAYING THIN/COMPACT WHATEVER BLOCK");
|
||||
fluffyConnections.push_back(context.m_connection_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue