#include <boost/optional.hpp>
#include <hash.h>
#include <pubkey.h>
#include <script/interpreter.h>
#include <script/keyorigin.h>
#include <streams.h>
Go to the source code of this file.
|
template<typename Stream , typename... X> |
void | SerializeToVector (Stream &s, const X &... args) |
|
template<typename Stream , typename... X> |
void | UnserializeFromVector (Stream &s, X &... args) |
|
template<typename Stream > |
void | DeserializeHDKeypaths (Stream &s, const std::vector< unsigned char > &key, std::map< CPubKey, KeyOriginInfo > &hd_keypaths) |
|
template<typename Stream > |
void | SerializeHDKeypaths (Stream &s, const std::map< CPubKey, KeyOriginInfo > &hd_keypaths, uint8_t type) |
|
bool | ProduceSignature (const SigningProvider &provider, const BaseSignatureCreator &creator, const CScript &scriptPubKey, SignatureData &sigdata) |
|
bool | SignSignature (const SigningProvider &provider, const CScript &fromPubKey, CMutableTransaction &txTo, unsigned int nIn, const CAmount &amount, int nHashType) |
|
bool | SignSignature (const SigningProvider &provider, const CTransaction &txFrom, CMutableTransaction &txTo, unsigned int nIn, int nHashType) |
|
SignatureData | DataFromTransaction (const CMutableTransaction &tx, unsigned int nIn, const CTxOut &txout) |
|
void | UpdateInput (CTxIn &input, const SignatureData &data) |
|
bool | IsSolvable (const SigningProvider &provider, const CScript &script) |
|
bool | IsSegWitOutput (const SigningProvider &provider, const CScript &script) |
|
◆ SigPair
◆ DataFromTransaction()
Extract signature data from a transaction input, and insert it.
◆ DeserializeHDKeypaths()
template<typename Stream >
void DeserializeHDKeypaths |
( |
Stream & |
s, |
|
|
const std::vector< unsigned char > & |
key, |
|
|
std::map< CPubKey, KeyOriginInfo > & |
hd_keypaths |
|
) |
| |
◆ IsSegWitOutput()
Check whether a scriptPubKey is known to be segwit.
◆ IsSolvable()
◆ ProduceSignature()
Produce a script signature using a generic signature creator.
◆ SerializeHDKeypaths()
template<typename Stream >
◆ SerializeToVector()
template<typename Stream , typename... X>
void SerializeToVector |
( |
Stream & |
s, |
|
|
const X &... |
args |
|
) |
| |
◆ SignSignature() [1/2]
Produce a script signature for a transaction.
◆ SignSignature() [2/2]
◆ UnserializeFromVector()
template<typename Stream , typename... X>
void UnserializeFromVector |
( |
Stream & |
s, |
|
|
X &... |
args |
|
) |
| |
◆ UpdateInput()
◆ DUMMY_MAXIMUM_SIGNATURE_CREATOR
A signature creator that just produces 72-byte empty signatures.
◆ DUMMY_SIGNATURE_CREATOR
A signature creator that just produces 71-byte empty signatures.