aboutsummaryrefslogtreecommitdiff
path: root/src/base58.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-11-24 10:48:30 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-11-24 10:49:13 +0100
commit73ac195e29cc3991cb97c6c3dce8d64eaad0e57a (patch)
treee1b0fa784359b49d2b81400b38aacca2756f19de /src/base58.cpp
parent4018e23aa7e7bb57d721c7c41c55dfbb659b8c34 (diff)
parent21b58f430fa05fdb7c5db79b545302417a5dbceb (diff)
Merge bitcoin/bitcoin#23249: util: ParseByteUnits - Parse a string with suffix unit
21b58f430fa05fdb7c5db79b545302417a5dbceb util: ParseByteUnits - Parse a string with suffix unit [k|K|m|M|g|G|t|T] (Douglas Chimento) Pull request description: A convenience utility for parsing human readable strings sizes e.g. `500G` is `500 * 1 << 30` The argument/setting `maxuploadtarget` now accept human readable byte units `[k|K|m|M|g|G||t|T]` This change backward compatible, defaults to `M` if no unit specified. ACKs for top commit: vasild: ACK 21b58f430fa05fdb7c5db79b545302417a5dbceb ryanofsky: Code review ACK 21b58f430fa05fdb7c5db79b545302417a5dbceb. Only changes since last review are dropping optional has_value call, fixing comment punctuation, squashing commits. Tree-SHA512: c9b85acc0f77c847a0290b27ac5dc586ecc078110cf133063140576a04c11aa9c553159b9b4993488edcf6e60db6837de7c83b2964639bc21e8ffa4d455a5eb7
Diffstat (limited to 'src/base58.cpp')
0 files changed, 0 insertions, 0 deletions