Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIVX Blockbook issue - returning wrong hash #985

Open
ianlapinskii opened this issue Nov 3, 2023 · 4 comments
Open

PIVX Blockbook issue - returning wrong hash #985

ianlapinskii opened this issue Nov 3, 2023 · 4 comments

Comments

@ianlapinskii
Copy link

Context:

When we’re using /utxo method for DCYCfV1eRi71RH6Wwzhn7ZkvCyaKujZVsh address, it returns with dc79888b84087663a9c3b5f480d2a156a5827d3dbe65e36154bea4a1de79a1b2.

The problem is that this transaction doesn’t exist, the node should return c0acc395cd15d61d2e69755a31be7b4a93581071aaeb5eeadd71d7475f2572a6

We also tried /tx request, it returns with "Transaction 'dc79888b84087663a9c3b5f480d2a156a5827d3dbe65e36154bea4a1de79a1b2' not found". Which is logical, as this transaction doesn’t exist. However, the node keeps returning with it for this address. Another anomaly is that /utxo method works properly, for example, with DPjhZHMXPWDPLBkf5BoVNs1Msg4ovTwJVi address

What we tried:
We resynced our PIVX blockbook - nothing changed. Contacted PIVX development team - no luck to find assistance.

Question:
Could you please take a look and let us know when the fix will be available?

@NL22022
Copy link

NL22022 commented Dec 1, 2023

@martinboehm hi
could you take a look at this issue?

@martinboehm
Copy link
Contributor

Hi @ianlapinskii
We do not run a PIVX node.
I tried to install it on a dev server to see the issue, however, I cannot install backend with the following error:

(130) > $ ~/dpkg-backend.sh                                                                                                                                                                                                                                                          Selecting previously unselected package backend-pivx.
(Reading database ... 61412 files and directories currently installed.)
Preparing to unpack .../backend-pivx_5.5.0-satoshilabs-1_amd64.deb ...
Unpacking backend-pivx (5.5.0-satoshilabs-1) ...
Setting up backend-pivx (5.5.0-satoshilabs-1) ...
PIVX - install-params.sh

This script will install the PIVX zkSNARK parameters and verify their
integrity with sha256sum.

If they already exist locally, it will exit now and do nothing else.
If the files are already present and have the correct
sha256sum, nothing else is done.

Creating params directory. For details about this directory, see:
/opt/coins/data/pivx/backend/.pivx-params/README

/usr/bin/sha256sum: share/pivx/sapling-spend.params: No such file or directory
share/pivx/sapling-spend.params: FAILED open or read
/usr/bin/sha256sum: WARNING: 1 listed file could not be read
dpkg: error processing package backend-pivx (--install):
 installed backend-pivx package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 backend-pivx

Any idea how to run PIVX backend?

@XK4MiLX
Copy link
Contributor

XK4MiLX commented Dec 25, 2023

You need to run install-params.sh from the directory where install-params.sh is. ... In script is filename="share/pivx/$filename" so path is not absolute

@XK4MiLX
Copy link
Contributor

XK4MiLX commented Dec 25, 2023

#1016

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

No branches or pull requests

4 participants