Bitcoin
|
Public Member Functions | |
CTransactionSignatureSerializer (const T &txToIn, const CScript &scriptCodeIn, unsigned int nInIn, int nHashTypeIn) | |
template<typename S > | |
void | SerializeScriptCode (S &s) const |
template<typename S > | |
void | SerializeInput (S &s, unsigned int nInput) const |
template<typename S > | |
void | SerializeOutput (S &s, unsigned int nOutput) const |
template<typename S > | |
void | Serialize (S &s) const |
Private Attributes | |
const T & | txTo |
reference to the spending transaction (the one being serialized) More... | |
const CScript & | scriptCode |
output script being consumed More... | |
const unsigned int | nIn |
input index of txTo being signed More... | |
const bool | fAnyoneCanPay |
whether the hashtype has the SIGHASH_ANYONECANPAY flag set More... | |
const bool | fHashSingle |
whether the hashtype is SIGHASH_SINGLE More... | |
const bool | fHashNone |
whether the hashtype is SIGHASH_NONE More... | |
Wrapper that serializes like CTransaction, but with the modifications required for the signature hash done in-place
|
inline |
|
inline |
Serialize txTo
|
inline |
Serialize an input of txTo
|
inline |
Serialize an output of txTo
|
inline |
Serialize the passed scriptCode, skipping OP_CODESEPARATORs
|
private |
whether the hashtype has the SIGHASH_ANYONECANPAY flag set
|
private |
whether the hashtype is SIGHASH_NONE
|
private |
whether the hashtype is SIGHASH_SINGLE
|
private |
input index of txTo being signed
|
private |
output script being consumed
|
private |
reference to the spending transaction (the one being serialized)