Skip to content
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

New Operation Example #1

Open
wants to merge 10 commits into
base: nathan-work
Choose a base branch
from
Open

New Operation Example #1

wants to merge 10 commits into from

Conversation

nathanielhourt
Copy link
Owner

@nathanielhourt nathanielhourt commented Mar 14, 2019

This PR exists to provide a permanent home for a mostly clutter-free example of creating a simple new operation and evaluator in BitShares, namely the limit_order_update_operation. Please note that the changes in 8a82d92 are present as a necessary, but ancillary modification and are not typical of creating a new operation or evaluator.

Define and implement the limit_order_update_operation. Still needs
testing.
Some major facepalms in here... haha! but overall, it's looking good.
Add logic to match an updated limit order if the price is changed to be
higher than the previous top-of-book price.

I believe this completes bitshares#1604
Add dust check to limit order update logic, and test
Updating an order's expiration must make it expire later than before,
not the same or sooner.
I pulled this out of a2192ec because I
needed it separated from the rest of that commit.
Guard against the comittee setting fees for the operation which is not
yet defined.
nathanielhourt pushed a commit that referenced this pull request Mar 23, 2019
nathanielhourt pushed a commit that referenced this pull request Apr 9, 2019
add unit tests for get_signed_transaction_signers, get_key_references
@abitmore
Copy link

Hi Nathan, JFYI, I'm going to continue to work on this at bitshares#2743.

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