Return a copy of the Simplicity node corresponding to the given Bitcoin specific jet 'name'. */
| 81 | |
| 82 | /* Return a copy of the Simplicity node corresponding to the given Bitcoin specific jet 'name'. */ |
| 83 | static dag_node jetNode(jetName name) { |
| 84 | static const dag_node jet_node[] = { |
| 85 | #include "primitiveJetNode.inc" |
| 86 | }; |
| 87 | |
| 88 | return jet_node[name]; |
| 89 | } |
| 90 | |
| 91 | /* Decode a Bitcoin specific jet from 'stream' into 'node'. |
| 92 | * All jets begin with a bit prefix of '1' which needs to have already been consumed from the 'stream'. |
no outgoing calls
no test coverage detected