Update C Lightning Modifications authored by Ken Sedgwick's avatar Ken Sedgwick
......@@ -5,13 +5,11 @@ hsmd_wire.csv:
- `hsmd_ready_channel`
- `hsmd_validate_commitment_tx`
- `hsmd_validate_revocation`
<br>
* We add fields to existing HSMD messages:
- `hsmd_sign_commitment_tx`, `hsmd_sign_remote_commitment_tx`:
- `commit_num`
- `simple_htlc` [vector]
- `feerate`
<br>
The `simple_htlc` struct is:
```
struct simple_htlc {
......@@ -21,25 +19,19 @@ struct simple_htlc {
u32 cltv_expiry;
};
```
<br>
* We add wallet index metadata to existing messages (fill in existing PSBT fields):
- Added fields to `channeld_wire.csv`:`channeld_init`:
* `final_index`
* `final_ext_key`
<br>
- Added fields to `channeld_wire.csv`:`channeld_send_shutdown`:
* `final_index`
* `final_ext_key`
<br>
- Added fields to `onchaind_wire.csv`:`onchaind_init`:
* `ourwallet_index`
* `ourwallet_ext_key`
<br>
- Added fields to `closingd_wire.csv`:`closingd_init`:
* `local_wallet_index`
* `local_wallet_ext_key`
<br>
In all of the above cases we only care about the `index`, but we update the PSBT sent to the signer and `ext_key` completes the PSBT element.
* Added field to `openingd_wire.csv`:`openingd_got_offer`:
......
......