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

Function bitcoin_block_pull_dynafed_details

bitcoin/block.c:125–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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