1 // Copyright (c) 2010-2021 The Limenka developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 5 //! @file common/types.h is a home for simple enum and struct type definitions
6 //! that can be used internally by functions in the liblimenka_common library,
7 //! but also used externally by node, wallet, and GUI code.
8 //!
9 //! This file is intended to define only simple types that do not have external
10 //! dependencies. More complicated types should be defined in dedicated header
11 //! files.
12 13 #ifndef LIMENKA_COMMON_TYPES_H
14 #define LIMENKA_COMMON_TYPES_H
15 16 namespace common {
17 enum class PSBTError {
18 MISSING_INPUTS,
19 SIGHASH_MISMATCH,
20 EXTERNAL_SIGNER_NOT_FOUND,
21 EXTERNAL_SIGNER_FAILED,
22 UNSUPPORTED,
23 };
24 } // namespace common
25 26 #endif // LIMENKA_COMMON_TYPES_H
27