0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-03 09:56:38 -05:00

descriptors: fix docstring (param [in] vs [out])

As in title, these docstrings look incorrect.
This commit is contained in:
SomberNight 2023-02-14 14:28:08 +00:00
parent d6ef44cccb
commit 588fad868d
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -35,7 +35,7 @@ public:
/** Retrieve a cached parent xpub /** Retrieve a cached parent xpub
* *
* @param[in] key_exp_pos Position of the key expression within the descriptor * @param[in] key_exp_pos Position of the key expression within the descriptor
* @param[in] xpub The CExtPubKey to get from cache * @param[out] xpub The CExtPubKey to get from cache
*/ */
bool GetCachedParentExtPubKey(uint32_t key_exp_pos, CExtPubKey& xpub) const; bool GetCachedParentExtPubKey(uint32_t key_exp_pos, CExtPubKey& xpub) const;
/** Cache an xpub derived at an index /** Cache an xpub derived at an index
@ -49,7 +49,7 @@ public:
* *
* @param[in] key_exp_pos Position of the key expression within the descriptor * @param[in] key_exp_pos Position of the key expression within the descriptor
* @param[in] der_index Derivation index of the xpub * @param[in] der_index Derivation index of the xpub
* @param[in] xpub The CExtPubKey to get from cache * @param[out] xpub The CExtPubKey to get from cache
*/ */
bool GetCachedDerivedExtPubKey(uint32_t key_exp_pos, uint32_t der_index, CExtPubKey& xpub) const; bool GetCachedDerivedExtPubKey(uint32_t key_exp_pos, uint32_t der_index, CExtPubKey& xpub) const;
/** Cache a last hardened xpub /** Cache a last hardened xpub
@ -61,7 +61,7 @@ public:
/** Retrieve a cached last hardened xpub /** Retrieve a cached last hardened xpub
* *
* @param[in] key_exp_pos Position of the key expression within the descriptor * @param[in] key_exp_pos Position of the key expression within the descriptor
* @param[in] xpub The CExtPubKey to get from cache * @param[out] xpub The CExtPubKey to get from cache
*/ */
bool GetCachedLastHardenedExtPubKey(uint32_t key_exp_pos, CExtPubKey& xpub) const; bool GetCachedLastHardenedExtPubKey(uint32_t key_exp_pos, CExtPubKey& xpub) const;