mirror of
https://github.com/monero-project/monero.git
synced 2025-06-21 05:54:14 -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
|
@ -120,4 +120,9 @@ namespace command_line
|
|||
, "Check for new versions of monero: [disabled|notify|download|update]"
|
||||
, "notify"
|
||||
};
|
||||
const arg_descriptor<bool> arg_fluffy_blocks = {
|
||||
"fluffy-blocks"
|
||||
, "Relay blocks as fluffy blocks where possible (automatic on testnet)"
|
||||
, false
|
||||
};
|
||||
}
|
||||
|
|
|
@ -217,4 +217,5 @@ namespace command_line
|
|||
extern const arg_descriptor<uint64_t> arg_show_time_stats;
|
||||
extern const arg_descriptor<size_t> arg_block_sync_size;
|
||||
extern const arg_descriptor<std::string> arg_check_updates;
|
||||
extern const arg_descriptor<bool> arg_fluffy_blocks;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue