Bitcoin ABC  0.29.1
P2P Digital Currency
Classes | Enumerations
sighashtype.h File Reference
#include <serialize.h>
#include <cstdint>
#include <stdexcept>
Include dependency graph for sighashtype.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SigHashType
 Signature hash type wrapper class. More...
 

Enumerations

enum  {
  SIGHASH_ALL = 1 , SIGHASH_NONE = 2 , SIGHASH_SINGLE = 3 , SIGHASH_FORKID = 0x40 ,
  SIGHASH_ANYONECANPAY = 0x80
}
 Signature hash types/flags. More...
 
enum class  BaseSigHashType : uint8_t { UNSUPPORTED = 0 , ALL = SIGHASH_ALL , NONE = SIGHASH_NONE , SINGLE = SIGHASH_SINGLE }
 Base signature hash types Base sig hash types not defined in this enum may be used, but they will be represented as UNSUPPORTED. More...
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Signature hash types/flags.

Enumerator
SIGHASH_ALL 
SIGHASH_NONE 
SIGHASH_SINGLE 
SIGHASH_FORKID 
SIGHASH_ANYONECANPAY 

Definition at line 14 of file sighashtype.h.

◆ BaseSigHashType

enum BaseSigHashType : uint8_t
strong

Base signature hash types Base sig hash types not defined in this enum may be used, but they will be represented as UNSUPPORTED.

See transaction c99c49da4c38af669dea436d3e73780dfdb6c1ecf9958baa52960e8baee30e73 for an example where an unsupported base sig hash of 0 was used.

Enumerator
UNSUPPORTED 
ALL 
NONE 
SINGLE 

Definition at line 29 of file sighashtype.h.