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

Method push_back

src/script/interpreter.cpp:296–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294 bool empty() const { return m_stack_size == 0; }
295 bool all_true() const { return m_first_false_pos == NO_FALSE; }
296 void push_back(bool f)
297 {
298 if (m_first_false_pos == NO_FALSE && !f) {
299 // The stack consists of all true values, and a false is added.
300 // The first false value will appear at the current size.
301 m_first_false_pos = m_stack_size;
302 }
303 ++m_stack_size;
304 }
305 void pop_back()
306 {
307 assert(m_stack_size > 0);

Callers 15

GetPubKeyMethod · 0.45
ToNormalizedStringMethod · 0.45
GetPubKeyMethod · 0.45
ExpandHelperMethod · 0.45
GetMaxKeyExprMethod · 0.45
GetKeyCountMethod · 0.45
CloneMethod · 0.45
MiniscriptDescriptorMethod · 0.45
CloneMethod · 0.45
FromPKBytesMethod · 0.45
FromPKHBytesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected