MCPcopy Create free account
hub / github.com/ElementsProject/elements / DecodeASN

Function DecodeASN

src/util/asmap.cpp:64–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62
63const std::vector<uint8_t> ASN_BIT_SIZES{15, 16, 17, 18, 19, 20, 21, 22, 23, 24};
64uint32_t DecodeASN(std::vector<bool>::const_iterator& bitpos, const std::vector<bool>::const_iterator& endpos)
65{
66 return DecodeBits(bitpos, endpos, 1, ASN_BIT_SIZES);
67}
68
69
70const std::vector<uint8_t> MATCH_BIT_SIZES{1, 2, 3, 4, 5, 6, 7, 8};

Callers 2

InterpretFunction · 0.85
SanityCheckASMapFunction · 0.85

Calls 1

DecodeBitsFunction · 0.85

Tested by

no test coverage detected