mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-08 16:44:22 +01:00
This adds one line with the onion and the channel_update we extract from it. This in turn allows us to check that the channel_update in the onion is not type prefixed, and that we patch it correctly before passing it to gossipd.
3.9 KiB
3.9 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Unreleased
Added
- Documentation: Added CHANGELOG.md
- JSON API:
getinfohas new fieldsaliasandcolor. - JSON API:
listpeershas new fieldsglobal_featuresandlocal_features. - JSON API:
listnodeshas new fieldglobal_features. - Protocol: gossipd now deliberately delays spamming with
channel_update. - Config:
--confoption to set config file.
Changed
- Config: You can only announce one address if each type (IPv4, IPv6, TORv2, TORv3).
- Protocol: Fee estimates are now smoothed over time, to avoid sudden jumps.
- lightning-cli: the help command for a specific command now runs the
mancommand. - HSM: The HSM daemon now maintains the per-peer secrets, rather than handing them out. It's still lax in what it signs though.
- connectd: A new daemon
lightningd_connectdhandles connecting to/from peers, instead ofgossipddoing that itself. - Test:
python-xdistis now a dependency for tests. - Logging: JSON connections no longer spam debug logs.
Deprecated
Note: You should always set allow-deprecated-apis=false to test for
changes.
Removed
- JSON API:
listpeersresults no long havealiasandcolorfields; they're inlistnodes(we used to internally merge the information). - Removed all Deprecated options from 0.6.
Fixed
- Options:
bind-addrof a publicly accessible network address was announced. - Protocol:
node_announcementmultiple addresses are correctly ordered and uniquified. - JSON API:
listnodes: now displays node aliases and colors even if they don't advertise a network address - JSON API:
fundchannel all: now restricts to 2^24-1 satoshis rather than failing. - When we reconnect and have to retransmit failing HTLCs, the errors weren't encrypted by us.
lightningd_configman page is now installed bymake install.- Fixed crash when shutting down during opening a channel (#1737)
- Don't lose track of our own output when applying penalty transaction (#1738)
- Protocol:
channel_updateinside error messages now refers to correct channel. - Stripping type prefix from
channel_updates that are nested in an onion reply to be compatible with eclair and lnd (#1730).
Security
0.6 - 2018-06-22
In the prehistory of c-lightning, no changelog was kept. But major JSON API changes are tracked.
Deprecated
Note: You should always set allow-deprecated-apis=false to test for
changes.
- Option:
port. Useaddr=:<portnum>. - Option:
ipaddr. Useaddr. - Option:
anchor-confirms. Usefunding-confirms. - Option:
locktime-blocks. Usewatchtime-blocks. - Protocol: on closing we allow out-of-range offers, prior to spec fix
2018-01-30 ("BOLT 2: order closing-signed negotiation by making
funder send first."
90241d9cf60a598eac8fd839ac81e4093a161272) - JSON API:
listinvoicecommand. Uselistinvoices. - JSON API: invoice result fields
paid_timestampandexpiry_time. Usepaid_atandexpires_at. - JSON API:
invoicecommand fieldfallback. Usefallbacks. - JSON API:
decodepayresult fieldstimestampandfallback. Usecreated_atandfallbacks. - JSON API: payment result fields
timestamp. Usecreated_at. - JSON API:
getinforesult fieldport. Usebindingandaddressarrays. - JSON API:
getlogresult fieldcreation_time. Usecreated_at. - JSON API:
getpeersresult fieldchannel_reserve_satoshis. Usetheir_channel_reserve_satoshis. - JSON API:
getpeersresult fieldto_self_delay. Usetheir_to_self_delay.