elements/hashBlock.h
Russell O'Connor 3b60583dd2 Squashed 'src/simplicity/' changes from 86ac0f92c4..c2d4c3d07b
c2d4c3d07b Update elements-sources.mk
5ba4a709ac Add explicit deallocation functions to the Simplicity API
fd3a1a7c3f Fix comments
e10d34fa49 Clarify comment about illegal hidden children
3b55e8150e Rename STOP code error message
f67d1ad145 Generate contents of decodePrimitive automatically
991fddcb6a Correctly name identity hashes
a840706c2f Static asserts on imr_buf not needed
7e91641218 Prep C code for VST proving

git-subtree-dir: src/simplicity
git-subtree-split: c2d4c3d07bb7e5973fc22cf172ed8fb9a84b4365
2025-01-31 11:44:47 -05:00

28 lines
874 B
C

#ifndef SIMPLICITY_HASHBLOCK_H
#define SIMPLICITY_HASHBLOCK_H
#include <stddef.h>
#include <stdint.h>
#include "bounded.h"
/* A length-prefixed encoding of the following Simplicity program:
* hashBlock
*/
extern const unsigned char hashBlock[];
extern const size_t sizeof_hashBlock;
extern const unsigned char hashBlock_witness[];
extern const size_t sizeof_hashBlock_witness;
/* The commitment Merkle root of the above hashBlock Simplicity expression. */
extern const uint32_t hashBlock_cmr[];
/* The identity hash of the root of the above hashBlock Simplicity expression. */
extern const uint32_t hashBlock_ihr[];
/* The annotated Merkle root of the above hashBlock Simplicity expression. */
extern const uint32_t hashBlock_amr[];
/* The cost of the above hashBlock Simplicity expression in milli weight units. */
extern const ubounded hashBlock_cost;
#endif