package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Octez protocol alpha libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

doc/octez-protocol-alpha-libs.test-helpers/Tezos_alpha_test_helpers/Sapling_helpers/Common/index.html

Module Sapling_helpers.CommonSource

Sourceval memo_size_of_int : int -> Tezos_protocol_alpha.Protocol.Alpha_context.Sapling.Memo_size.t
Sourceval int_of_memo_size : Tezos_protocol_alpha.Protocol.Alpha_context.Sapling.Memo_size.t -> int
Sourceval assert_true : (bool, 'a) result Lwt.t -> (unit, 'a) result Lwt.t
Sourceval assert_false : (bool, 'a) result Lwt.t -> (unit, 'a) result Lwt.t
Sourceval assert_some : ('a option, 'b) result Lwt.t -> ('a, 'b) result Lwt.t
Sourceval assert_none : ('a option, 'b) result Lwt.t -> (unit, 'b) result Lwt.t
Sourceval assert_error : ('a, 'b) result Lwt.t -> (unit, 'c) result Lwt.t
Sourceval print : ?prefix:string -> 'a Data_encoding.Encoding.t -> 'a -> unit
Sourceval to_hex : 'a -> 'a Data_encoding.Encoding.t -> string
Sourceval randomized_byte : ?pos:int -> 'a -> 'a Data_encoding.Encoding.t -> 'a
Sourcetype wallet = {
  1. sk : Tezos_sapling.Core.Wallet.Spending_key.t;
  2. vk : Tezos_sapling.Core.Wallet.Viewing_key.t;
}
Sourceval wallet_gen : unit -> wallet
Sourceval gen_addr : int -> Tezos_sapling.Core.Client.Viewing_key.t -> Tezos_sapling.Core.Client.Viewing_key.address list
Sourceval gen_nf : unit -> Tezos_sapling.Core.Client.Nullifier.t
Sourceval gen_cm_cipher : memo_size:int -> unit -> Tezos_sapling.Core.Client.Commitment.t * Tezos_sapling.Core.Client.Ciphertext.t
Sourceval client_state_of_diff : memo_size:int -> (Tezos_sapling.Core.Validator.Hash.t * Tezos_protocol_alpha.Protocol.Alpha_context.Sapling.diff) -> Tezos_sapling.Storage.state
OCaml

Innovation. Community. Security.