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

Function datastore_key_eq

wallet/datastore.c:26–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26bool datastore_key_eq(const char **k1, const char **k2)
27{
28 return tal_count(k1) == tal_count(k2)
29 && datastore_key_startswith(k1, k2);
30}
31
32/* We join key parts with nuls for now. */
33void db_bind_datastore_key(struct db_stmt *stmt, const char **key)

Callers 1

json_datastoreFunction · 0.85

Calls 1

datastore_key_startswithFunction · 0.85

Tested by

no test coverage detected