dex-contracts icon indicating copy to clipboard operation
dex-contracts copied to clipboard

[WIP] Verify streamed orderbook

Open nlordell opened this issue 5 years ago • 1 comments

This PR adds a new script a streamed orderbook and periodically checks that it matches the on-chain version of the orderbook.

This will hopefully give us some confidence about the new streamed orderbook implementation.

Test Plan

It is the test!

npx truffle exec --network mainnet scripts/verify_streamed_orderbook.js

nlordell avatar May 13 '20 13:05 nlordell

Fiber bundles

A "fiber" is lightweight thread of execution made up of promises. This is different than a background thread which would require a Worker and is more heavy-weight.

nlordell avatar May 14 '20 08:05 nlordell