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

Method MempoolAcceptResult

src/validation.h:215–218  ·  view source on GitHub ↗

Constructor for failure case */

Source from the content-addressed store, hash-verified

213private:
214 /** Constructor for failure case */
215 explicit MempoolAcceptResult(TxValidationState state)
216 : m_result_type(ResultType::INVALID), m_state(state) {
217 Assume(!state.IsValid()); // Can be invalid or error
218 }
219
220 /** Constructor for success case */
221 explicit MempoolAcceptResult(std::list<CTransactionRef>&& replaced_txns, int64_t vsize, CAmount fees)

Callers

nothing calls this directly

Calls 1

IsValidMethod · 0.45

Tested by

no test coverage detected