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

listsinceblock rpc cmd doesn't correctly handle mature certificates #211

Open alsala opened 3 years ago

alsala commented 3 years ago

Currently this command processes all the transactions and certificates that have been mined in one of the blocks selected in the range ['sinceBlockHash', 'bestBlockHash']. Therefore if such range does not contain the block where a certificate has been mined, its backward transfers would not be shown in the JSON output, even if they became mature in one of the block in the range. This behaviour should be changed for mature certificates: The output JSON list of this command should contain mature certificates bwt refering the block at which they become mature.