#include <proof.h>
|
| | Proof () |
| |
| | Proof (uint64_t sequence_, int64_t expirationTime_, CPubKey master_, std::vector< SignedStake > stakes_, const CScript &payoutScriptPubKey_, SchnorrSig signature_) |
| |
| | Proof (Proof &&other) |
| |
| template<typename Stream > |
| | Proof (deserialize_type, Stream &s) |
| | Deserialization constructor. More...
|
| |
| | SERIALIZE_METHODS (Proof, obj) |
| |
| std::string | ToHex () const |
| |
| uint64_t | getSequence () const |
| |
| int64_t | getExpirationTime () const |
| |
| const CPubKey & | getMaster () const |
| |
| const std::vector< SignedStake > & | getStakes () const |
| |
| const CScript & | getPayoutScript () const |
| |
| const SchnorrSig & | getSignature () const |
| |
| const ProofId & | getId () const |
| |
| const LimitedProofId & | getLimitedId () const |
| |
| const StakeCommitment | getStakeCommitment () const |
| |
| uint32_t | getScore () const |
| |
| Amount | getStakedAmount () const |
| |
| bool | verify (const Amount &stakeUtxoDustThreshold, ProofValidationState &state) const |
| |
| bool | verify (const Amount &stakeUtxoDustThreshold, const ChainstateManager &chainman, ProofValidationState &state) const EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
| |
Definition at line 103 of file proof.h.
◆ Proof() [1/4]
| avalanche::Proof::Proof |
( |
| ) |
|
|
inline |
◆ Proof() [2/4]
| avalanche::Proof::Proof |
( |
uint64_t |
sequence_, |
|
|
int64_t |
expirationTime_, |
|
|
CPubKey |
master_, |
|
|
std::vector< SignedStake > |
stakes_, |
|
|
const CScript & |
payoutScriptPubKey_, |
|
|
SchnorrSig |
signature_ |
|
) |
| |
|
inline |
◆ Proof() [3/4]
| avalanche::Proof::Proof |
( |
Proof && |
other | ) |
|
|
inline |
◆ Proof() [4/4]
template<typename Stream >
Deserialization constructor.
Definition at line 146 of file proof.h.
◆ amountToScore()
| uint32_t avalanche::Proof::amountToScore |
( |
Amount |
amount | ) |
|
|
static |
◆ computeProofId()
| void avalanche::Proof::computeProofId |
( |
| ) |
|
|
private |
◆ computeScore()
| void avalanche::Proof::computeScore |
( |
| ) |
|
|
private |
◆ FromHex()
| bool avalanche::Proof::FromHex |
( |
Proof & |
proof, |
|
|
const std::string & |
hexProof, |
|
|
bilingual_str & |
errorOut |
|
) |
| |
|
static |
◆ getExpirationTime()
| int64_t avalanche::Proof::getExpirationTime |
( |
| ) |
const |
|
inline |
◆ getId()
| const ProofId & avalanche::Proof::getId |
( |
| ) |
const |
|
inline |
◆ getLimitedId()
◆ getMaster()
| const CPubKey & avalanche::Proof::getMaster |
( |
| ) |
const |
|
inline |
◆ getPayoutScript()
| const CScript & avalanche::Proof::getPayoutScript |
( |
| ) |
const |
|
inline |
◆ getScore()
| uint32_t avalanche::Proof::getScore |
( |
| ) |
const |
|
inline |
◆ getSequence()
| uint64_t avalanche::Proof::getSequence |
( |
| ) |
const |
|
inline |
◆ getSignature()
| const SchnorrSig & avalanche::Proof::getSignature |
( |
| ) |
const |
|
inline |
◆ getStakeCommitment()
◆ getStakedAmount()
| Amount avalanche::Proof::getStakedAmount |
( |
| ) |
const |
◆ getStakes()
| const std::vector< SignedStake > & avalanche::Proof::getStakes |
( |
| ) |
const |
|
inline |
◆ IMPLEMENT_RCU_REFCOUNT()
| avalanche::Proof::IMPLEMENT_RCU_REFCOUNT |
( |
uint64_t |
| ) |
|
|
private |
◆ SERIALIZE_METHODS()
| avalanche::Proof::SERIALIZE_METHODS |
( |
Proof |
, |
|
|
obj |
|
|
) |
| |
|
inline |
◆ ToHex()
| std::string avalanche::Proof::ToHex |
( |
| ) |
const |
◆ verify() [1/2]
◆ verify() [2/2]
◆ expirationTime
| int64_t avalanche::Proof::expirationTime |
|
private |
◆ limitedProofId
◆ master
◆ payoutScriptPubKey
| CScript avalanche::Proof::payoutScriptPubKey |
|
private |
◆ proofid
◆ score
| uint32_t avalanche::Proof::score |
|
private |
◆ sequence
| uint64_t avalanche::Proof::sequence |
|
private |
◆ signature
◆ stakes
The documentation for this class was generated from the following files: