Commit graph

5 commits

Author SHA1 Message Date
Steven Roose
a8a1a933dc
Make it clear that the CRangeCheck is not called on explicit values
That is enforced by the `VerifyAmounts` method for regular transactions
and by the `VerifyIssuanceAmounts` method for issuance values.
2021-02-18 11:12:59 +00:00
Steven Roose
98e42a0db1
Fix HasValidFee potential overflow
Dmitry pointed out this potential overflow. They can't really happen
because of the `CheckTransaction` check on explicit amounts that
happens earlier in the verification chain. But it's a good idea to
add the check here as well so that a potential relaxing of other rules
cannot accidentally introduce an overflow risk.
2020-04-14 20:58:16 +01:00
Gregory Sanders
2cb47d1705 Disallow coinbase output witness data, since outputs are explicit anyways 2019-04-12 11:50:01 -04:00
Steven Roose
0b5066143d
[BROKEN] Add CA validation 2019-03-20 12:05:46 +00:00
Steven Roose
f81122f948
Add asset and value blinding functionality 2019-03-20 12:05:41 +00:00