Changelog
- fixed many, many, many bugs
- some code cleanup
- improved outfile handling
- extended the default timeout
- added a filter to filter out dead forks and/or forks that need manual intervention
- fetched the price from coinmarketcap if available
- new BTC explorer used
- added my tipjars
I ran two tests, the fist one is kind of private, i tested 300 of my addresses against all forks that had an active api:
--timeout 1 => wait 1 second between 2 queries
--outfile outnewversion.log => write all important information to this file
--maximumstatus 1 => only test chains that have an active api. If i had set this to 2, the script would have included chains that had an explorer without a public api. If i had set this to 3, the script would have also printed info about chains that didn't even have a blockchain explorer (dead, doa, dying, to new, unmaintained, bad dev, scam,...)
I'm unwilling to provide any feedback, exept that testing 300 addresses vs 15 chains took less than 2 hours
The second demo i ran on the addresses staked on the first 10 posts of this thread:
https://bitcointalk.org/index.php?topic=996318.4515
input file: testaddresses_bitcointalk.txt
123Get818NzrAiYRs28dJkga9FdHxmWBnE
1NDUXQuVVjcmmqDrdt4ZUyTkoXg8fjSZLV
13FwZeMsiigSpDLc9TLFUVQ8BhcKeGdvVM
1AGGxwgVT57gRcAcmRdRpmeWocAh1obtgh
133KGgCJQSToSByvwU5cDjhMuqmziLJ1Rm
1D2SEqdu5c52fq59VHp6u61sdjL2j2mmjf
1MZakirz92c76pK6BNy1NAEmbWYpDcP7mh
12AYZG9Qk7XssfLLWcf6KV3u9XVLgBNkuL
1redsY74u97ECVVKx7Gz9QWJWECUuzsrj
command line:
Terminal looked like this while it was running:
testing 10 addresses for unspent outputs
testing 15 chains for unspent outputs
5%|#### | 7/150 [00:08<02:44, 1.15s/forks
Terminal after the script was done
testing 10 addresses for unspent outputs
testing 15 chains for unspent outputs
100%|##################################################################################################################################################| 150/150 [03:43<00:00, 1.37s/forks]
failed tests (usually because the api was down, or because the address wasnt found on the explorer)
************
for some reason, address 1FLnpvdXL6ooBpFj2LHqZxQsrxn2voj5uv failed to be tested on BPA
--snip--
for some reason, address 1redsY74u97ECVVKx7Gz9QWJWECUuzsrj failed to be tested on CDY
**************************************************
* found unspent outputs on one or more chains!!! *
* claim at your own risk! *
**************************************************
successlist
***********
133KGgCJQSToSByvwU5cDjhMuqmziLJ1Rm has a balance of 0.015243 on BCH . Coinmarketcap says this balance of 0.015243BCH is worth $1335.99 per coin. In your case this comes down to 20.36449557USD
133KGgCJQSToSByvwU5cDjhMuqmziLJ1Rm has a balance of 0.015243 on BCHC . There is no linkt to coinmarketcap, so we can't find the price
-------------------------------------------------------------------------------------------
| once again, if you import your private key into ANY unknown/untrusted wallet, |
| you risk losing your unspent outputs on all other chains!!! |
| proceed with caution |
|*****************************************************************************************|
| at least make sure your wallets on the most important chains are empty before importing |
| their private keys into unknown wallets!!! |
-------------------------------------------------------------------------------------------
if you like this project, consider some of the "free" coins you got from these forks to me ;)
BTC/BCH/BTX/B2X/...: 1MocACiWLM8bYn8pCrYjy6uHq4U3CkxLaa
BTG: GeeXaL3TKCjtdFS78oCrPsFBkEFt9fxuZF
if you would exchange all coins right now, you'd make a whopping $20.36449557