mirror of
https://github.com/lightning/bolts.git
synced 2024-11-19 10:00:04 +01:00
Add clarification for Bolt11 prefix for regtest
The document (and also BIP-0173) does not clarify which prefix bitcoin regtest should use, but bitcoin-core seems to have settled on `bcrt`, thus the most concise way for bolt11 would be to use `lnbcrt...` currently c-lightning and lnd are not compatible if you want to pay invoices in regtest mode, see: - https://github.com/ElementsProject/lightning/issues/1241 - https://github.com/lightningnetwork/lnd/issues/882
This commit is contained in:
parent
0b75f25112
commit
e39d3d2ff3
@ -41,7 +41,7 @@ and MUST fail if the checksum is incorrect.
|
||||
# Human-Readable Part
|
||||
|
||||
The human-readable part of a Lightning invoice consists of two sections:
|
||||
1. `prefix`: `ln` + BIP-0173 currency prefix (e.g. `lnbc` for bitcoins or `lntb` for testnet bitcoins)
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user