Hashes Enable Efficient Data Retrieval in Distributed Ledger Systems