Search found 2 matches

by danoctavian
Thu Jun 12, 2014 12:45 am
Forum: Support
Topic: when do piece hash checks happen
Replies: 1
Views: 1725

Re: when do piece hash checks happen

Answer to my own question: Yes. the piece is asynchronously checked after it is written to disk. Based on the libtorrent source code: the method peer_connection::incoming_piece writes the piece to disk and requests that the method on_disk_write_complete is called once the write is done. This latter ...
by danoctavian
Thu Jun 12, 2014 12:19 am
Forum: Support
Topic: when do piece hash checks happen
Replies: 1
Views: 1725

when do piece hash checks happen

When does Deluge check the hash of a piece for correctness? I'm currently tampering with the pieces sent by a seeder and messing up their payload (without changing the message format though). As soon as I do that the peer receiving pieces from the seeder closes the connection. Does this mean Deluge ...