Changeset View
Changeset View
Standalone View
Standalone View
src/node/psbt.h
// Copyright (c) 2009-2019 The Bitcoin Core developers | // Copyright (c) 2009-2019 The Bitcoin Core 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_NODE_PSBT_H | #ifndef BITCOIN_NODE_PSBT_H | ||||
#define BITCOIN_NODE_PSBT_H | #define BITCOIN_NODE_PSBT_H | ||||
#include <psbt.h> | #include <psbt.h> | ||||
#include <optional> | |||||
/** | /** | ||||
* Holds an analysis of one input from a PSBT | * Holds an analysis of one input from a PSBT | ||||
*/ | */ | ||||
struct PSBTInputAnalysis { | struct PSBTInputAnalysis { | ||||
//! Whether we have UTXO information for this input | //! Whether we have UTXO information for this input | ||||
bool has_utxo; | bool has_utxo; | ||||
//! Whether the input has all required information including signatures | //! Whether the input has all required information including signatures | ||||
bool is_final; | bool is_final; | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |