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

Upgrade Required #21

Open
novostack opened this issue Jan 9, 2018 · 4 comments
Open

Upgrade Required #21

novostack opened this issue Jan 9, 2018 · 4 comments

Comments

@novostack
Copy link

Hi,

So I spinned it up and added 2 pears and connected them with the initial one. I added 2 blocks one the first peer.

When I try to see if this block was picked up by other peers, it says Upgrade Required

MacBook-Pro:naivechain akshay$ curl http://localhost:6001/mineBlock
Upgrade RequiredMacBook-Pro:naivechain akshay$

What needs to be done?

@lhartikk
Copy link
Owner

lhartikk commented Jan 9, 2018

Cheers
If you want to mine a block you should use HTTP POST as is shown in the readme.md, e.g.:
curl -X POST http://localhost:3001/mineBlock

You should also verify that you are sending the request to the "node controlling" endpoint (not the websocket endpoint that is used for p2p communication)

@novostack
Copy link
Author

novostack commented Jan 9, 2018 via email

@lhartikk
Copy link
Owner

lhartikk commented Jan 9, 2018

In the README.md is there is the quickstart example which set ups two nodes and mines a block

@novostack
Copy link
Author

novostack commented Jan 9, 2018 via email

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

2 participants