Re: [Libbt-devel] question about btlist
Brought to you by:
ksmathers
From: Alien <ali...@us...> - 2005-02-11 15:38:58
|
Op vrijdag 11 februari 2005 15:59, schreef Peter Stuge: > On Thu, Feb 10, 2005 at 02:42:02PM +0100, Alien wrote: > > 0x502ab8(STRING)=3D(6)'pieces' > > =3D> > > 0x502a50(STRING)=3D(156040)'[EAd???g?????f????????,1U?? > > ????...' > > > > > > this last string is that normal? a huge string? i thought the > > pieces were supposed to be there? which it would have to be a > > number? > > > > thanks for any info relating to this > > Quoting docs/protocol.txt: > --8<-- > 'pieces' maps to a string whose length is a multiple of 20. It is to > be subdivided into strings of length 20, each of which is the sha1 > hash of the piece at the corresponding index. > -->8-- > > So yes, it's supposed to be long and binary. i'm just saying that we could let btlist (or btcheck, i forgot) show it as= =20 hexadecimal. |