Hey @Ducky,
Could you forward my questions to the devs?
Let’s assume that my account is in shard 5 whose height 100 and the beacon height is 112. I want to perform a transaction with 101. block in shard 5. Currently, I’m doing this by checking the beacon height in the result of getblockchaininfo
like this
currentBeaconHeight = getBeaconHeight()
while True:
if getBeaconHeight() > currentBeaconHeight:
break
sendTx()
However, today I’ve noticed that some of my Txs are sent in 100. block, not 101. block. Why? Should I check the block height of shard 5 instead of the beacon height? If so, why? Aren’t they synchronized? Synchronized but because of the network latency, are there some minimal shifts among the shard block heights? If so, at most how many seconds? Or should I use another RPC instead of getblockchaininfo
?
Thanks for the answer.
P.S.: Initially, I wrote such questions in Builders category. Then I don’t remember him/her, one of the admins moved them to this category. However, I do not feel confident in this category Could you create a subcategory (like Q&A) in Builders category for such questions? @Ducky