bitcoin-asmap 0.1.19

Bit-exact Rust reimplementation of Bitcoin Core's ASMAP decoder, interpreter, and structural validator for mapping IP addresses to autonomous system numbers (ASNs).
1
2
3
4
5
6
7
8
9
10
11
12
// ---------------- [ File: bitcoin-asmap/src/lib.rs ]
#[macro_use] mod imports; use imports::*;

x!{asmap}
x!{asn}
x!{bits}
x!{instruction}
x!{interpret}
x!{jump}
x!{decode_match}
x!{sanity}
x!{ty}