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

Function towire_node_id

common/node_id.c:69–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void towire_node_id(u8 **pptr, const struct node_id *id)
70{
71 /* Cheap sanity check */
72 assert(id->k[0] == 0x2 || id->k[0] == 0x3);
73 towire(pptr, id->k, sizeof(id->k));
74}

Callers 3

towire_route_infoFunction · 0.70
towire_utxoFunction · 0.70
towire_chain_coin_mvtFunction · 0.70

Calls 1

towireFunction · 0.50

Tested by

no test coverage detected