MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetState

Method GetState

src/txrequest.cpp:77–77  ·  view source on GitHub ↗

Convert m_state to a State enum. */

Source from the content-addressed store, hash-verified

75
76 /** Convert m_state to a State enum. */
77 State GetState() const { return static_cast<State>(m_state); }
78
79 /** Convert a State enum to a uint8_t and store it in m_state. */
80 void SetState(State state) { m_state = static_cast<uint8_t>(state); }

Callers 13

operator()Method · 0.80
operator()Method · 0.80
RecomputePeerInfoFunction · 0.80
ComputeTxHashInfoFunction · 0.80
EraseMethod · 0.80
ModifyMethod · 0.80
PromoteCandidateReadyMethod · 0.80
ChangeAndReselectMethod · 0.80
IsOnlyNonCompletedMethod · 0.80
MakeCompletedMethod · 0.80
SetTimePointMethod · 0.80
GetRequestableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected