Implement an order watcher deamon
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- backend
調査の方向性
まず、issue の OrderWatcher API とリンクされている 0x OrderWatcher のリファレンスを読んでください。invalidWatcher、expirationWatcher、注文の削除、状態変更イベント、リスト管理、expiration min-heap がどのように動作すべきかを定義してください。完了の条件は、注文の fillability が変化したときに注文が一度だけイベントを発行し、その後 order book から削除されることです。
索引モデルが issue の本文から書いたものです。
説明
CODEX order watcher is similar to 0x order watcher
- The
OrderWatcheris a daemon.You can start and stop it from subscribing to order state changes, add orders you would like to track and remove orders that are no longer relevant.Just can add order and get an event if the status of the order is changed. - Once the
OrderWatcheris started and an order has been added to it, it will emit events once, if there is a change in the state backing an order's fillability. If orderWatcher gets an event than it removes an order from the order book. - There are two kinds of watchers in the order watcher. One is
invalidWatcherwhich check the validity of orders except for expiration time. Another one isexpirationWatcherwhich check an expiration time of order. The difference between them is the length of the checking time interval. TheexpirationWatcher's time interval will be much shorter than theorderWatcher. - The
orderWatcherwill be managed by just list and theexpirationWatcherwill be managed by a min-heap. Therefore theexpirationWatcheronly need to monitor one order, which has a minimum expiration time.
API
// orderWatcher
addOrder(order): void
// expirationWatcher
addOrder(order, expiration): void
- 主要言語
- TypeScript
- スター
- 17
- フォーク
- 4
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CodeChain-io/codechain-exchange のほかの issue
-
I cannot run tests オープンhelp wanted test
難易度 2/5 1〜3時間 初心者へのやさしさ 30/100
CodeChain-io/codechain-exchange#28 · コメント 3 件 ·
-
design
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
-
design
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
-
design
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
log Matcher :m:
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
CodeChain-io/codechain-exchange の issue をすべて見る
似ている issue
-
blocklist removal
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
MetaMask/eth-phishing-detect#296544 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
pastelsky/bundlephobia#1122 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100