Opened 12 years ago
Closed 12 years ago
#22 closed enhancement (fixed)
crawler: build hashblob without decoding b32hashes over and over again
Reported by: | wander | Owned by: | |
---|---|---|---|
Priority: | must-have | Component: | crawler |
Keywords: | Cc: |
Description
Keep binary of decoded b32hashes in memory.
Note: See
TracTickets for help on using
tickets.
(In [405]) - Passes hashlist (list of decimal numbers of hash ranges) instead of b32hash tuples to nsec3breaker, retrieves hashblob as before
-> closes #22
-> NSECName contains .b32name (as returned by b32decode(..., base32hex=True) and .decname (list of decimal numbers [0-255])
-> call str(nsecname) on each occurrence before passing as argument to SQL
-> all standard comparison operations <, >, <=, >=, ==, != work as before with b32hashes
This is a kind of extensive change and Python's duck typing is not exactly helpful. Bugs may have been introduced :/