Closed syuan100 closed 3 years ago
This is good. Should we also add an error that tells you that the block age is greater than some number? Maybe something like if block age > 1 hour, you should probably wait before you do wallet operations?
Fortunately Rosetta actually automatically handles this with the sync para on the /network/status endpoint. Right now the threshold is 100 blocks. Would 50 make more sense? This will be a different PR though so I'm going to merge this one.
Fortunately Rosetta actually automatically handles this with the sync para on the /network/status endpoint. Right now the threshold is 100 blocks. Would 50 make more sense? This will be a different PR though so I'm going to merge this one.
No it's fine. Leave it as we have it :)
Add error for when node is still behind proper snapshot height (+50 above last blessed block)