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

Function towire_chainparams

bitcoin/block.c:268–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266
267
268void towire_chainparams(u8 **cursor, const struct chainparams *chainparams)
269{
270 towire_bitcoin_blkid(cursor, &chainparams->genesis_blockhash);
271}
272
273void fromwire_chainparams(const u8 **cursor, size_t *max,
274 const struct chainparams **chainparams)

Callers

nothing calls this directly

Calls 1

towire_bitcoin_blkidFunction · 0.85

Tested by

no test coverage detected