mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-09-02 05:04:23 +02:00
util: ParseByteUnits - Parse a string with suffix unit [k|K|m|M|g|G|t|T]
A convenience utility for human readable arguments/config e.g. -maxuploadtarget=500g
This commit is contained in:
@@ -127,6 +127,10 @@ Updated settings
|
||||
mean `-persistmempool=1`. Passing `-persistmempool=0`, `-persistmempool=1`
|
||||
and `-nopersistmempool` is unaffected. (#23061)
|
||||
|
||||
- `-maxuploadtarget` now allows human readable byte units [k|K|m|M|g|G|t|T].
|
||||
E.g. `-maxuploadtarget=500g`. No whitespace, +- or fractions allowed.
|
||||
Default is `M` if no suffix provided. (#23249)
|
||||
|
||||
Tools and Utilities
|
||||
-------------------
|
||||
|
||||
|
Reference in New Issue
Block a user