-
Notifications
You must be signed in to change notification settings - Fork 648
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
Change call_order_update_operation to return order_id #1269
Comments
Why would we not extend the operation and let the user provide a 32bit value indexed in the database so orders can be identified by user-provided value? |
@xeroc that's a good idea, but it needs a BSIP (#556). By the way, our object subscription/notification subsystem doesn't work well with self defined IDs so far. In the mean while, it's not hard for users to attach a |
@ryanRfox I want to claim this issue. Thanks ! |
@cogutvalera I've assigned this to you. Please provide an estimate prior to development. We want @bitshares/core-dev to review these. Please being with some test cases to ensure you are heading toward the intended solution. Thanks |
@ryanRfox my estimation for this issue is approximately 2 hours |
Change call_order_update_operation to return order_id #1269
Resolved through #1352 |
Thanks ! |
Update (important info):
|
User Story
ID of call orders aren't returned when they're created nor updated:
bitshares-core/libraries/chain/market_evaluator.cpp
Line 194 in e2f33f5
It will help if the IDs are returned.
Note:
operation_result
is stored in block database, that means they won't be updated after a block get written to disk. If this feature is implemented, need a resync to update old data. Related code:bitshares-core/libraries/chain/include/graphene/chain/protocol/block.hpp
Lines 52 to 56 in e2f33f5
operation_result
is being transmitted in P2P network since it's part ofblock_message
, good news is they're not being verified so are not a part of consensus. In this code aprocessed_transaction
is being used as asigned_transaction
thus theoperation_results
field will be ignored:bitshares-core/libraries/chain/db_block.cpp
Line 549 in e2f33f5
CORE TEAM TASK LIST
The text was updated successfully, but these errors were encountered: