Bitcoin Core  27.99.0
P2P Digital Currency
Namespaces | Enumerations
types.h File Reference

is a home for public enum and struct type definitions that are used by internally by wallet code, but also used externally by node or GUI code. More...

#include <type_traits>
Include dependency graph for types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 wallet
 

Enumerations

enum  wallet::isminetype : unsigned int {
  wallet::ISMINE_NO = 0 , wallet::ISMINE_WATCH_ONLY = 1 << 0 , wallet::ISMINE_SPENDABLE = 1 << 1 , wallet::ISMINE_USED = 1 << 2 ,
  wallet::ISMINE_ALL = ISMINE_WATCH_ONLY | ISMINE_SPENDABLE , wallet::ISMINE_ALL_USED = ISMINE_ALL | ISMINE_USED , wallet::ISMINE_ENUM_ELEMENTS
}
 IsMine() return codes, which depend on ScriptPubKeyMan implementation. More...
 
enum class  wallet::AddressPurpose { wallet::RECEIVE , wallet::SEND , wallet::REFUND }
 Address purpose field that has been been stored with wallet sending and receiving addresses since BIP70 payment protocol support was added in https://github.com/bitcoin/bitcoin/pull/2539. More...
 

Detailed Description

is a home for public enum and struct type definitions that are used by internally by wallet code, but also used externally by node or GUI code.

This file is intended to define only simple types that do not have external dependencies. More complicated public wallet types like CCoinControl should be defined in dedicated header files.

Definition in file types.h.