HorizenOfficial / zend_oo

This repository is archived, Zendoo is out of beta and has been included in https://github.com/HorizenOfficial/zen.
https://github.com/HorizenOfficial/zen
Other
34 stars 22 forks source link

zen-cli command getscinfo: add support for filter out ceased sidechains and for pagination #44

Closed paolocappelletti closed 3 years ago

paolocappelletti commented 4 years ago

zen-cli rpc command getscinfo (when invoked without a specific scid) should support optional parameters for filter out ceased sidechains and limit the response array:

To be coherent with the new explorer endpoint, the result should also be changed to this format:

{
"totalItems":95,
"from":0,
"to":50,
"items":[
   .......
  ]
}
abi87 commented 3 years ago

@Cermelli @annagiuliaber this can be closed down as it is already implemented in sidechains_dev