diff options
| author | Pieter Wuille <[email protected]> | 2019-11-05 10:54:20 -0800 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2019-11-12 15:35:26 -0800 |
| commit | d1c02775aa74a0610809ac54bb241ddad61d2d8c (patch) | |
| tree | 13e7fe1e6c46f0870f0e308c72d7957717be95fe /src/crypto | |
| parent | Use thread-safe atomic in perfmon seeder (diff) | |
| download | discoin-d1c02775aa74a0610809ac54bb241ddad61d2d8c.tar.xz discoin-d1c02775aa74a0610809ac54bb241ddad61d2d8c.zip | |
Report amount of data gathered from environment
Diffstat (limited to 'src/crypto')
| -rw-r--r-- | src/crypto/sha512.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crypto/sha512.h b/src/crypto/sha512.h index 4118ac1b1..fc7dd1b87 100644 --- a/src/crypto/sha512.h +++ b/src/crypto/sha512.h @@ -23,6 +23,7 @@ public: CSHA512& Write(const unsigned char* data, size_t len); void Finalize(unsigned char hash[OUTPUT_SIZE]); CSHA512& Reset(); + uint64_t Size() const { return bytes; } }; #endif // BITCOIN_CRYPTO_SHA512_H |