Check out the Issue Explorer
Looking to fund some work? You can submit a new Funded Issue here.
### User Story
The crucial goal of all blockchains is to provide proofs for each entity which impact consensus.
In cyber - a CID rank is an essential element of the whole system. A user should have the ability to verify CID ranks that he gets.
### Definition of Done
Add `rank` RPC router function with `cid,proof` args. Should return rank for given CID's Id and also if `proof=true` router should also return proofs from #133 .
Proof consists from part of the Merkle tree which ends with root hash, current app hash. With returned data user will allow verifying the rank of given CID.
### Addition Info
Use the same conventions as https://github.com/tendermint/tendermint/blob/master/rpc/core/tx.go#L175 default tendermint does.
A useful test of the inner Merkle tree implementation with proofs:
Cosmos SDK documentation:
Please, provide your PR request with branch 309-rank-proof.
PR will be processed in 2-3 days, payment will be released after merging.