|
CatapultServer
v0.5.0.1 (Elephant)
|

Public Member Functions | |
| LocalNodeChainScore ()=default | |
| Creates a default local node chain score. More... | |
| LocalNodeChainScore (const model::ChainScore &score) | |
| Creates a local node chain score around score. More... | |
| model::ChainScore | get () const |
| Gets the current chain score. More... | |
| void | set (const model::ChainScore &chainScore) |
| Sets the current chain score to chainScore. More... | |
| LocalNodeChainScore & | operator+= (const model::ChainScore &rhs) |
| Adds rhs to this chain score. More... | |
Private Attributes | |
| model::ChainScore | m_score |
| utils::SpinReaderWriterLock | m_lock |
Chain score stored by the local node.
|
default |
Creates a default local node chain score.
|
inlineexplicit |
Creates a local node chain score around score.
|
inline |
Gets the current chain score.


|
inline |
Adds rhs to this chain score.

|
inline |
Sets the current chain score to chainScore.

|
mutableprivate |
|
private |