iambus/xunlei-lixian — Issue #11: add --mini-hash option
Author: iambus
Created: 2011-12-06 03:58:31+00:00
State: open

If file already exists, and the file size is completed (usually means a full hash was already done before), a full hash still will be performed. Add a --mini-hash option, in such case, just run a dcid hash (supposed to be very fast). This is used to verify ID (whether user is providing a different file), not content (whether user is providing a corrupted file).