-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing "cancel" checks, "cancel-everything" ecosystem limitation #223
Add missing "cancel" checks, "cancel-everything" ecosystem limitation #223
Conversation
If desired, I can split this one up, but I was too tired yesterday. Sub parts:
Imho, related to the last part, there is consensus for the general idea. I'd want a limitation of "cancel-everything" to one ecosystem, Marv seems to support it too, as the comment linked in the other thread implies, Faiz supports it for consistency, zathras supports it as well. So if you don't hate it, let's do it. ;) JR's objection was the work needed to adjust the code - which I tackled with this PR. I can push a PR to refine the spec on this as well and imho it's not a spec violation, but the spec is rather ambigious and not clearly defined in this context. Opinions? Edit: not to mention all the regtests that don't fail anymore. ;) |
heh. Nice. If the other devs don't object and you are willing to do the On Wed, Dec 3, 2014 at 12:16 PM, dexX7 [email protected] wrote:
|
@dacoinminster: PR pending: OmniLayer/spec#292 |
This commit adds all missing checks before executing "cancel-at-price", "cancel-all-for-pair" and "cancel-everything". Furthermore the behavior of "cancel-everything" was enhanced, such that it cancels all open orders, if offered and desired properties are within the same ecosystem, and otherwise it cancels all open orders for all properties of both ecosystems.
08afaac
to
bea28a1
Compare
TBD after the tag |
... and cancel-everything that behaves as follows:
Consider the last part as debatable of course.