Changeset View
Changeset View
Standalone View
Standalone View
src/script/sighashtype.h
// Copyright (c) 2017-2018 Bitcoin developers | // Copyright (c) 2017-2018 Bitcoin developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_SCRIPT_HASH_TYPE_H | #ifndef BITCOIN_SCRIPT_HASH_TYPE_H | ||||
#define BITCOIN_SCRIPT_HASH_TYPE_H | #define BITCOIN_SCRIPT_HASH_TYPE_H | ||||
#include "serialize.h" | #include <serialize.h> | ||||
#include <cstdint> | #include <cstdint> | ||||
#include <stdexcept> | #include <stdexcept> | ||||
/** Signature hash types/flags */ | /** Signature hash types/flags */ | ||||
enum { | enum { | ||||
SIGHASH_ALL = 1, | SIGHASH_ALL = 1, | ||||
SIGHASH_NONE = 2, | SIGHASH_NONE = 2, | ||||
▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines |