|
ledger-core
|
#include <BitcoinLikeNetworkParameters.hpp>
Public Member Functions | |
| BitcoinLikeNetworkParameters (std::string Identifier_, std::vector< uint8_t > P2PKHVersion_, std::vector< uint8_t > P2SHVersion_, std::vector< uint8_t > XPUBVersion_, BitcoinLikeFeePolicy FeePolicy_, int64_t DustAmount_, std::string MessagePrefix_, bool UsesTimestampedTransaction_, int64_t TimestampDelay_, std::vector< uint8_t > SigHash_, std::vector< std::string > AdditionalBIPs_) | |
| BitcoinLikeNetworkParameters (const BitcoinLikeNetworkParameters &cpy) | |
| BitcoinLikeNetworkParameters & | operator= (const BitcoinLikeNetworkParameters &cpy) |
| template<class Archive > | |
| void | load (Archive &archive) |
| template<class Archive > | |
| void | save (Archive &archive) const |
Public Attributes | |
| std::string | Identifier |
| std::vector< uint8_t > | P2PKHVersion |
| std::vector< uint8_t > | P2SHVersion |
| std::vector< uint8_t > | XPUBVersion |
| BitcoinLikeFeePolicy | FeePolicy |
| int64_t | DustAmount |
| std::string | MessagePrefix |
| bool | UsesTimestampedTransaction |
| int64_t | TimestampDelay |
| std::vector< uint8_t > | SigHash |
| std::vector< std::string > | AdditionalBIPs |
Bitcoin network parameters.
| std::vector<std::string> ledger::core::api::BitcoinLikeNetworkParameters::AdditionalBIPs |
Addition BIPs enabled for this network.
| int64_t ledger::core::api::BitcoinLikeNetworkParameters::DustAmount |
Minimal amount a UTXO should have before being considered BTC dust.
| BitcoinLikeFeePolicy ledger::core::api::BitcoinLikeNetworkParameters::FeePolicy |
Policy to use when expressing fee amount.
| std::string ledger::core::api::BitcoinLikeNetworkParameters::Identifier |
Name of the network.
| std::string ledger::core::api::BitcoinLikeNetworkParameters::MessagePrefix |
Constant prefix to prepend all signature messages.
| std::vector<uint8_t> ledger::core::api::BitcoinLikeNetworkParameters::P2PKHVersion |
Version of the Pay To Public Hash standard.
| std::vector<uint8_t> ledger::core::api::BitcoinLikeNetworkParameters::P2SHVersion |
Version of the Pay To Script Hash standard.
| std::vector<uint8_t> ledger::core::api::BitcoinLikeNetworkParameters::SigHash |
Bitcoin signature flag indicating what part of a transaction a signature signs.
| int64_t ledger::core::api::BitcoinLikeNetworkParameters::TimestampDelay |
Delay applied to all timestamps. Used to debounce transactions.
| bool ledger::core::api::BitcoinLikeNetworkParameters::UsesTimestampedTransaction |
Are transactions encoded with timestamp?
| std::vector<uint8_t> ledger::core::api::BitcoinLikeNetworkParameters::XPUBVersion |
Version of the Extended Public Key standard.
1.8.13