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

Function ds_desc_payment_hash_path

plugins/bkpr/descriptions.c:99–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99static const char **ds_desc_payment_hash_path(const tal_t *ctx,
100 const struct sha256 *payment_hash)
101{
102 return mkdatastorekey(ctx, "bookkeeper", "description", "payment",
103 take(fmt_sha256(NULL, payment_hash)));
104}
105
106static void payment_hash_desc_datastore_update(struct command *cmd,
107 const struct payment_hash_desc *phd)

Callers 1

Calls 1

fmt_sha256Function · 0.85

Tested by

no test coverage detected