moneroexamples / onion-monero-blockchain-explorer

Onion Monero Blockchain Explorer
https://xmrchain.net
BSD 3-Clause "New" or "Revised" License
361 stars 269 forks source link

Add K-Anonymity to Block and Tx Requests #285

Closed ACK-J closed 1 year ago

ACK-J commented 1 year ago

PR associated with feature request https://github.com/moneroexamples/onion-monero-blockchain-explorer/issues/284

ACK-J commented 1 year ago

I am unsure how to search LMDB for a subset of a hash. This may require a change to the monero repo.

https://github.com/monero-project/monero/blob/c5d10a4ac43941fe7f234d487f6dd54996a9aa33/src/blockchain_db/blockchain_db.cpp#L373-L382

Additionally, the added /api/blocks/<starting>/<ending>/ api has not been tested as I am waiting for the blockchain to sync. Updates to follow.

moneroexamples commented 1 year ago

Thanks. I will have a look.