forked from stratum-mining/stratum
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add handlers for deserilized messages
Each Sv2 protocol have a server and client trait. This trait have a method that handle serilaized messages. This commit add a method that handle deserilized messages, and modify the method for serilaized so that it just deserilize the message and call the new method. This can be usefull if we have more roles managed by the same rust process, to avoid some serailization and deserialization. It also bump the minor version of the roles-logic-sv2 lib cause it add a feature and do not breack and API.
- Loading branch information
1 parent
a49588d
commit b6ef686
Showing
9 changed files
with
212 additions
and
90 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.