Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Impl process_get_orderbook_request(), add green test * Remove asks_n, bids_n from Ordermatch::GetOrderbook request * Remove orders_trie_root from GetOrderbookPubkeyItem * Remove all_orders_trie_root * Replace orders_trie_root with trie_roots within PubkeyKeepAlive * Remove SyncPubkeyOrderbookState::[current_orders_trie_root, expected_orders_trie_root] * * Remove pair_orders_trie_root from GetOrderbookPubkeyItem * Implement request_and_fill_orderbook() * Separate process_orders_keep_alive into itself, process_pubkey_full_trie, process_trie_delta * Add green test for request_and_fill_orderbook * Allow mm2_tests::spin_n_nodes be a dead_code * Refactor process_pubkey_full_trie, process_trie_delta, DeltaOrFullTrie::from_history * Add clear order history of pair on remove_and_purge_pubkey_pair_orders() * Change order_pairs_trie_state_history type to HashMap<AlbOrderedOrderbookPair, TrieOrderHistory> * Set request_orderbook to true * Rollback alice_can_see_the_active_order_after_connection changes to ensure that orderbook is received immediately by requesting it from other peers. Enable TEST MM2 stage on CI back. * cargo +nightly test on CI. * Fix alice_can_see_the_active_order_after_connection * Rollback test changes made for tests to pass without orderbook requests. * Fix tests. * Try to turn off the metrics temporary. * Rollback metrics init turn off for tests to pass. Will test in separate branch. * Add pair_trie_root and timestamp to maker order related messages. * Add last_signed_pubkey_payload to GetOrderbookPubkeyItem and SyncPubkeyOrderbookStateRes. * Pass i_am_relay to process_orders_keep_alive to properly fill trie_roots_to_request. Co-authored-by: Artem Pikulin <ortgma@gmail.com>
- Loading branch information