ES Plugin: Get operation by ID #1682
Labels
1b User Story
The User Story details a requirement. It may reference a parent Epic. It may reference child Task(s)
2c Ready for Development
Status indicating the Requirements are sufficent to begin designing a solution
3b Feature
Classification indicating the addition of novel functionality to the design
4b Normal Priority
Priority indicating the moderate impact to system/user -OR- existing workaround is costly to perform
6 API
Impact flag identifying the application programing interface (API)
6 Plugin
Impact flag identifying at least one plugin
Milestone
User Story
As a
3rd party app developer
I wantthe ability to fetch operations from history
so thatmy apps can store and retrieve data on-chain
.In short, I'd like to see a call like
operation get_operation_by_id(operation_history_id_type)
show up right about here. See Additional Context below for context.Impacts
Describe which portion(s) of BitShares Core may be impacted by your request. Please tick at least one box.
Additional Context
So back in the day, I wrote Follow My Vote's stake-weighted voting app based on BitShares, and that app published the voting data to the blockchain using
custom_operation
s. All of the data was keyed and referenced based on theoperation_history_id_type
to tie it down to an authenticated publication to the chain, and we had a plugin that tracked all this data, querying the database maintained by theaccount_history_plugin
to do it.Fast forward to today, this no longer works because the
account_history_plugin
is all but deprecated (600 gigs of RAM, anyone?) in favor of theelasticsearch_plugin
. Currently, this plugin does not provide an easy way to retrieve historical operations by ID, but it should be relatively straightforward to add it. With this functionality available, it would be reasonably easy to get the FMV app working again.CORE TEAM TASK LIST
The text was updated successfully, but these errors were encountered: