bitshares / bitshares-core

BitShares Blockchain node and command-line wallet
https://bitshares.github.io/
Other
1.17k stars 643 forks source link

Add API for account history plugin to update tracking accounts and registrars #2657

Open abitmore opened 1 year ago

abitmore commented 1 year ago

User Story

Mentioned by Mike (codinheim) in the BitShares Development Telegram group (link):

Is there a way to add an account's history to the node, equivalent to using --track-account, via a REST API call? Or would I need to restart the node? My goal is to configure my BTS node to only download account histories for accounts that I care about. And its purpose will be to support the mobile wallet I'm releasing I need to add new users to the BTS node's account history on the fly.

I think if we are about to add an API to add tracking account, we can add an API to add tracking registrars too.

And probably also need an API to stop tracking an account or a registrar.

And probably to update other parameters.

Another potential feature requirement is that node operators may want to keep references to added accounts, rather than stop tracking them across node restarts, i.e. configuration persistence.

And probably similar features for other plugins.

Impacts Describe which portion(s) of BitShares Core may be impacted by your request. Please tick at least one box.

Additional Context (optional) Add any other context about your request here.

CORE TEAM TASK LIST