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

Function WITNESS_B

src/simplicity/dag.h:291–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289}
290
291static inline size_t WITNESS_B(const dag_node* dag, const type* type_dag, size_t i) {
292 (void)type_dag;
293 simplicity_debug_assert(WITNESS == dag[i].tag);
294 return dag[i].targetType;
295}
296
297/* A well-formed Simplicity DAG is an array of 'dag_node's,
298 *

Calls

no outgoing calls

Tested by

no test coverage detected