Currently, my node is syncing blocks and tip(height) is 230000.
At this point, if I use command bitcoin-cli getblockhash 230000, the return information will be successful but, if I use bitcoin-cli getblockhash 240000, it returns error due to out of current range.
Yes, I know that the query that I request is definitely out of range in my chain. but I want to query even if the data is not in my chain. I think that it will be possible by asking my peers. so what is the command for my purpose?
Sorry for my English.