mirror of
https://github.com/bitcoin/bips.git
synced 2025-05-19 12:08:05 +00:00
bip-xchgrate: More sensible rate definition
This commit is contained in:
parent
3b29e5d3fa
commit
651de8120e
@ -37,7 +37,7 @@ 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>primaryCurrencyValue / rate = secondaryCurrencyValue</code>
|
Rate is defined as: <code>1 primaryCurrency = 1 secondaryCurrency / rate</code>
|
||||||
|
|
||||||
===Enumerating supported currency-pair tokens===
|
===Enumerating supported currency-pair tokens===
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user