Skip to content

add pending_match in depth response#86

Merged
EnderCrypto merged 2 commits intomasterfrom
pending_match_depth
Jun 1, 2020
Merged

add pending_match in depth response#86
EnderCrypto merged 2 commits intomasterfrom
pending_match_depth

Conversation

@EnderCrypto
Copy link
Copy Markdown
Contributor

Depth rest API change and orderbook rpc API change: add a new flag pending_match.

The pending_match flag in the response is to indicate below orderbook status: there are new orders created in current block, but the matching process has not started for the block, then pending_math=true. As a result, there could be orders with cross prices - price of ask is lower than price of bid. Client can ignore the response with pending_match=true and query the depth API until pending_match=false.

@EnderCrypto EnderCrypto requested a review from fletcher142 June 1, 2020 09:17
@EnderCrypto EnderCrypto merged commit b51fd9f into master Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants