![]() |
PRCYCoin
2.0.0.7rc1
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, bool fDryRun=false) |
Private Attributes | |
| fs::path | pathDB |
| std::string | strMagicMessage |
Save Masternode Payment Data (mnpayments.dat)
Definition at line 38 of file masternode-payments.h.
| Enumerator | |
|---|---|
| Ok | |
| FileError | |
| HashReadError | |
| IncorrectHash | |
| IncorrectMagicMessage | |
| IncorrectMagicNumber | |
| IncorrectFormat | |
Definition at line 45 of file masternode-payments.h.
| CMasternodePaymentDB::CMasternodePaymentDB | ( | ) |
| CMasternodePaymentDB::ReadResult CMasternodePaymentDB::Read | ( | CMasternodePayments & | objToLoad, |
| bool | fDryRun = false |
||
| ) |
Definition at line 66 of file masternode-payments.cpp.
| bool CMasternodePaymentDB::Write | ( | const CMasternodePayments & | objToSave | ) |
Definition at line 35 of file masternode-payments.cpp.
|
private |
Definition at line 41 of file masternode-payments.h.
|
private |
Definition at line 42 of file masternode-payments.h.
1.8.17