Skip to content
Update C Lightning Modifications authored by dev random's avatar dev random
hsmd_wire.csv: hsmd_wire.csv:
---------------------------------------------------------------- ----------------------------------------------------------------
* We add new HSMD messages: * We add new HSMD messages:
- [`hsmd_new_channel` / `hsmd_ready_channel`](https://github.com/ElementsProject/lightning/pull/4949) **merged** - [`hsmd_new_channel` / `hsmd_ready_channel`](https://github.com/ElementsProject/lightning/pull/4949) **MVP** **merged**
- [`hsmd_validate_commitment_tx`](https://github.com/ElementsProject/lightning/pull/5108) **merged** - [`hsmd_validate_commitment_tx`](https://github.com/ElementsProject/lightning/pull/5108) **MVP** **merged**
- [`hsmd_validate_revocation`](https://github.com/ElementsProject/lightning/pull/4898) **merged** - [`hsmd_validate_revocation`](https://github.com/ElementsProject/lightning/pull/4898) **MVP** **merged**
- `hsmd_submit_invoice` - `hsmd_submit_invoice`
- `hsmd_fulfill_htlc` - `hsmd_fulfill_htlc`
* We add fields to existing HSMD messages: * We add fields to existing HSMD messages:
- [`hsmd_sign_commitment_tx`:](https://github.com/ElementsProject/lightning/pull/4981) **merged** - [`hsmd_sign_commitment_tx`:](https://github.com/ElementsProject/lightning/pull/4981) **MVP** **merged**
* `commit_num` * `commit_num`
- [`hsmd_sign_remote_commitment_tx`:](https://github.com/ElementsProject/lightning/pull/4981) **merged** - [`hsmd_sign_remote_commitment_tx`:](https://github.com/ElementsProject/lightning/pull/4981) **MVP** **merged**
* `commit_num` * `commit_num`
* `simple_htlc` [vector] * `simple_htlc` [vector]
* `feerate` * `feerate`
* We add wallet index metadata to existing messages (fill in existing PSBT fields): * We add wallet index metadata to existing messages (fill in existing PSBT fields) **MVP**:
- Added fields to [`channeld_wire.csv`:`channeld_init`](https://github.com/ElementsProject/lightning/pull/4993) **merged** - Added fields to [`channeld_wire.csv`:`channeld_init`](https://github.com/ElementsProject/lightning/pull/4993) **merged**
* `final_index` * `final_index`
* `final_ext_key` * `final_ext_key`
...@@ -28,13 +28,13 @@ hsmd_wire.csv: ...@@ -28,13 +28,13 @@ hsmd_wire.csv:
* `local_wallet_index` * `local_wallet_index`
* `local_wallet_ext_key` * `local_wallet_ext_key`
* Add wallet index metadata to [`towire_hsmd_sign_withdrawal` outputs (change)](https://github.com/ElementsProject/lightning/pull/4993) **merged** * Add wallet index metadata to [`towire_hsmd_sign_withdrawal` outputs (change)](https://github.com/ElementsProject/lightning/pull/4993) **MVP** **merged**
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. 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.
* Add anchor redeemscripts to commitment tx. * Add anchor redeemscripts to commitment tx.
* We add wallet index metadata as new fields to existing non-HSMD messages: * We add wallet index metadata as new fields to existing non-HSMD messages **MVP**:
- Added field to [`openingd_wire.csv`:`openingd_got_offer`](https://github.com/ElementsProject/lightning/pull/4949) **merged** - Added field to [`openingd_wire.csv`:`openingd_got_offer`](https://github.com/ElementsProject/lightning/pull/4949) **merged**
* `our_shutdown_wallet_index` * `our_shutdown_wallet_index`
- Added field to [`openingd_wire.csv`:`openingd_funder_start`](https://github.com/ElementsProject/lightning/pull/4949) **merged** - Added field to [`openingd_wire.csv`:`openingd_funder_start`](https://github.com/ElementsProject/lightning/pull/4949) **merged**
... ...
......