diff --git a/include/bitcoin/node/chase.hpp b/include/bitcoin/node/chase.hpp index 557e3143..ed2e18b6 100644 --- a/include/bitcoin/node/chase.hpp +++ b/include/bitcoin/node/chase.hpp @@ -145,6 +145,17 @@ enum class chase /// Issued by 'confirm' [and handled by 'transaction']. reorganized, + /// Wallet. + /// ----------------------------------------------------------------------- + + /// An input spent|unspent the given address (address_t). + /// Issued by 'confirm' [and handled by services]. + spent, + + /// An address of given address received|unreceived payment (address_t). + /// Issued by 'confirm' [and handled by services]. + received, + /// Mining. /// ----------------------------------------------------------------------- diff --git a/include/bitcoin/node/define.hpp b/include/bitcoin/node/define.hpp index ac433205..3113d8d8 100644 --- a/include/bitcoin/node/define.hpp +++ b/include/bitcoin/node/define.hpp @@ -73,6 +73,7 @@ using peer_t = uint64_t; using object_t = object_key; using header_t = database::header_link::integer; using transaction_t = database::tx_link::integer; +using address_t = database::address_link::integer; /// std::variant types must be distinct, and xcode size_t is neither uint32_t /// nor uint64_t, so this ensures we have the distinct set of necessary types.