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

Function payment_hash_desc_datastore_update

plugins/bkpr/descriptions.c:106–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106static void payment_hash_desc_datastore_update(struct command *cmd,
107 const struct payment_hash_desc *phd)
108{
109 const char **path = ds_desc_payment_hash_path(tmpctx, &phd->payment_hash);
110 jsonrpc_set_datastore_binary(cmd, path, phd->desc, strlen(phd->desc),
111 "create-or-replace",
112 ignore_datastore_reply, NULL, NULL);
113}
114
115static struct payment_hash_desc *
116new_payment_hash_description(struct descriptions *descriptions,

Callers 1

Calls 1

Tested by

no test coverage detected