mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
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
28 lines
874 B
C
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
|