PIVX Core  5.6.99
P2P Digital Currency
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
@ SIGN_MESSAGE
Definition: SpendType.h:15
@ MN_COLLATERAL
Definition: SpendType.h:14