historical note

This commit is contained in:
Peter D. Gray 2025-03-27 10:07:25 -04:00
parent ad56b3644a
commit 16753f7418
No known key found for this signature in database
GPG Key ID: A2DCD558C2BE5D7C

View File

@ -18,7 +18,7 @@ from glob import settings
# - 8 bytes exact satoshi value => base64 (pad trimmed) => 11 chars
# - stored satoshi value is XOR'ed with LSB from prevout txn hash, which isn't stored
# - result is a 31 character string for each history entry, plus 4 overhead => 35 each
# - if we store 30 of those it's about 25% of total setting space
# - if we store 30 of those it's about 25% of total setting space (Mk3)
#
HISTORY_SAVED = const(30)
HISTORY_MAX_MEM = const(128)