diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-19 01:29:30 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-19 01:30:29 +0800 |
commit | 7c5d50f627b223a8b0217f6ca684b4c7d1d877ef (patch) | |
tree | 451a842d00bbc60b34651f2cadd886250bf72469 /rpc/api.go | |
parent | 78e37e98e77b467e6950922da4ea99ff146ab21f (diff) | |
download | dexon-7c5d50f627b223a8b0217f6ca684b4c7d1d877ef.tar dexon-7c5d50f627b223a8b0217f6ca684b4c7d1d877ef.tar.gz dexon-7c5d50f627b223a8b0217f6ca684b4c7d1d877ef.tar.bz2 dexon-7c5d50f627b223a8b0217f6ca684b4c7d1d877ef.tar.lz dexon-7c5d50f627b223a8b0217f6ca684b4c7d1d877ef.tar.xz dexon-7c5d50f627b223a8b0217f6ca684b4c7d1d877ef.tar.zst dexon-7c5d50f627b223a8b0217f6ca684b4c7d1d877ef.zip |
downloader: throw an error if there are no peers available for download
If all peers have been tried during the block download process and some
hashes are unfetchable (available peers > 0 and fetching == 0) throw an
error so the process can be aborted.
Diffstat (limited to 'rpc/api.go')
0 files changed, 0 insertions, 0 deletions