-
-
Notifications
You must be signed in to change notification settings - Fork 668
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
Add support for SLX, a fork of PIVX #336
Comments
Sure, go ahead and create a pull request. |
thank you for the response, is there a pull request number for PIVX? just want to have something follow along. @martinboehm |
PIVX pull request is in this repo, I am quite sure that you can do the github search for it yourselves :) |
thank you for the response, I found the two commits later :) |
I made this fork https://github.com/SlateEntertainmentGroup/SLX-blockbook. I don't fully understand how the parser_test.go works. I am getting this error: --- FAIL: TestParseBlock (0.00s) where is the "463" and "1504351235" are coming from? Any help is appreciated. please and thank you :) @martinboehm |
The data to parse are loaded by helperLoadBlock from the folder testdata. |
thank you for the response that got me a lot further. I am now fully synced and attempting to install blockbook with "sudo apt install ./blockbook-slate_0.3.1_amd64.deb". I am getting this error: "The following packages have unmet dependencies: I did some research and found this issue: I did go into this dockerfile and replaced "debian: 9" with "debian: 10" (I am running "Debian GNU/Linux 10 (buster)". here is the commit: SlateEntertainmentGroup@3847838 I am still getting the same error (depends: libgflags2v5) Not sure if I have to rebuild and resync again or something else is going on? @martinboehm |
rebuilding did work, blockbook installed successfully :) "internalState: database is in inconsistent state and cannot be used" is my next error but I think its due to low memory, I checked other issues looks like increasing memory will help. I am assuming this because blockbook stopped syncing around blocks which have over 3k transactions in them and bulk import probably failed due to low memory. |
adding more memory did work! the explorer works great so far on main net....but how do I switch over between nets? I want it to sync with testnet. |
Install 2nd instance of Blockbook for the testnet. |
not sure how to do that, do I just "make all-slate --testnet" ? I added all the code already to make blockbook support slate on testnet. @martinboehm |
make all-slate_testnet |
perfect. thank you for the quick response. @martinboehm |
what about "systemctl start backend-slate.service" how is that command different when starting blockbook on testnet? at this point "systemctl start backend-slate.service" just starts to sync with main net. @martinboehm |
|
thank you for the help. In my slate_testnet.json file I had "protect_memory": false ... and it should have been "protect_memory": true .... testnet explorer is working great now. I will clean up some of my commits and make a pull request soon. |
Closing. Make a PR when you are ready. |
Hello,
Would it be hard to make blockbook work with SLX cryptocurrency? https://github.com/slatecurrency/slate
SLX is a fork of PIVX. It looks like PIVX already works with blockbook, so maybe there is no need to even code anything just setup blockbook as PIVX but run a slated instance instead.
The text was updated successfully, but these errors were encountered: