mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-09 16:14:19 +01:00
chainparams: Move the BOLT2 quote to the chainparams where we set it
This commit is contained in:
@@ -12,6 +12,12 @@ const struct chainparams networks[] = {
|
||||
.cli = "bitcoin-cli",
|
||||
.cli_args = NULL,
|
||||
.dust_limit = 546,
|
||||
/* BOLT #2:
|
||||
*
|
||||
* The sending node:
|
||||
*...
|
||||
* - MUST set `funding_satoshis` to less than 2^24 satoshi.
|
||||
*/
|
||||
.max_funding_satoshi = (1 << 24) - 1,
|
||||
.max_payment_msat = 0xFFFFFFFFULL,
|
||||
/* "Lightning Charge Powers Developers & Blockstream Store" */
|
||||
|
||||
@@ -29,12 +29,4 @@ bool extract_channel_id(const u8 *in_pkt, struct channel_id *channel_id);
|
||||
* the network, as detailed within [BOLT #7]
|
||||
*/
|
||||
#define CHANNEL_FLAGS_ANNOUNCE_CHANNEL 1
|
||||
|
||||
/* BOLT #2:
|
||||
*
|
||||
* The sending node:
|
||||
*...
|
||||
* - MUST set `funding_satoshis` to less than 2^24 satoshi.
|
||||
*/
|
||||
#define MAX_FUNDING_SATOSHI ((1 << 24) - 1)
|
||||
#endif /* LIGHTNING_WIRE_PEER_WIRE_H */
|
||||
|
||||
Reference in New Issue
Block a user