Re-exportsΒ§
pub use mask::*;
ModulesΒ§
- account π
- address π
- base π
- cache π
- database π
- dummy
- generators
- hash π
- mask
- ondisk
- Database
- port_
ocaml π - proofs
- raw
- scan_
state - sparse_
ledger - staged_
ledger - transaction_
pool - tree π
- tree_
version π - util π
- verifier
- zkapps
MacrosΒ§
- elog π
- Print logs on stderr with the prefix
[ledger]
StructsΒ§
- Account
- Account
Id - Account
IdOrderable - An
AccountId
implementingOrd
&PartialOrd
, reproducing OCaml ordering. - Account
Index - Account
Legacy - Auth
Required Encoded - Database
- Hashes
Matrix - Mutable
Fp - Alternative to
Rc<Cell<Option<Fp>>>
that isSend
- Permissions
- Permissions
Legacy - Perms
Const - Receipt
Chain Hash - SetVerification
Key - Snapp
Account - Timing
AsRecord - Timing
AsRecord Checked - TokenId
- Token
IdLegacy - Token
Symbol - V1
- V2
- Verification
Key - Verification
KeyWire - Voting
For - ZkApp
Account - ZkApp
Uri
EnumsΒ§
- Auth
OrVersion - Auth
Required - Control
Tag - Database
Error - Direction
- GetOr
Created - Merkle
Path - MyCow
- MyCow
Mut - Permission
To - Proof
Verified - Timing
- A timed account is an account, which releases its balance to be spent gradually. The process of releasing frozen funds is defined as follows. Until the cliff_time global slot is reached, the initial_minimum_balance of mina is frozen and cannot be spent. At the cliff slot, cliff_amount is released and initial_minimum_balance is effectively lowered by that amount. Next, every vesting_period number of slots, vesting_increment is released, further decreasing the current minimum balance. At some point minimum balance drops to 0, and after that the account behaves like an untimed one. *)
- Token
Permissions
ConstantsΒ§
- TXN_
VERSION_ CURRENT - Mina_numbers.Txn_version.current
StaticsΒ§
TraitsΒ§
FunctionsΒ§
- account_
empty_ legacy_ hash - array_
into - array_
into_ with - check_
permission - checked_
equal_ compressed_ key - checked_
equal_ compressed_ key_ const_ and - checked_
verify_ merkle_ path implied_root
in OCaml- compressed_
pubkey_ from_ address_ maybe_ with_ error - decompress_
pk - Not sure if itβs correct I used the same code as there: https://github.com/o1-labs/proof-systems/blob/226de4aeb11b8814327ab832e4fccdce5585f473/signer/src/pubkey.rs#L95-L106
- default_
zkapp_ hash - drop
- eval_
no_ proof - gen_
compressed - gen_
keypair - get_
legacy_ hash_ of - next_
uuid - pid
- short_
backtrace - Make a backtrace without OCaml dependencies Those are very noisy and are not meaningful for our case Only Rust and Mina codebase symbols should remain.
- split_
at - split_
at_ vec - take
- take_at
- try_
array_ into_ with - Note: Refactor when
core::array::try_map
is stable https://github.com/rust-lang/rust/issues/79711