mirror of
https://github.com/bitcoin/bips.git
synced 2025-05-12 12:03:29 +00:00
bip-xchgrate: Use plain English to define rate
This commit is contained in:
parent
7a324fb947
commit
253c7f923b
@ -37,7 +37,8 @@ Currency code(s) used herein are defined as such:
|
|||||||
* XBT is defined as 100000000 satoshis (commonly known as 1 BTC).
|
* XBT is defined as 100000000 satoshis (commonly known as 1 BTC).
|
||||||
* Strings longer than 3 characters may be used for currencies without an applicable code. (If a shorter code is desired despite this, it may be padded with space(s) to the left until it is 4 characters. Software MAY strip these spaces.)
|
* Strings longer than 3 characters may be used for currencies without an applicable code. (If a shorter code is desired despite this, it may be padded with space(s) to the left until it is 4 characters. Software MAY strip these spaces.)
|
||||||
|
|
||||||
Rate is defined as: <code>1 quoteCurrency = 1 baseCurrency * rate</code>
|
Rate is defined as the amount of base-currency to be exchanged for one unit of the quote-currency.
|
||||||
|
In other words, <code>1 quoteCurrency = rate baseCurrency</code>.
|
||||||
|
|
||||||
===Enumerating supported currency-pair tokens===
|
===Enumerating supported currency-pair tokens===
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user