RPC ../mempool/pending_operations lacks of consistency
The RPC ../mempool/pending_operations
lacks of consistency reading the applied
fields on one side, and the refused
, branch_refused
and branch_delayed
on the other side:
- The
hash
key is missing (see #909 (closed)) -
applied
is a json object but the others are arrays
It is requires to rework those encodings. As it introduces a change regarding the encoding, we should create a new endpoint, i.e. ../mempool/current_content
, and deprecate ../mempool/pending_operations
This effort is close to !2156 (merged) and should be tackle in the same time(/same MR?)