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

Function bitcoin_block_pull_dynafed_details

bitcoin/block.c:124–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124static void bitcoin_block_pull_dynafed_details(const u8 **cursor, size_t *len, struct sha256_ctx *shactx)
125{
126 bitcoin_block_pull_dynafed_params(cursor, len, shactx);
127 bitcoin_block_pull_dynafed_params(cursor, len, shactx);
128
129 /* Consume the signblock_witness */
130 u64 numwitnesses = pull_varint(cursor, len);
131 for (size_t i=0; i<numwitnesses; i++) {
132 u64 witsize = pull_varint(cursor, len);
133 pull(cursor, len, NULL, witsize);
134 }
135}
136
137/* Encoding is <blockhdr> <varint-num-txs> <tx>... */
138struct bitcoin_block *

Callers 1

bitcoin_block_from_hexFunction · 0.85

Calls 3

pull_varintFunction · 0.85
pullFunction · 0.85

Tested by

no test coverage detected