-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Comments
Cheers 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) |
Cheers.
Apologies. I'm a noobie in this and trying to learn. Can I please request
an example code from your side? Which generates the main chain, gets the
Genesis block, add 2 peers (nodes) and then once a block is made on the
main chain, other peers are automatically updated.
On Tue, 9 Jan 2018 at 9:21 PM, Lauri Hartikka ***@***.***> wrote:
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)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZrZPJSjWGO0szPl1-9urP5rACxwAqooks5tI4sJgaJpZM4RXxF2>
.
--
Akshay Srivastava
NovoStack Private Limited
+91-8447947995
|
In the README.md is there is the quickstart example which set ups two nodes and mines a block |
Thank you. Will have a look into it.
…On Tue, Jan 9, 2018 at 9:58 PM, Lauri Hartikka ***@***.***> wrote:
In the README.md is there is the quickstart example which set ups two
nodes and mines a block
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZrZPP4gGAoo3KAZxqNC-I8Abs_cDzzeks5tI5O5gaJpZM4RXxF2>
.
--
Akshay Srivastava
NovoStack Private Limited
+91-8447947995
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?
The text was updated successfully, but these errors were encountered: