ModulesΒ§
- for_
tests - local_
state - protocol_
state - signed_
command - transaction_
applied - transaction_
partially_ applied - transaction_
union_ payload - transaction_
witness - valid
- verifiable
- zkapp_
command - zkapp_
statement
StructsΒ§
- Coinbase
- https://github.com/MinaProtocol/mina/blob/2ee6e004ba8c6a0541056076aab22ea162f7eb3a/src/lib/mina_base/coinbase.ml#L17
- Coinbase
FeeTransfer - Failure
Collection π - FeeTransfer
- https://github.com/MinaProtocol/mina/blob/2ee6e004ba8c6a0541056076aab22ea162f7eb3a/src/lib/mina_base/fee_transfer.ml#L68
- HasPermission
ToReceive π - Memo
- 0th byte is a tag to distinguish digests from other data 1st byte is length, always 32 for digests bytes 2 to 33 are data, 0-right-padded if length is less than 32
- MinBalance π
- Single
FeeTransfer - https://github.com/MinaProtocol/mina/blob/2ee6e004ba8c6a0541056076aab22ea162f7eb3a/src/lib/mina_base/fee_transfer.ml#L19
- Updates
- With
Status - https://github.com/MinaProtocol/mina/blob/2ee6e004ba8c6a0541056076aab22ea162f7eb3a/src/lib/mina_base/with_status.ml#L6
EnumsΒ§
- Account
State - Binary
Transaction πStatus - Existing
OrNew - Timing
Validation - Transaction
- Transaction
Failure - https://github.com/MinaProtocol/mina/blob/2ee6e004ba8c6a0541056076aab22ea162f7eb3a/src/lib/mina_base/transaction_status.ml#L9
- Transaction
Status - https://github.com/MinaProtocol/mina/blob/2ee6e004ba8c6a0541056076aab22ea162f7eb3a/src/lib/mina_base/transaction_status.ml#L452
- User
Command - Well
Formedness Error
TraitsΒ§
FunctionsΒ§
- account_
check_ timing - add_
amount π - apply_
coinbase π - Structure of the failure status:
I. No fee transfer and coinbase transfer fails:
[[failure]]
II. With fee transfer- Both fee transfer and coinbase fails:[[failure-of-fee-transfer]; [failure-of-coinbase]]
Fee transfer succeeds and coinbase fails:[[];[failure-of-coinbase]]
Fee transfer fails and coinbase succeeds:[[failure-of-fee-transfer];[]]
- apply_
fee_ πtransfer - https://github.com/MinaProtocol/mina/blob/2ee6e004ba8c6a0541056076aab22ea162f7eb3a/src/lib/transaction_logic/mina_transaction_logic.ml#L1991
- apply_
transaction_ first_ pass - apply_
transaction_ second_ pass - apply_
transactions - apply_
user_ command - apply_
user_ command_ unchecked - apply_
zkapp_ πcommand_ first_ pass - apply_
zkapp_ command_ first_ pass_ aux - apply zkapp command fee payerβs while stubbing out the second pass ledger
CAUTION: If you use the intermediate local states, you MUST update the
LocalStateEnv::will_succeed
field tofalse
if thestatus
isTransactionStatus::Failed
.*) - apply_
zkapp_ πcommand_ second_ pass - apply_
zkapp_ command_ second_ pass_ aux - apply_
zkapp_ πcommand_ unchecked - apply_
zkapp_ πcommand_ unchecked_ aux - checked_
cons_ signed_ command_ payload - Returns the new
receipt_chain_hash
- compute_
updates - cons_
signed_ command_ payload - Returns the new
receipt_chain_hash
- cons_
zkapp_ command_ commitment - prepend account_update index computed by Zkapp_command_logic.apply
- get_
account - get_
new_ πaccounts - get_
with_ πlocation - has_
permission_ πto_ receive - https://github.com/MinaProtocol/mina/blob/2ee6e004ba8c6a0541056076aab22ea162f7eb3a/src/lib/transaction_logic/mina_transaction_logic.ml#L1852
- is_
timed - pay_fee
- pay_
fee_ πimpl - process_
fee_ πtransfer - Structure of the failure status:
I. Only one fee transfer in the transaction (
One) and it fails: [[failure]] II. Two fee transfers in the transaction (
Two)- Both fee transfers fail: [[failure-of-first-fee-transfer]; [failure-of-second-fee-transfer]] First succeeds and second one fails: [[];[failure-of-second-fee-transfer]] First fails and second succeeds: [[failure-of-first-fee-transfer];[]] - set_
account - set_
with_ location - step_
all π - sub_
account_ πcreation_ fee - https://github.com/MinaProtocol/mina/blob/2ee6e004ba8c6a0541056076aab22ea162f7eb3a/src/lib/transaction_logic/mina_transaction_logic.ml#L607
- sub_
amount π - timing_
error_ to_ user_ command_ status - update_
timing_ πwhen_ no_ deduction - validate_
nonces π - validate_
time - validate_
timing - validate_
timing_ πwith_ min_ balance - validate_
timing_ πwith_ min_ balance_ impl