Bitcoin Core
29.99.0
P2P Digital Currency
src
wallet
types.h
Go to the documentation of this file.
1
// Copyright (c) 2009-2010 Satoshi Nakamoto
2
// Copyright (c) 2009-2021 The Bitcoin Core developers
3
// Distributed under the MIT software license, see the accompanying
4
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
13
14
#ifndef BITCOIN_WALLET_TYPES_H
15
#define BITCOIN_WALLET_TYPES_H
16
17
#include <type_traits>
18
19
namespace
wallet
{
28
enum class
AddressPurpose
{
29
RECEIVE
,
30
SEND
,
31
REFUND
,
32
};
33
}
// namespace wallet
34
35
#endif
// BITCOIN_WALLET_TYPES_H
wallet
Definition:
wallet_balance.cpp:26
wallet::AddressPurpose
AddressPurpose
Address purpose field that has been been stored with wallet sending and receiving addresses since BIP...
Definition:
types.h:28
wallet::AddressPurpose::REFUND
@ REFUND
Never set in current code may be present in older wallet databases.
wallet::AddressPurpose::RECEIVE
@ RECEIVE
wallet::AddressPurpose::SEND
@ SEND
Generated on Wed Sep 3 2025 20:00:29 for Bitcoin Core by
1.9.4