aboutsummaryrefslogtreecommitdiff
path: root/src/psbt.h
diff options
context:
space:
mode:
authorBen Woosley <ben.woosley@gmail.com>2022-06-07 15:49:03 -0500
committerBen Woosley <ben.woosley@gmail.com>2022-06-07 15:49:07 -0500
commit241c4d047ee658a976625c39c6acd04dd7b071ef (patch)
tree5cf7193e1bc3481274f202a805532cc41b208b0d /src/psbt.h
parent64f81a38b9f0e09e353d058aa88eb681a181df37 (diff)
downloadbitcoin-241c4d047ee658a976625c39c6acd04dd7b071ef.tar.xz
doc: Correct comment describing value of MAX_FILE_SIZE_PSBT as in MiB
100 MiB is 100 * (10224 ** 2), or 107,374,182,400 bytes.
Diffstat (limited to 'src/psbt.h')
-rw-r--r--src/psbt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/psbt.h b/src/psbt.h
index 8fda889bb4..4a6d41076f 100644
--- a/src/psbt.h
+++ b/src/psbt.h
@@ -54,7 +54,7 @@ static constexpr uint8_t PSBT_SEPARATOR = 0x00;
// BIP 174 does not specify a maximum file size, but we set a limit anyway
// to prevent reading a stream indefinitely and running out of memory.
-const std::streamsize MAX_FILE_SIZE_PSBT = 100000000; // 100 MiB
+const std::streamsize MAX_FILE_SIZE_PSBT = 100000000; // 100 MB
// PSBT version number
static constexpr uint32_t PSBT_HIGHEST_VERSION = 0;