|
Monero
|
#include <cryptonote_basic.h>


Public Member Functions | |
| block () | |
| block (const block &b) | |
| block & | operator= (const block &b) |
| void | invalidate_hashes () |
| bool | is_hash_valid () const |
| void | set_hash_valid (bool v) const |
| void | set_hash (const crypto::hash &h) const |
| if (!typename Archive< W >::is_saving()) set_hash_valid(false) | |
| if (tx_hashes.size() > CRYPTONOTE_MAX_TX_PER_BLOCK) return false | |
Public Attributes | |
| transaction | miner_tx |
| std::vector< crypto::hash > | tx_hashes |
| crypto::hash | hash |
| Public Attributes inherited from cryptonote::block_header | |
| uint8_t | major_version |
| uint8_t | minor_version |
| uint64_t | timestamp |
| crypto::hash | prev_id |
| uint32_t | nonce |
Private Attributes | |
| std::atomic< bool > | hash_valid |
|
inline |
|
inline |
| cryptonote::block::if | ( | !typename Archive< W > | ::is_saving() | ) |
| cryptonote::block::if | ( | tx_hashes. | size(), |
| CRYPTONOTE_MAX_TX_PER_BLOCK | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
mutable |
|
mutableprivate |
| transaction cryptonote::block::miner_tx |
| std::vector<crypto::hash> cryptonote::block::tx_hashes |