diff options
author | crazeteam <lilujing@outlook.com> | 2024-03-25 19:22:12 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2024-03-26 16:51:46 +0000 |
commit | 52fa0d285f4e8109ebdd8b1e43c897f6bfaa8e65 (patch) | |
tree | 6416a9541fce86ce1a0fc92418cea28d14414a2f /src | |
parent | b5ed13a2408a141d737341137b26b2f0249c8167 (diff) | |
download | bitcoin-52fa0d285f4e8109ebdd8b1e43c897f6bfaa8e65.tar.xz |
doc: fix some typos
Signed-off-by: crazeteam <lilujing@outlook.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/cuckoocache.h | 2 | ||||
-rw-r--r-- | src/script/miniscript.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cuckoocache.h b/src/cuckoocache.h index cb0b362143..df320ed465 100644 --- a/src/cuckoocache.h +++ b/src/cuckoocache.h @@ -359,7 +359,7 @@ public: * @param bytes the approximate number of bytes to use for this data * structure * @returns A pair of the maximum number of elements storable (see setup() - * documentation for more detail) and the approxmiate total size of these + * documentation for more detail) and the approximate total size of these * elements in bytes or std::nullopt if the size requested is too large. */ std::optional<std::pair<uint32_t, size_t>> setup_bytes(size_t bytes) diff --git a/src/script/miniscript.h b/src/script/miniscript.h index 76b952350b..f635fa7340 100644 --- a/src/script/miniscript.h +++ b/src/script/miniscript.h @@ -1617,7 +1617,7 @@ public: //! Produce a witness for this script, if possible and given the information available in the context. //! The non-malleable satisfaction is guaranteed to be valid if it exists, and ValidSatisfaction() //! is true. If IsSane() holds, this satisfaction is guaranteed to succeed in case the node's - //! conditions are satisfied (private keys and hash preimages available, locktimes satsified). + //! conditions are satisfied (private keys and hash preimages available, locktimes satisfied). template<typename Ctx> Availability Satisfy(const Ctx& ctx, std::vector<std::vector<unsigned char>>& stack, bool nonmalleable = true) const { auto ret = ProduceInput(ctx); |