-
Notifications
You must be signed in to change notification settings - Fork 186
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
feat: msgIdGenerator #468
feat: msgIdGenerator #468
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, this looks pretty good!
Left a couple of comments suggesting some minor improvements and then it's ready to merge.
Basically the one small thing that we can and should improve on is provide a raw ID method in idGen, so that we don't have to allocate a wrapper message to compute it in the tracer. This method could simply be refactored out of ID, and used by it. |
hey @Wondertan, when will you have some time to finish this? I would like to merge it soon. It is very close, just needs to fix the allocation in the tracer by refactoring rawMsgInd. |
Hey @vyzo, planned for tomorrow. |
… msg id generation rules
cc1395f
to
fbb9a6d
Compare
Rebased on master |
One last thing I am concerned about is naming for options. I will also add a test for the option later today. |
yeah, lets call it |
Ready. Btw, why do you use real Swarm and not mocknet in tests? What does this give for testing? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, thank you!
Well, we want some integration testing happening and observing effects of the actual network in use; mocknet would deny us that. |
msgIdGenerator
Tracer
methods rcving*RPC
MsgIDFunction
Closes #464