There is a bug in the Bitfield::Invert() function that affects the ctorrent-1.3.4 base code as well as the "dnh1" and "dnh1.1" versions I've posted. This can cause the application to fail (segmentation fault) or may affect downloading of all pieces of the torrent.
bitfield-invert bug fix