Skip to content

change zcash params files location to self-hosted#450

Merged
ca333 merged 1 commit intoGLEECBTC:devfrom
DeckerSU:patch-zcashparams-source
Jun 13, 2021
Merged

change zcash params files location to self-hosted#450
ca333 merged 1 commit intoGLEECBTC:devfrom
DeckerSU:patch-zcashparams-source

Conversation

@DeckerSU
Copy link
Copy Markdown

as zcash seems delete sprout related files (sprout-proving.key,
sprout-verifying.key) from their hosting (z.cash), we need
to switch on our one hosting to download these files, as komodo
still needed them.

as zcash seems delete sprout related files (sprout-proving.key,
sprout-verifying.key) from their hosting (z.cash), we need
to switch on our one hosting to download these files, as komodo
still needed them.
@TheComputerGenie
Copy link
Copy Markdown

sprout-verifying.key is still a thing
sprout-proving.key was renamed

but it's a good idea to stop relying on zcash 👍

@DeckerSU
Copy link
Copy Markdown
Author

DeckerSU commented May 31, 2021

Other variant of fetch-params.sh changes if we still want to rely on zcash:

fetch-params-zcash.sh (fetch-params.patch)

diff --git a/fetch-params.sh b/fetch-params-zcash.sh
index 522de80..bd298a5 100755
--- a/fetch-params.sh
+++ b/fetch-params-zcash.sh
@@ -8,6 +8,7 @@ else
     PARAMS_DIR="$HOME/.zcash-params"
 fi
 
+SPROUT_PKEY_REALNAME='sprout-proving.key.deprecated-sworn-elves'
 SPROUT_PKEY_NAME='sprout-proving.key'
 SPROUT_VKEY_NAME='sprout-verifying.key'
 SAPLING_SPEND_NAME='sapling-spend.params'
@@ -195,7 +196,7 @@ EOF
     cd "$PARAMS_DIR"
 
     # Sprout parameters:
-    fetch_params "$SPROUT_PKEY_NAME" "$PARAMS_DIR/$SPROUT_PKEY_NAME" "8bc20a7f013b2b58970cddd2e7ea028975c88ae7ceb9259a5344a16bc2c0eef7"
+    fetch_params "$SPROUT_PKEY_REALNAME" "$PARAMS_DIR/$SPROUT_PKEY_NAME" "8bc20a7f013b2b58970cddd2e7ea028975c88ae7ceb9259a5344a16bc2c0eef7"
     fetch_params "$SPROUT_VKEY_NAME" "$PARAMS_DIR/$SPROUT_VKEY_NAME" "4bd498dae0aacfd8e98dc306338d017d9c08dd0918ead18172bd0aec2fc5df82"
 
     # Sapling parameters:

@ca333 ca333 merged commit 117dfd5 into GLEECBTC:dev Jun 13, 2021
who-biz pushed a commit to who-biz/komodo that referenced this pull request Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants