Last active
July 22, 2019 04:28
-
-
Save garethtdavies/52b16d1bf9fb410f7398ed0fc90dfc60 to your computer and use it in GitHub Desktop.
zcash-migration-blocksci
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import blocksci | |
chain = blocksci.Blockchain("/home/gareth/blocksci/zcash-data") | |
migration_tx = 0 | |
for blk in chain[500000:571501]: | |
for tx in blk: | |
if (tx.is_saplingshielded and tx.is_sproutshielded): | |
print(tx.hash) | |
migration_tx += 1 | |
print("Number of migration transactions is {}".format(migration_tx)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment