diff options
author | John Wiegley <johnw@newartisans.com> | 2023-11-30 12:38:44 -0800 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2024-08-05 08:35:56 -0700 |
commit | 75e5eacebaf8b9ad3a18b6f1a91a8cb227fa5c9c (patch) | |
tree | 896d7f2d1496bd19b2c5ba7a8b97285908bfde0c /src/journal.h | |
parent | f230125ecc0761e6bd082ac0d916db4f17f0278d (diff) | |
download | fork-ledger-75e5eacebaf8b9ad3a18b6f1a91a8cb227fa5c9c.tar.gz fork-ledger-75e5eacebaf8b9ad3a18b6f1a91a8cb227fa5c9c.tar.bz2 fork-ledger-75e5eacebaf8b9ad3a18b6f1a91a8cb227fa5c9c.zip |
Add support for --hashes=sha512_256 as another algorithm
Diffstat (limited to 'src/journal.h')
-rw-r--r-- | src/journal.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/journal.h b/src/journal.h index d68618bf..cfc93c0a 100644 --- a/src/journal.h +++ b/src/journal.h @@ -184,7 +184,8 @@ public: return period_xacts.end(); } - std::size_t read(parse_context_stack_t& context, bool store_hashes); + std::size_t read(parse_context_stack_t& context, + hash_type_t hash_type); bool has_xdata(); void clear_xdata(); @@ -193,7 +194,8 @@ public: private: - std::size_t read_textual(parse_context_stack_t& context, bool store_hashes); + std::size_t read_textual(parse_context_stack_t& context, + hash_type_t hash_type); bool should_check_payees(); bool payee_not_registered(const string& name); |