Skip to content

Commit

Permalink
Close transactions are not allowed on accounts with assets.
Browse files Browse the repository at this point in the history
  • Loading branch information
derbear committed Nov 12, 2019
1 parent a98848c commit 8bb7f35
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dev/ledger.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,8 @@ Accounts can hold up to $Assets_{\max}$ assets (1000 in this protocol).
An account must hold every asset that it created (even if it holds 0
units of that asset), until that asset is destroyed. An account's asset
holding is simply a map from asset IDs to an integer value indicating
how many units of that asset is held by the account.
how many units of that asset is held by the account. An account that
holds any asset cannot be closed.


Transactions
Expand Down Expand Up @@ -761,6 +762,7 @@ identifier $\GenesisID_B$, the following conditions must all hold:
- $I \neq I_k$ or both $I' \neq I_{pool}$ and $I_0 \neq 0$.
- $\Stake(r+1, I) - f > a$ if $I' \neq I$ and $I' \neq 0$.
- If $I_0 \neq 0$, then $I_0 \neq I$.
- If $I_0 \neq 0$, $I$ cannot hold any assets.
- If $\TxType$ is "keyreg",
- $p_{\rho, I} \ne 2$ (i.e., nonparticipatory accounts may not issue keyreg transactions)
- If $\nonpart$ is true then $\pk = 0$
Expand Down

0 comments on commit 8bb7f35

Please sign in to comment.