File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ INLINE data_chunk sha256_chunk(const Type& data) NOEXCEPT;
109109
110110// / sha512 hash [wallet].
111111template <typename Type>
112- INLINE long_hash sha512_hash (const Type& data) NOEXCEPT;
112+ INLINE long_hash sha512_hash (const Type& data) NOEXCEPT;
113113template <typename Type>
114114INLINE data_chunk sha512_chunk (const Type& data) NOEXCEPT;
115115
Original file line number Diff line number Diff 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.
189192INLINE hash_digest tagged_hash (const std::string& tag,
190193 const data_slice& message) NOEXCEPT
191194{
You can’t perform that action at this time.
0 commit comments