Bitcoin Core 31.99.0
P2P Digital Currency
Public Attributes | List of all members
secp256k1_silentpayments_recipient Struct Reference

The data from a single recipient address. More...

#include <secp256k1_silentpayments.h>

Collaboration diagram for secp256k1_silentpayments_recipient:
[legend]

Public Attributes

secp256k1_pubkey scan_pubkey
 
secp256k1_pubkey spend_pubkey
 
size_t index
 

Detailed Description

The data from a single recipient address.

This struct serves as an input argument to silentpayments_sender_create_outputs.

index must be set to the position (starting with 0) of this recipient in the recipients array passed to silentpayments_sender_create_outputs. It is used to map the returned generated outputs back to the original recipient.

Note: The spend public key named spend_pubkey may have been optionally tweaked with a label by the recipient. Whether spend_pubkey has actually been tagged with a label is irrelevant for the sender. As a documentation convention in this API, unlabeled_spend_pubkey is used to indicate when the unlabeled spend public key must be used.

Definition at line 49 of file secp256k1_silentpayments.h.

Member Data Documentation

◆ index

size_t secp256k1_silentpayments_recipient::index

Definition at line 52 of file secp256k1_silentpayments.h.

◆ scan_pubkey

secp256k1_pubkey secp256k1_silentpayments_recipient::scan_pubkey

Definition at line 50 of file secp256k1_silentpayments.h.

◆ spend_pubkey

secp256k1_pubkey secp256k1_silentpayments_recipient::spend_pubkey

Definition at line 51 of file secp256k1_silentpayments.h.


The documentation for this struct was generated from the following file: