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

Function towire_chainparams

bitcoin/block.c:262–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260
261
262void towire_chainparams(u8 **cursor, const struct chainparams *chainparams)
263{
264 towire_bitcoin_blkid(cursor, &chainparams->genesis_blockhash);
265}
266
267void fromwire_chainparams(const u8 **cursor, size_t *max,
268 const struct chainparams **chainparams)

Callers

nothing calls this directly

Calls 1

towire_bitcoin_blkidFunction · 0.85

Tested by

no test coverage detected