Skip to content

Commit

Permalink
[BSIP61] Revise dust order check language
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielhourt authored Oct 7, 2019
1 parent 9e38c13 commit cc1995b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bsip-0061.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Additionally, the following stateful checks will be applied during evaluation:
- If `new_price` is not null, check its assets match those in the referenced order
- If `delta_amount_to_sell` is not null and positive, check it does not exceed seller's balance
- If `delta_amount_to_sell` is not null and negative, check it does not exceed order's balance
- Check updated order value is greater than zero
- Check if order is too small using the logic defined in `maybe_cull_small_order()` and reject the update if so
- If `new_expiration` is not null, check it is in the future

A single new evaluator is required, which shall check that the new field values are valid for the order being updated, and update the order and balances as necessary, then trigger order matching only if the price was modified such that the order has moved past the previous top-of-book order.
Expand Down

0 comments on commit cc1995b

Please sign in to comment.