Function ergo::ergo_lib_ergo_tree_template_bytes
source ยท #[no_mangle]
pub unsafe extern "C" fn ergo_lib_ergo_tree_template_bytes(
ergo_tree_ptr: ConstErgoTreePtr,
output: *mut u8,
) -> ErrorPtr
Expand description
Serialized proposition expression of SigmaProp type with ConstantPlaceholder nodes instead of
Constant nodes. Key assumption: enough memory has been allocated at the address pointed-to by
output
. Use ergo_lib_ergo_tree_template_bytes_len
to determine the length of the byte
array.