Move the type across without making any major changes to RPC method's logic. This will include moving the watcher from RPC context to storage's transaction type.
This should hopefully be a minimally invasive change.
Finally, refactor the PendingWatcher::get(tx) accessor to a tx.pending_data() method. This will require cosmetic refactoring for the RPC methods.
Move the type across without making any major changes to RPC method's logic. This will include moving the watcher from RPC context to storage's transaction type.
This should hopefully be a minimally invasive change.
Finally, refactor the
PendingWatcher::get(tx)
accessor to atx.pending_data()
method. This will require cosmetic refactoring for the RPC methods.