Function diem_json_rpc::data::get_accumulator_consistency_proof
source · pub fn get_accumulator_consistency_proof(
db: &dyn MoveDbReader,
client_known_version: Option<u64>,
ledger_version: u64
) -> Result<AccumulatorConsistencyProofView, JsonRpcError>
Expand description
Returns a proof that allows a client to extend their accumulator summary from
client_known_version
(or pre-genesis if None
) to ledger_version
.
See [MoveDbReader::get_accumulator_consistency_proof
]