-
Notifications
You must be signed in to change notification settings - Fork 0
Check missing API functionalities for new P2P package #32
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.
Isn't it still too early to replace the packages in other places? I think it's safer to replace at the end
Yes, this is also a valid option to do it at the end. If we still want to keep those changes for a developer reference what's still missing in a new P2P package, we could create a new Idea of this PR is to have collected all missing functionalities of an old P2P package in one place ( One option is also to ignore this PR and not merge it, so just leave it open for the reference as stated above. I'm open to any of these options. |
I think it's good to have the reference file as you created. if we created the feature branch, probably we couldve just replace it now, but i think the last integration will need a bit more than simple replacement. let's keep the missing api file, but revert the change in other packages? |
Very good idea! I'll revert all changes in Yes indeed, when integration will happen it will surely be more than just replacing some function calls, etc. |
What was the problem?
How was it solved?
missing_api.go
file was created which includes all missing functions for P2P package used by the rest ofengine
code.p2p
package was replaced inimport
s in wholeengine
with newp2p/v2
package.How was it tested?
glisk
andlengine
successfully builds.Note
missing_api.go
file while developing a new P2P package to check if something is still not being implemented.