platform
platform copied to clipboard
Query for requesting contested resource vote state in batch
Current Behavior
On the Platform Explorer, we need to show correct state of the identity DPNS name (locked or not), and it involves invoking a getContestedResourceVoteState for each name identity has. That's couple of request per identity. Things get worse on the lists, like transactions or data contracts, because almost all platform entities has owner field and we need to check that, that adds up a lot of requests to the Drive
Expected Behavior
It would be really cool to be able to get info about contested resources in batch, like if you could pass an array of index values in the request. I think it would work for now (we only check certain data contract and at certain index name, DPNS)