Skip to content

Commit 1c6753b

Browse files
committed
Whitespace, comments.
1 parent e33b2c6 commit 1c6753b

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

include/bitcoin/system/hash/functions.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ INLINE data_chunk sha256_chunk(const Type& data) NOEXCEPT;
109109

110110
/// sha512 hash [wallet].
111111
template <typename Type>
112-
INLINE long_hash sha512_hash(const Type& data) NOEXCEPT;
112+
INLINE long_hash sha512_hash(const Type& data) NOEXCEPT;
113113
template <typename Type>
114114
INLINE data_chunk sha512_chunk(const Type& data) NOEXCEPT;
115115

include/bitcoin/system/impl/hash/functions.ipp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@ INLINE data_chunk bitcoin_chunk(const Type& data) NOEXCEPT
186186
// Taproot tagged hash.
187187
// TODO: this is not optimized, use precomputed state state for known tags.
188188
// TODO: set the consteval mid-state computation for each into a constexpr.
189+
// TODO: drop mid-state into accumulator(const state_t& state, size_t blocks).
190+
// TODO: declare a tagged-hash streamwriter with midstate consteval
191+
// TODO: precomputation based on templatized tag.
189192
INLINE hash_digest tagged_hash(const std::string& tag,
190193
const data_slice& message) NOEXCEPT
191194
{

0 commit comments

Comments
 (0)