#include <validators.h>
Definition at line 72 of file validators.h.
◆ Validator() [1/2]
| electroneum::basic::Validator::Validator |
( |
| ) |
|
|
default |
◆ Validator() [2/2]
| electroneum::basic::Validator::Validator |
( |
const string & |
publicKey, |
|
|
uint64_t |
startHeight, |
|
|
uint64_t |
endHeight, |
|
|
string |
name = "", |
|
|
string |
domain = "", |
|
|
string |
page_link = "" |
|
) |
| |
Definition at line 37 of file validators.cpp.
38 : publicKey(publicKey), startHeight(startHeight), endHeight(endHeight), name(name), domain(domain), page_link(page_link) {}
◆ getdomain()
| string electroneum::basic::Validator::getdomain |
( |
| ) |
|
|
inline |
◆ getEndHeight()
| uint64_t electroneum::basic::Validator::getEndHeight |
( |
| ) |
|
|
inline |
Definition at line 93 of file validators.h.
94 return this->endHeight;
◆ getName()
| string electroneum::basic::Validator::getName |
( |
| ) |
|
|
inline |
◆ getPageLink()
| string electroneum::basic::Validator::getPageLink |
( |
| ) |
|
|
inline |
◆ getPublicKey()
| const string electroneum::basic::Validator::getPublicKey |
( |
| ) |
|
|
inline |
Definition at line 85 of file validators.h.
86 return this->publicKey;
◆ getStartHeight()
| uint64_t electroneum::basic::Validator::getStartHeight |
( |
| ) |
|
|
inline |
Definition at line 89 of file validators.h.
90 return this->startHeight;
◆ getValidatorInfo()
| Validator electroneum::basic::Validator::getValidatorInfo |
( |
| ) |
|
|
inline |
Definition at line 129 of file validators.h.
132 v.domain = this->domain;
133 v.page_link = this->page_link;
◆ isWithinRange()
| bool electroneum::basic::Validator::isWithinRange |
( |
uint64_t |
height | ) |
|
|
inline |
Definition at line 101 of file validators.h.
102 return height >= this->startHeight && (
height <= this->endHeight || this->endHeight == 0);
◆ setDomain()
| void electroneum::basic::Validator::setDomain |
( |
string |
domain | ) |
|
|
inline |
◆ setEndHeight()
| void electroneum::basic::Validator::setEndHeight |
( |
uint64_t |
end_height | ) |
|
|
inline |
Definition at line 97 of file validators.h.
98 this->endHeight = end_height;
◆ setName()
| void electroneum::basic::Validator::setName |
( |
string |
name | ) |
|
|
inline |
◆ setPageLink()
| void electroneum::basic::Validator::setPageLink |
( |
string |
page_link | ) |
|
|
inline |
Definition at line 121 of file validators.h.
122 this->page_link = page_link;
The documentation for this class was generated from the following files:
- /home/abuild/rpmbuild/BUILD/electroneum-5.0.0.4/src/cryptonote_basic/validators.h
- /home/abuild/rpmbuild/BUILD/electroneum-5.0.0.4/src/cryptonote_basic/validators.cpp