mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
doc: remove suffix for included-in-master BOLTs.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
3ccb6d6e7a
commit
9dbac21d3b
@ -120,7 +120,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
fee = commit_tx_base_fee(feerate_per_kw, 0,
|
||||
option_anchor_outputs);
|
||||
/* BOLT-a12da24dd0102c170365124782b46d9710950ac1:
|
||||
/* BOLT #3:
|
||||
* If `option_anchor_outputs` applies to the commitment
|
||||
* transaction, also subtract two times the fixed anchor size
|
||||
* of 330 sats from the funder (either `to_local` or
|
||||
|
@ -1111,7 +1111,7 @@ static struct io_plan *handle_sign_remote_htlc_tx(struct io_conn *conn,
|
||||
return bad_req_fmt(conn, c, msg_in,
|
||||
"Failed deriving htlc pubkey");
|
||||
|
||||
/* BOLT-a12da24dd0102c170365124782b46d9710950ac1 #3:
|
||||
/* BOLT #3:
|
||||
* ## HTLC-Timeout and HTLC-Success Transactions
|
||||
*...
|
||||
* * if `option_anchor_outputs` applies to this commitment transaction,
|
||||
@ -1243,7 +1243,7 @@ static struct io_plan *handle_sign_remote_htlc_to_us(struct io_conn *conn,
|
||||
return bad_req_fmt(conn, c, msg_in,
|
||||
"Failed deriving htlc privkey");
|
||||
|
||||
/* BOLT-a12da24dd0102c170365124782b46d9710950ac1 #3:
|
||||
/* BOLT #3:
|
||||
* ## HTLC-Timeout and HTLC-Success Transactions
|
||||
*...
|
||||
* * if `option_anchor_outputs` applies to this commitment transaction,
|
||||
@ -1354,7 +1354,7 @@ static struct io_plan *handle_sign_local_htlc_tx(struct io_conn *conn,
|
||||
|
||||
/* FIXME: Check that output script is correct! */
|
||||
|
||||
/* BOLT-a12da24dd0102c170365124782b46d9710950ac1 #3:
|
||||
/* BOLT #3:
|
||||
* ## HTLC-Timeout and HTLC-Success Transactions
|
||||
*...
|
||||
* * if `option_anchor_outputs` applies to this commitment transaction,
|
||||
|
@ -136,7 +136,7 @@ wallet_commit_channel(struct lightningd *ld,
|
||||
/* old_remote_per_commit not valid yet, copy valid one. */
|
||||
channel_info->old_remote_per_commit = channel_info->remote_per_commit;
|
||||
|
||||
/* BOLT-a12da24dd0102c170365124782b46d9710950ac1 #2:
|
||||
/* BOLT #2:
|
||||
* 1. type: 35 (`funding_signed`)
|
||||
* 2. data:
|
||||
* * [`channel_id`:`channel_id`]
|
||||
|
@ -573,7 +573,7 @@ static struct amount_sat commit_txfee(const struct channel *channel,
|
||||
}
|
||||
|
||||
/*
|
||||
* BOLT-f5490f17d17ff49dc26ee459432b3c9db4fda8a9 #2:
|
||||
* BOLT #2:
|
||||
* A sending node:
|
||||
*...
|
||||
* - SHOULD NOT offer `amount_msat` if, after adding that HTLC to its
|
||||
@ -588,7 +588,7 @@ static struct amount_sat commit_txfee(const struct channel *channel,
|
||||
channel->option_anchor_outputs);
|
||||
|
||||
if (channel->option_anchor_outputs) {
|
||||
/* BOLT-a12da24dd0102c170365124782b46d9710950ac1:
|
||||
/* BOLT #3:
|
||||
* If `option_anchor_outputs` applies to the commitment
|
||||
* transaction, also subtract two times the fixed anchor size
|
||||
* of 330 sats from the funder (either `to_local` or
|
||||
|
@ -512,7 +512,7 @@ static bool set_htlc_timeout_fee(struct bitcoin_tx *tx,
|
||||
struct amount_asset asset = bitcoin_tx_output_get_amount(tx, 0);
|
||||
size_t weight;
|
||||
|
||||
/* BOLT-a12da24dd0102c170365124782b46d9710950ac1 #3:
|
||||
/* BOLT #3:
|
||||
*
|
||||
* The fee for an HTLC-timeout transaction:
|
||||
* - MUST BE calculated to match:
|
||||
@ -559,7 +559,7 @@ static void set_htlc_success_fee(struct bitcoin_tx *tx,
|
||||
struct amount_asset asset;
|
||||
size_t weight;
|
||||
|
||||
/* BOLT-a12da24dd0102c170365124782b46d9710950ac1 #3:
|
||||
/* BOLT #3:
|
||||
*
|
||||
* The fee for an HTLC-success transaction:
|
||||
* - MUST BE calculated to match:
|
||||
@ -2559,7 +2559,7 @@ static void get_anchor_scriptpubkeys(const tal_t *ctx, u8 **anchor)
|
||||
static u8 *scriptpubkey_to_remote(const tal_t *ctx,
|
||||
const struct pubkey *remotekey)
|
||||
{
|
||||
/* BOLT-a12da24dd0102c170365124782b46d9710950ac1 #3:
|
||||
/* BOLT #3:
|
||||
*
|
||||
* #### `to_remote` Output
|
||||
*
|
||||
|
@ -62,7 +62,7 @@ bool check_config_bounds(const tal_t *ctx,
|
||||
return false;
|
||||
}
|
||||
|
||||
/* BOLT-a12da24dd0102c170365124782b46d9710950ac1 #2:
|
||||
/* BOLT #2:
|
||||
* - if `option_anchor_outputs` applies to this commitment
|
||||
* transaction and the sending node is the funder:
|
||||
* - MUST be able to additionally pay for `to_local_anchor` and
|
||||
|
2
wallet/db_postgres_sqlgen.c
generated
2
wallet/db_postgres_sqlgen.c
generated
@ -1888,4 +1888,4 @@ struct db_query db_postgres_queries[] = {
|
||||
|
||||
#endif /* LIGHTNINGD_WALLET_GEN_DB_POSTGRES */
|
||||
|
||||
// SHA256STAMP:3744f07477049e8640c44c9d9d2ba90672e0cc5ca610b6e7cda7b593085a1f63
|
||||
// SHA256STAMP:4404a89dadab8225901d024fd293d4b47b57ed4c6b5e7f00cf1fc9df0c345d57
|
||||
|
2
wallet/db_sqlite3_sqlgen.c
generated
2
wallet/db_sqlite3_sqlgen.c
generated
@ -1888,4 +1888,4 @@ struct db_query db_sqlite3_queries[] = {
|
||||
|
||||
#endif /* LIGHTNINGD_WALLET_GEN_DB_SQLITE3 */
|
||||
|
||||
// SHA256STAMP:3744f07477049e8640c44c9d9d2ba90672e0cc5ca610b6e7cda7b593085a1f63
|
||||
// SHA256STAMP:4404a89dadab8225901d024fd293d4b47b57ed4c6b5e7f00cf1fc9df0c345d57
|
||||
|
@ -268,10 +268,10 @@ static struct wally_psbt *psbt_using_utxos(const tal_t *ctx,
|
||||
scriptPubkey = utxos[i]->scriptPubkey;
|
||||
}
|
||||
|
||||
/* BOLT-a12da24dd0102c170365124782b46d9710950ac1 #3:
|
||||
/* BOLT #3:
|
||||
* #### `to_remote` Output
|
||||
* ...
|
||||
* The output is spent by a transaction with `nSequence` field
|
||||
* The output is spent by an input with `nSequence` field
|
||||
* set to `1` and witness:
|
||||
*/
|
||||
if (utxos[i]->close_info
|
||||
|
2
wallet/statements_gettextgen.po
generated
2
wallet/statements_gettextgen.po
generated
@ -1245,4 +1245,4 @@ msgstr ""
|
||||
#: wallet/test/run-wallet.c:1643
|
||||
msgid "INSERT INTO channels (id) VALUES (1);"
|
||||
msgstr ""
|
||||
# SHA256STAMP:20d1dab0cbcccd97d272a24875a28c235580a45f422db8ae2c375dab07361a86
|
||||
# SHA256STAMP:be8710aae042274c3b689ec333ee2d50d4116c3ea4d6b97338eaf88050137967
|
||||
|
@ -846,7 +846,7 @@ wallet_htlc_sigs_load(const tal_t *ctx, struct wallet *w, u64 channelid,
|
||||
while (db_step(stmt)) {
|
||||
struct bitcoin_signature sig;
|
||||
db_column_signature(stmt, 0, &sig.s);
|
||||
/* BOLT-a12da24dd0102c170365124782b46d9710950ac1 #3:
|
||||
/* BOLT #3:
|
||||
* ## HTLC-Timeout and HTLC-Success Transactions
|
||||
*...
|
||||
* * if `option_anchor_outputs` applies to this commitment
|
||||
|
Loading…
Reference in New Issue
Block a user