|
purify
C++ Purify implementation with native circuit and BPP support
|
#include <anchor_escrow.hpp>
Public Member Functions | |
| AnchorPunishmentPublicKey (const AnchorPunishmentPublicKey &)=default | |
| AnchorPunishmentPublicKey & | operator= (const AnchorPunishmentPublicKey &)=default |
| AnchorPunishmentPublicKey (AnchorPunishmentPublicKey &&) noexcept=default | |
| AnchorPunishmentPublicKey & | operator= (AnchorPunishmentPublicKey &&) noexcept=default |
| const std::array< unsigned char, 32 > & | xonly () const noexcept |
Static Public Member Functions | |
| static Result< AnchorPunishmentPublicKey > | create (const std::array< unsigned char, 32 > &xonly, purify_secp_context *secp_context) |
Friends | |
| class | AnchorPunishmentKey |
| bool | operator== (const AnchorPunishmentPublicKey &, const AnchorPunishmentPublicKey &)=default |
Canonical x-only BIP340 key authorized to punish one anchor.
Definition at line 75 of file anchor_escrow.hpp.
|
default |
References AnchorPunishmentPublicKey().
Referenced by AnchorPunishmentPublicKey(), AnchorPunishmentPublicKey(), create(), operator=(), operator=(), and operator==.
|
defaultnoexcept |
References AnchorPunishmentPublicKey().
|
staticnodiscard |
Definition at line 342 of file anchor_escrow.cpp.
References AnchorPunishmentPublicKey(), purify::BackendRejectedInput, purify_bip340_validate_xonly_pubkey(), PURIFY_RETURN_IF_ERROR, purify::require_secp_context(), purify::unexpected_error(), and xonly().
Referenced by operator=().
|
defaultnoexcept |
References AnchorPunishmentPublicKey(), create(), and xonly().
|
default |
References AnchorPunishmentPublicKey().
|
inlinenodiscardnoexcept |
Definition at line 89 of file anchor_escrow.hpp.
References xonly().
Referenced by purify::accountable::construction_receipt_statement_digest(), create(), operator=(), operator==, and xonly().
|
friend |
Definition at line 102 of file anchor_escrow.hpp.
References AnchorPunishmentKey.
Referenced by AnchorPunishmentKey.
|
friend |
References AnchorPunishmentPublicKey(), and xonly().