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

Method SetState

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

Source from the content-addressed store, hash-verified

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. */
78 bool IsSelected() const

Callers 3

PromoteCandidateReadyMethod · 0.80
ChangeAndReselectMethod · 0.80
RequestedTxMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected