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

Function utxo_desc_datastore_update

plugins/bkpr/descriptions.c:88–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88static void utxo_desc_datastore_update(struct command *cmd,
89 const struct utxo_desc *utxo_desc)
90{
91 const char **path = ds_desc_utxo_path(tmpctx, &utxo_desc->outp);
92
93 jsonrpc_set_datastore_binary(cmd, path,
94 utxo_desc->desc, strlen(utxo_desc->desc),
95 "create-or-replace",
96 ignore_datastore_reply, NULL, NULL);
97}
98
99static const char **ds_desc_payment_hash_path(const tal_t *ctx,
100 const struct sha256 *payment_hash)

Callers 1

add_utxo_descriptionFunction · 0.85

Calls 1

ds_desc_utxo_pathFunction · 0.85

Tested by

no test coverage detected