PIVX Core
5.6.99
P2P Digital Currency
src
libzerocoin
SpendType.h
Go to the documentation of this file.
1
// Copyright (c) 2018 The PIVX Core 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
#ifndef PIVX_LIBZEROCOIN_SPENDTYPE_H
6
#define PIVX_LIBZEROCOIN_SPENDTYPE_H
7
8
#include <cstdint>
9
10
namespace
libzerocoin
{
11
enum
SpendType
: uint8_t {
12
SPEND
,
// Used for a typical spend transaction, zPIV should be unusable after
13
STAKE
,
// Used for a spend that occurs as a stake
14
MN_COLLATERAL
,
// Used when proving ownership of zPIV that will be used for masternodes (future)
15
SIGN_MESSAGE
// Used to sign messages that do not belong above (future)
16
};
17
}
18
19
#endif
// PIVX_LIBZEROCOIN_SPENDTYPE_H
libzerocoin
Definition:
zerocoin_verify.h:17
libzerocoin::SpendType
SpendType
Definition:
SpendType.h:11
libzerocoin::STAKE
@ STAKE
Definition:
SpendType.h:13
libzerocoin::SIGN_MESSAGE
@ SIGN_MESSAGE
Definition:
SpendType.h:15
libzerocoin::SPEND
@ SPEND
Definition:
SpendType.h:12
libzerocoin::MN_COLLATERAL
@ MN_COLLATERAL
Definition:
SpendType.h:14
Generated on Wed Apr 2 2025 00:40:29 for PIVX Core by
1.9.1