XRPLF / rippled

Decentralized cryptocurrency blockchain daemon implementing the XRP Ledger protocol in C++
https://xrpl.org
ISC License
4.48k stars 1.44k forks source link

Add SHAMap to libxrpl #5038

Open cindyyan317 opened 3 weeks ago

cindyyan317 commented 3 weeks ago

Summary

Data server like Clio stores XRP data in flattened format. It is convenient for querying, but lack of confidence of data integrity. Exposing SHAMap would allow us to verify the data accuracy, ensure that the data has not been altered or corrupted during transmission.

Motivation

Clio team has a tool to verity the data integrity by SHAMap. In this branch, we extract SHAMap from rippled's code. If libxrpl can provide the interface, we can integrate with SHAMap properly.