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

Create a message struct #4

Open
atoulme opened this issue Sep 17, 2019 · 2 comments
Open

Create a message struct #4

atoulme opened this issue Sep 17, 2019 · 2 comments

Comments

@atoulme
Copy link
Contributor

atoulme commented Sep 17, 2019

Create a message struct from the older testing model:
https://github.com/whiteblock/p2p-tests#message-struct

@adam-hanna
Copy link

adam-hanna commented Sep 23, 2019

@araskachoi
Copy link
Contributor

Will also need to include

  • Message type - topic of the message
  • Message origin - sending address
  • Message destination - receiving address
  • Last relaying node - the previous node that sent the message
  • Message nonce - chronology of the sent message
  • Message size - the message size will be in bytes
  • MessageID - unique string associated with that message
  • HopCount - number of hops the message had to make in order to reach its destination

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

3 participants