Skip to content

Switch to "interval_tree"

Compare
Choose a tag to compare
@alaz alaz released this 12 Apr 11:40
· 207 commits to master since this release
v0.2.7
eb2d53c

Legitbot needs to quickly determine if an IP belongs to a set of ranges, because that's how Facebook returns its valid IPs. Issue #10 uncovered a bug in "segment_tree" library Legitbot was using to make this lookup. The most practical way of resolving the issue turned out to switch to another library "interval_tree".

Since the public API of Legitbot did not change, only the minor version number was incremented.