Raw.UTXO
type rk = R.rk
type spend_proof = R.spend_proof
type sighash = R.sighash
What gets signed. Has to be a hash of an input plus anti-replay string.
val hash_input :
R.cv ->
R.nullifier ->
R.rk ->
R.spend_proof ->
string ->
R.sighash
type spend_sig = R.spend_sig
val input_encoding : input Data_encoding.encoding
type output_proof = R.output_proof
val output_encoding : output Data_encoding.encoding
type binding_sig = R.binding_sig
val binding_sig_encoding : R.binding_sig Data_encoding.encoding
type transaction = {
inputs : input list;
outputs : output list;
binding_sig : binding_sig;
balance : int64;
root : Hash.t;
bound_data : string;
}
val transaction_encoding : transaction Data_encoding.encoding
module Legacy : sig ... end