mirror of
https://github.com/lightning/bolts.git
synced 2024-11-19 10:00:04 +01:00
Make unit explicit encoded in BOLT11 invoice
Rewording
This commit is contained in:
parent
1fd1e76f9e
commit
25a9debcf3
@ -43,7 +43,7 @@ and MUST fail if the checksum is incorrect.
|
||||
The human-readable part of a Lightning invoice consists of two sections:
|
||||
1. `prefix`: `ln` + BIP-0173 currency prefix (e.g. `lnbc` for bitcoin mainnet, `lntb` for bitcoin testnet and `lnbcrt` for bitcoin regtest)
|
||||
1. `amount`: optional number in that currency, followed by an optional
|
||||
`multiplier` letter
|
||||
`multiplier` letter. The unit encoded here is the 'social' convention of a payment unit -- in the case of Bitcoin the unit is 'bitcoin' NOT satoshis.
|
||||
|
||||
The following `multiplier` letters are defined:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user