s-rah / onionscan

OnionScan is a free and open source tool for investigating the Dark Web.
https://twitter.com/OnionScan
Other
2.89k stars 600 forks source link

test: Make bitcoin address extraction test less silly #80

Closed laanwj closed 8 years ago

laanwj commented 8 years ago

Add lots of different contexts, edge cases and tricks (some detected, some not, but all as expected).

Also add a simple step to the test to assure not only 100 addresses have been detected, but also the right ones.

Good news: I was not able to find any bug (e.g. false detection) in the code, even with some of the nastier base58 tricks.