5#ifndef BITCOIN_SCRIPT_SIGHASHTYPE_H
6#define BITCOIN_SCRIPT_SIGHASHTYPE_H
85 template <
typename Stream>
void Serialize(Stream &s)
const {
Signature hash type wrapper class.
uint32_t getRawSigHashType() const
void Unserialize(Stream &s)
BaseSigHashType getBaseType() const
friend constexpr bool operator==(const SigHashType &a, const SigHashType &b)
Handy operators.
SigHashType withForkId(bool forkId=true) const
SigHashType withAnyoneCanPay(bool anyoneCanPay=true) const
bool hasAnyoneCanPay() const
SigHashType(uint32_t sigHashIn)
void Serialize(Stream &s) const
SigHashType withForkValue(uint32_t forkId) const
friend constexpr bool operator!=(const SigHashType &a, const SigHashType &b)
SigHashType withBaseType(BaseSigHashType baseSigHashType) const
uint32_t getForkValue() const
BaseSigHashType
Base signature hash types Base sig hash types not defined in this enum may be used,...