diff options
author | josibake <josibake@protonmail.com> | 2024-02-13 17:41:59 +0100 |
---|---|---|
committer | josibake <josibake@protonmail.com> | 2024-05-14 10:24:31 +0200 |
commit | b946f8a4c51be42e52d63a6d578158c0b2a6b7ed (patch) | |
tree | be4593a291f6ff4bc0a0f99f340dcb50f38951d3 /src/pubkey.h | |
parent | 2cedb42a928fbf3a1e0e8715e918497cbe64af0d (diff) |
crypto: add NUMS_H const
Diffstat (limited to 'src/pubkey.h')
-rw-r--r-- | src/pubkey.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pubkey.h b/src/pubkey.h index 15d7e7bc07..ae34ddd0af 100644 --- a/src/pubkey.h +++ b/src/pubkey.h @@ -233,6 +233,11 @@ private: uint256 m_keydata; public: + /** Nothing Up My Sleeve point H + * Used as an internal key for provably disabling the key path spend + * see BIP341 for more details */ + static const XOnlyPubKey NUMS_H; + /** Construct an empty x-only pubkey. */ XOnlyPubKey() = default; |