Picked these from here
Command | Note |
---|---|
Ctrl + a | go to the start of the command line |
Ctrl + e | go to the end of the command line |
Ctrl + k | delete from cursor to the end of the command line |
import blocksci | |
import csv | |
chain = blocksci.Blockchain("/home/gareth/blocksci/zcash-data") | |
migration_tx = 0 | |
sprout_tx = 0 | |
sprout_fully_shielded = 0 | |
sapling_tx = 0 | |
sapling_fully_shielded = 0 |
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) |
SELECT | |
block_number, | |
`hash`, | |
input_value, | |
output_value, | |
fee, | |
i.type AS input_type, | |
o.type AS output_type, | |
block_timestamp | |
FROM |
--- !!omap | |
- out_manifest: | | |
c304451e5c4c470486a941c927de70427362245f079eff85a2cef285b3cc9217 src/zcash-2.0.5-rc1.tar.gz | |
9a24c0b73f3abe7cdc163ebc95f0f9ead3aaf1dee1940c008b67d2c138248801 zcash-2.0.5-rc1-linux64-debug.tar.gz | |
d37d0a1a9b1062ad10f7071d9ff70aa888b51fa3c27a875f3d443fca73d2da44 zcash-2.0.5-rc1-linux64.tar.gz | |
- in_manifest: |- | |
bae2a72fda1a1212d2cf0382225d2254742a8593e90cc2a508c5a65665fd949c zcash-2.0.5-rc1-desc.yml | |
git:8010becd4e41956c1d64f683f715b15465e49748 zcash | |
- base_manifests: !!omap | |
- jessie-amd64: | |
./src/zcash-cli decoderawtransaction 0400008085202f89000000000000fc5c0700102700000000000001f5bcae9e10f97435222e11b0a5dc1846d9a925709893188a1c8222e658f06d0ff276281cf81c253fb4d221213d1e41e5e32c9f3d2b2240553dd66322337a135930cad4f3ffab45f5789fbd7ea2aa420e7811d3f442130c5db00975ec1639e155fc25529c84ebff3c16c75eca190c93e161a7aea584d1798e842b5da19ffa851292839fb46b1a5277435eddbb0cb34d3aefaee49a5bbeb72bee77d4360a539213b9af5b47b530c564090f38debe30e6438b80da1fd2ba5755619ea8743c14351b3b34e563c1aa039c4ff674e4fad2a829c2935444b2491a074b69064af7a6267f01345915945e69b04e119f1e9107ad0824677b69e916ea7375a7c9d4450b35740dda3d4d79c8bf1fff528c84fc2ea454b70210f592a016e835b79c696e1e3c273183a184d6b794ce163fa35ebb3efb224b5f47be6a9d27b58afbbcf190fe1e46c66c22da9c6b33dd21e3a51d4acd3004d8117d0f538091bf03c817e9bc0a4813615d93c1af50ca3bcfa57988d35e805346c28e630c701d21d036c2167874c60302556f4376ddf401013fc3086cc995ff17ac00736218b963062b4d86efbf6d7d68184319228ae42f2e1387d9c87f162b92fe314684b42044ff4ff27d8c4e2a883a8a8c83f2b859eedc4908af517554a3c2cd2 |
--- !!omap | |
- out_manifest: | | |
92575945c733f9e3b4ab1cb96fd23e7118d0043d634ae50a7af3e24b3148a220 src/zcash-2.0.4.tar.gz | |
b7f244965bbcbe33b630d5ed12d0cb44ca5bac62697beaa88716c23b3ba547de zcash-2.0.4-linux64-debug.tar.gz | |
896c8f6319e70be3bb57dab5cc5c5a6c4dc2023b2ef35b189e1c9b3632d4bf0a zcash-2.0.4-linux64.tar.gz | |
- in_manifest: |- | |
5d3ff6f7f3976b52e07aac84fda95ef827c0dc8372fca8f217bd8bab6a5a1b39 zcash-2.0.4-desc.yml | |
git:9592971cb605adaf6983766af543d22671073bd9 zcash | |
- base_manifests: !!omap | |
- jessie-amd64: | |
./zcash-cli zcbenchmark createsaplingoutput 50 | |
[ | |
{ | |
"runningtime": 2.462237 | |
}, | |
{ | |
"runningtime": 2.310607 | |
}, | |
{ | |
"runningtime": 2.297449 |
gareth@gareth-pc ~/g/zcash> ./zcutil/fetch-params.sh | |
Zcash - fetch-params.sh | |
This script will fetch the Zcash zkSNARK parameters and verify their | |
integrity with sha256sum. | |
If they already exist locally, it will exit now and do nothing else. | |
The complete parameters are currently just under 1.7GB in size, so plan | |
accordingly for your bandwidth constraints. If the Sprout parameters are | |
already present the additional Sapling parameters required are just under |
Picked these from here
Command | Note |
---|---|
Ctrl + a | go to the start of the command line |
Ctrl + e | go to the end of the command line |
Ctrl + k | delete from cursor to the end of the command line |
const bitGoUTXO = require('bitgo-utxo-lib'); | |
// Choose the configuration for the transaction builder | |
const zecTestNetwork = bitGoUTXO.networks.zcashTest; | |
const builder = new bitGoUTXO.TransactionBuilder(zecTestNetwork); | |
// Required Zcash parameters | |
builder.setVersion(bitGoUTXO.Transaction.ZCASH_SAPLING_VERSION); // 4 | |
builder.setVersionGroupId(parseInt('0x892F2085', 16)); |