MCPcopy Create free account
hub / github.com/ElementsProject/lightning / add_payment_hash_description

Function add_payment_hash_description

plugins/bkpr/descriptions.c:135–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void add_payment_hash_description(struct command *cmd,
136 struct bkpr *bkpr,
137 const struct sha256 *payment_hash,
138 const char *desc TAKES)
139{
140 struct payment_hash_desc *phd;
141
142 phd = new_payment_hash_description(bkpr->descriptions,
143 payment_hash, desc);
144 payment_hash_desc_datastore_update(cmd, phd);
145}
146
147static struct utxo_desc *
148new_utxo_description(struct descriptions *descriptions,

Callers 3

do_edit_desc_paymentFunction · 0.70
listinvoices_doneFunction · 0.70
listsendpays_doneFunction · 0.70

Tested by

no test coverage detected