forked from jl777/SuperNET
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mm2.1 new order keep alive and refactor (jl777#742)
* WIP. * WIP. Compilation fails. * Remove some unused fields from ordermatching structs. Code compiles. * WIP. Compilation fails. * WIP. Playing with Patricia tries. * WIP major refactoring. Commented out the code that fails to compile. Many ordermatching tests fail as of now. * WIP. Code does not compile. * WIP. Playing with tries. * WIP. Test that sync works properly when new orders are created. * WIP. Fixing alice_can_see_the_active_order_after_connection. * WIP. Almost all tests pass. * Save history diffs when order is removed. * Do not remove own pubkey state by timeout. * Ensure that kick started maker order is added to orderbook. * Remove some unused fns. * Do not add root hash of pairs we are not subscribed to. * Prevent cycles in TrieDiffHistory. * Refactor. Remove unwraps wherever possible. * Fixes for review.
- Loading branch information
1 parent
e8fa43d
commit 48de827
Showing
15 changed files
with
2,279 additions
and
809 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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.