MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / DecodeJump

Function DecodeJump

src/util/asmap.cpp:166–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164// for skipping big subtrees.
165constexpr uint8_t JUMP_BIT_SIZES[]{5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30};
166uint32_t DecodeJump(size_t& bitpos, const std::span<const std::byte> data)
167{
168 return DecodeBits(bitpos, data, 17, JUMP_BIT_SIZES);
169}
170
171} // anonymous namespace
172

Callers 2

InterpretFunction · 0.85
SanityCheckAsmapFunction · 0.85

Calls 1

DecodeBitsFunction · 0.85

Tested by

no test coverage detected