Closed RCasatta closed 1 month ago
The implementation looks good, but perhaps make this part of Daemon::getblocks()
?
Daemon
is already responsible for retrying on connection errors, so it can fit there. Also we might later want to add limits and sleeping to the connection retry implementation, which could share some constants with this (the two cases are not exactly the same but we could probably still use the same MAX_ATTEMPTS
RETRY_WAIT_DURATION
for both).
The implementation looks good, but perhaps make this part of Daemon::getblocks()?
Done in #121
alternative to #117