ElementsProject / lightning

Core Lightning — Lightning Network implementation focusing on spec compliance and performance
Other
2.81k stars 889 forks source link

Add RPCs to bookkeeper so you can update/set a description on an event #7604

Open niftynei opened 4 weeks ago

niftynei commented 4 weeks ago

Make it such that you can update/set the description on bookkeeper events after they've been created.

Adds two new RPC commands to the bookkeeping plugin

These will update/set the description for any/all events that match the payment_id or outpoint, respectively. Returns the list of updated events, or an empty list if no events matched/were updated.

Note that for outpoints, only the deposit/creation event is updated with the description. "input" side events are left un-descripted.