elements/src/crypto
Andrew Poelstra c4182106af Merge 2b45cf0bcd into merged_master (Bitcoin PR bitcoin/bitcoin#19521)
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.
2021-07-04 19:51:38 +00:00
..
ctaes Update ctaes 2016-12-08 17:09:07 -08:00
aes.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
aes.h scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
chacha20.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
chacha20.h scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
chacha_poly_aead.cpp Remove unused includes 2019-10-15 22:56:43 +00:00
chacha_poly_aead.h doc: Use https URLs where possible 2021-01-04 12:23:16 +08:00
common.h scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
hkdf_sha256_32.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
hkdf_sha256_32.h Add HKDF HMAC_SHA256 L=32 implementations 2019-05-11 09:14:07 +02:00
hmac_sha256.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
hmac_sha256.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
hmac_sha512.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
hmac_sha512.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
muhash.cpp crypto: Make MuHash Remove method efficient 2021-04-19 20:28:46 +02:00
muhash.h refactor: Improve encapsulation between MuHash3072 and Num3072 2021-01-24 16:28:27 +01:00
poly1305.cpp Add Poly1305 implementation 2019-03-26 18:12:29 +01:00
poly1305.h Add Poly1305 implementation 2019-03-26 18:12:29 +01:00
ripemd160.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
ripemd160.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
sha1.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
sha1.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
sha3.cpp Unroll Keccak-f implementation 2020-09-06 18:35:23 -07:00
sha3.h Implement keccak-f[1600] and SHA3-256 2020-09-06 18:35:18 -07:00
sha256.cpp Merge 99813a9745 into merged_master (Bitcoin PR #17829) 2020-11-14 16:52:02 +00:00
sha256.h Add support for SHA-256 midstate access 2019-02-12 15:03:42 +00:00
sha256_avx2.cpp scripted-diff: Add missed copyright headers 2020-01-04 20:18:28 +02:00
sha256_shani.cpp scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
sha256_sse4.cpp doc: Use https URLs where possible 2021-01-04 12:23:16 +08:00
sha256_sse41.cpp scripted-diff: Add missed copyright headers 2020-01-04 20:18:28 +02:00
sha512.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
sha512.h scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
siphash.cpp scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
siphash.h scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00