Revision 2b0ec5b8 trunk/Pithos.Network/TreeHash.cs
b/trunk/Pithos.Network/TreeHash.cs | ||
---|---|---|
56 | 56 |
public class TreeHash |
57 | 57 |
{ |
58 | 58 |
private const string DEFAULT_HASH_ALGORITHM = "sha256"; |
59 |
private const int DEFAULT_BLOCK_SIZE = 4*1024*1024;
|
|
59 |
private const long DEFAULT_BLOCK_SIZE = 4*1024*1024;
|
|
60 | 60 |
public string BlockHash { get; set; } |
61 |
public int BlockSize { get; set; }
|
|
61 |
public long BlockSize { get; set; }
|
|
62 | 62 |
|
63 | 63 |
private long _bytes; |
64 | 64 |
public long Bytes |
Also available in: Unified diff