UltrafastSecp256k1 3.50.0
Ultra high-performance secp256k1 elliptic curve cryptography library
Loading...
Searching...
No Matches
bip144.hpp File Reference
#include <array>
#include <cstdint>
#include <cstddef>
#include <vector>

Go to the source code of this file.

Classes

struct  secp256k1::TxInput
 
struct  secp256k1::TxOut
 
struct  secp256k1::WitnessTx
 

Namespaces

namespace  secp256k1
 

Typedefs

using secp256k1::WitnessItem = std::vector< std::uint8_t >
 
using secp256k1::WitnessStack = std::vector< WitnessItem >
 

Functions

std::vector< std::uint8_t > secp256k1::witness_serialize (const WitnessTx &tx) noexcept
 
std::vector< std::uint8_t > secp256k1::legacy_serialize (const WitnessTx &tx) noexcept
 
std::array< std::uint8_t, 32 > secp256k1::compute_txid (const WitnessTx &tx) noexcept
 
std::array< std::uint8_t, 32 > secp256k1::compute_wtxid (const WitnessTx &tx) noexcept
 
std::array< std::uint8_t, 32 > secp256k1::witness_commitment (const std::array< std::uint8_t, 32 > &witness_root, const std::array< std::uint8_t, 32 > &witness_nonce) noexcept
 
bool secp256k1::has_witness (const WitnessTx &tx) noexcept
 
std::uint64_t secp256k1::tx_weight (const WitnessTx &tx) noexcept
 
std::uint64_t secp256k1::tx_vsize (const WitnessTx &tx) noexcept