closestProofForVersion
Definition
Returns the closest 'valid' proof for a database version. This is the first proof which against a version that is equal to or greater than the database version concerned.
Syntax
db.closestProofForVersion(versionId)
Example
ProvenDB v7754 (current)> db.closestProofForVersion(2000)
41494e10-810a-11e9-a57b-019f801dff11
ProvenDB v7754 (current)> db.getProof('41494e10-810a-11e9-a57b-019f801dff11')
{
"ok" : 1,
"proofs" : [
{
"proofId" : "41494e10-810a-11e9-a57b-019f801dff11",
"version" : NumberLong(2190),
"submitted" : ISODate("2019-05-28T05:34:25Z"),
"type" : "Full",
"hash" : "fc392455c982418431a00f069b2e1996e51e92b9c47ce59055690c0584dd78fd",
Updated over 3 years ago