![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
Save Masternode Payment Data (mnpayments.dat) More...
#include <masternode-payments.h>
Public Types | |
| enum | ReadResult { Ok , FileError , HashReadError , IncorrectHash , IncorrectMagicMessage , IncorrectMagicNumber , IncorrectFormat } |
Public Member Functions | |
| CMasternodePaymentDB () | |
| bool | Write (const CMasternodePayments &objToSave) |
| ReadResult | Read (CMasternodePayments &objToLoad) |
Private Attributes | |
| fs::path | pathDB |
| std::string | strMagicMessage |
Save Masternode Payment Data (mnpayments.dat)
Definition at line 43 of file masternode-payments.h.
| Enumerator | |
|---|---|
| Ok | |
| FileError | |
| HashReadError | |
| IncorrectHash | |
| IncorrectMagicMessage | |
| IncorrectMagicNumber | |
| IncorrectFormat | |
Definition at line 50 of file masternode-payments.h.
| CMasternodePaymentDB::CMasternodePaymentDB | ( | ) |
| CMasternodePaymentDB::ReadResult CMasternodePaymentDB::Read | ( | CMasternodePayments & | objToLoad | ) |
| bool CMasternodePaymentDB::Write | ( | const CMasternodePayments & | objToSave | ) |
Definition at line 42 of file masternode-payments.cpp.
|
private |
Definition at line 46 of file masternode-payments.h.
|
private |
Definition at line 47 of file masternode-payments.h.