jormungandr | privacy voting blockchain node | Blockchain library
kandi X-RAY | jormungandr Summary
kandi X-RAY | jormungandr Summary
aspiring blockchain node
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of jormungandr
jormungandr Key Features
jormungandr Examples and Code Snippets
Community Discussions
Trending Discussions on jormungandr
QUESTION
If you look at how this go-cardano-client is making it's handshake request payload:
https://github.com/gocardano/go-cardano-client/blob/master/shelley/handshake.go#L64
...ANSWER
Answered 2021-Mar-29 at 16:06Edit: You seem to assume that the the handshake from gocardano/go-cardano-client
and the one described in node.proto
somehow are related to the same implementation. Actually, I don't think they do.
The TCP-based handshake follows the Shelley protocol specs and sends a payload with the encoded versionTable
. The gRPC-based HandshakeRequest
instead is, as you also considered, just a nonce. There's nothing in the proto schema that hints to the Shelley protocol. The comments on the Nonce
field also say that quite explicitly: "Nonce for the server to authenticate its node ID with."
So it would be a bit strange to assume that this nonce and the versionTable
payload have anything in common at all.
Edit 2: In addition, it seems the "Jormungandr" rust node implementation does not support Shelley at all, so when you say you can't connect to the nodes in the relay topology, I think you shouldn't look for answers in the Jormungandr repository. Instead, I think the relays run the Haskell implementations of the Ouroboros network.
Now as for why you can't connect, the go-cardano
client panics on some unchecked type assertions, because after the QueryTip
Shelley message chainSyncBlocks.RequestNext
, the relay servers respond with a different mini-protocol altogether, transactionSubmission.msgRequestTxIds
as shown by running the client with TCP and tracing the messages:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jormungandr
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page