Clarify micro-lamports is unit of Compute Unit Price (#26486)

* to clarify micro-lamport is the unit of compute-unit price

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
This commit is contained in:
Tao Zhu 2022-07-07 16:06:34 -05:00 committed by GitHub
parent 8caf0f3d05
commit 4a78dfe240
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ A stack of proofs, each of which proves that some data existed before the proof
An additional fee user can specify in compute budget [instruction](#instruction) to prioritize their [transactions](#transaction).
The prioritization fee is calculated from multiplying the number of compute units requested by the compute unit price (0.000001 lamports per compute unit) rounded up to the nearest lamport.
The prioritization fee is calculated by multiplying the requested maximum compute units by the compute-unit price (specified in increments of 0.000001 lamports per compute unit) rounded up to the nearest lamport.
Transactions should request the minimum amount of compute units required for execution to minimize fees.