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

Function fromwire_dstore_disabled_node

plugins/askrene/datastore_wire.c:316–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314}
315
316bool fromwire_dstore_disabled_node(const u8 **cursor, size_t *len,
317 struct node_id *node)
318{
319 if (fromwire_u16(cursor, len) != DSTORE_DISABLED_NODE) {
320 fromwire_fail(cursor, len);
321 return false;
322 }
323
324 fromwire_node_id(cursor, len, node);
325 return *cursor != NULL;
326}
327
328void towire_dstore_disabled_node(u8 **data, const struct node_id *node)
329{

Callers 2

convert_layer_dataFunction · 0.85
load_disabled_nodeFunction · 0.85

Calls 3

fromwire_u16Function · 0.50
fromwire_failFunction · 0.50
fromwire_node_idFunction · 0.50

Tested by

no test coverage detected