Gareth Davies
Gareth Davies
Did you see the response here saying that wasn't actually too hard (I've never tried this myself) https://medium.com/@peter.gavin.stewart/thanks-for-the-write-up-helped-a-lot-with-the-api-building-59f08f3b6b50 This is worth a read https://github.com/zcash/zips/blob/5ef71b0325c552748334144576daea918497ec4b/drafts/bitcartel-payment-disclosure/draft.rst#known-issues a lot of the known issues...
Looking at the debug.log file for Sprout txs things get added via `Payment Disclosure: Successfully added entry to database...`. For Sapling there is nothing so I guess it doesn't work...
Testing this I checked out zcash-gitian https://github.com/zcash/zcash-gitian/pull/77 and then set environment variables to be: ``` ZCASH_GIT_REPO_URL=https://github.com/charlieok/zcash.git ZCASH_VERSION=10a3a44831bdc5f699a9cc46c70fa1ce3c2d584d ``` Ran the build but it failed. ``` Grabbing cache from target Generating...
Confirmed, that fixed it. Tested with 64abdde6f6018d99928ef19857b056bdfd96b854. Pushed my sigs here for reference https://github.com/garethtdavies/gitian.sigs/tree/deb-package Using Docker I tested the resulting `.deb`s on Jessie and Stretch which both worked installed via:...
``` fb3b53d1c7641413cf28d784e158593221104686f1c716da8b8838fb2dedc8f5 src/zcash-2.0.6.tar.gz 3255863fb523d2f920de564140644290531d35d71dc2dfd8779adb8f1533fe8e zcash-2.0.6-64abdde-amd64.deb 3da6c5f497e72bc953ca0ad1cae004a316deef9bec67b6bf718e127074416271 zcash-2.0.6-linux64-debug.tar.gz 925d11463e6d93d217ee5122547b76a8c3d7fce25a51ac7dc0aaadeac67432ab zcash-2.0.6-linux64.tar.gz ``` @charlieok it seems we differ on the `.deb` but match on others.
Here are mine - had to zip them up to upload: [jessie.zip](https://github.com/zcash/zcash/files/3399837/jessie.zip) [stretch.zip](https://github.com/zcash/zcash/files/3399836/stretch.zip) As above: ``` sha256sum jessie.deb 3255863fb523d2f920de564140644290531d35d71dc2dfd8779adb8f1533fe8e jessie.deb sha256sum stretch.deb 4d4c16d1d8776a1b82759cae038b6c0004bd8af7be50eb825b3671cf82f704b8 stretch.deb ```
``` 03213572aff83cd1e841af1dfa16c456e1836765946522d869bf69e6d07b00eb src/zcash-2.0.6.tar.gz 4d4c16d1d8776a1b82759cae038b6c0004bd8af7be50eb825b3671cf82f704b8 zcash-2.0.6-64abdde6f-amd64.deb cf19cfd7adbe1942b3807c76c8303f3ab2a5ad8046d7b0f8cfbce269df0b6eef zcash-2.0.6-linux64-debug.tar.gz 1be56b00814ec449ad6cb057c8db09d928b11552080c2b424b5d998f92af7aad zcash-2.0.6-linux64.tar.gz ``` Just `.deb` differ again
Extracting the `.deb`, looking at the Jessie one, it seems the contents match: @charlieok ``` ├── [4.0K] DEBIAN │ └── [ 635] control └── [4.0K] usr ├── [4.0K] bin │...
When I repackage your Jessie extracted deb via `dpkg-deb -b charlie repackage.deb` I get a differing filesize (doing this on Ubuntu 19.04) so it seems something with this step: ```...
Running this commit https://github.com/zcash/zcash-gitian/commit/2caec66fa085f876f515ef99efd0da6e55de0adf and setting version as: ```ZCASH_GIT_REPO_URL=https://github.com/charlieok/zcash ZCASH_VERSION=df1ba3b334604b1f55c91e0336169e3016aec579``` Jessie Result: ``` 3142c114488f834c4a141f0f32fca861f90d9627747dd3e0b7a153315d5f413e src/zcash-2.0.6.tar.gz 55f2403f01546960a6e2ffef9a470b4afbed72e08f368b8dbe722cfd852f0707 zcash-2.0.6-linux64-debug.tar.gz a7bdedbc8886e87bb59a306b56c4adf10b3ec32fed0fcddd72b9dc8e9e49cd3a zcash-2.0.6-linux64.deb 4e9996fc18350439e8ecfc2d21ead53193d20170cb74e00d4f6191285da508c6 zcash-2.0.6-linux64.tar.gz ``` Stretch Result: ``` a04765868d45f7008a0470a2044a41bcd1ff72e473032789e77fead683607bb4 src/zcash-2.0.6.tar.gz cf29751eb78d82f96da12094c75b0e0874c6fb190584c8e537c7b98c1f613e03 zcash-2.0.6-linux64-debug.tar.gz 7225d3454a37eebe9399ef36c4ee15c2b2c15b274ca394c59db9a829c129eff8...