MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / GetState

Method GetState

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

Source from the content-addressed store, hash-verified

72 /** What state this announcement is in. */
73 State m_state : 3 {State::CANDIDATE_DELAYED};
74 State GetState() const { return m_state; }
75 void SetState(State state) { m_state = state; }
76
77 /** Whether this announcement is selected. There can be at most 1 selected peer per txhash. */

Callers 15

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

Calls

no outgoing calls

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.36