Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
69
void 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_info
Function · 0.70
towire_utxo
Function · 0.70
towire_chain_coin_mvt
Function · 0.70
Calls
1
towire
Function · 0.50
Tested by
no test coverage detected