Skip to content

fix get_hashes + make it faster with 1 lookup#613

Open
Boog900 wants to merge 1 commit into
mainfrom
get_hashes
Open

fix get_hashes + make it faster with 1 lookup#613
Boog900 wants to merge 1 commit into
mainfrom
get_hashes

Conversation

@Boog900
Copy link
Copy Markdown
Member

@Boog900 Boog900 commented May 11, 2026

No description provided.

@github-actions github-actions Bot added A-storage Area: Related to storage. A-binaries Area: Related to binaries. labels May 11, 2026
@Boog900 Boog900 marked this pull request as ready for review May 13, 2026 12:47
block_hashes,
u64_to_usize(start_height),
))
.call(BlockchainReadRequest::NextChainEntry(block_hashes, 10_000))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: the 10_000 could be put in cuprate-constants to mirror monerod: https://github.com/monero-project/monero/blob/master/src/cryptonote_config.h#L96

p2p/request_handler.rs could too make use of it then for consistency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-binaries Area: Related to binaries. A-storage Area: Related to storage.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants