mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
This is part of the "UTXO Set Statistics" project in Core, which aims to make things like "checking coin supply" faster. This stuff, and related things in coinstats.cpp, have always been broken for Elements in the sense that we consider only explicit outputs and we ignore assets (so everything just gets added together to get a meaningless total). It probably wouldn't be too hard to restrict this to only consider policyAsset, but it's out of scope for a rebase IMO. Also, I think this situation is fine .. I don't understand the motivation for this or why Core is merging this when they refuse to merge an address index .. but I guess we'll see if there are users who care about this data and who care about it being meaningful on Elements. Also, apologies for the big diff -- there were some mechanical changes to deal with CT amounts, but most of the changes related to the difference in how fees are accounted for. While I'm not thrilled with this PR, its functional test is really good! So I think what I eventually came up with is internally consistent. |
||
|---|---|---|
| .. | ||
| ctaes | ||
| aes.cpp | ||
| aes.h | ||
| chacha20.cpp | ||
| chacha20.h | ||
| chacha_poly_aead.cpp | ||
| chacha_poly_aead.h | ||
| common.h | ||
| hkdf_sha256_32.cpp | ||
| hkdf_sha256_32.h | ||
| hmac_sha256.cpp | ||
| hmac_sha256.h | ||
| hmac_sha512.cpp | ||
| hmac_sha512.h | ||
| muhash.cpp | ||
| muhash.h | ||
| poly1305.cpp | ||
| poly1305.h | ||
| ripemd160.cpp | ||
| ripemd160.h | ||
| sha1.cpp | ||
| sha1.h | ||
| sha3.cpp | ||
| sha3.h | ||
| sha256.cpp | ||
| sha256.h | ||
| sha256_avx2.cpp | ||
| sha256_shani.cpp | ||
| sha256_sse4.cpp | ||
| sha256_sse41.cpp | ||
| sha512.cpp | ||
| sha512.h | ||
| siphash.cpp | ||
| siphash.h | ||