- 13 Jan, 2017 2 commits
-
-
Pieter Wuille authored
-
Pieter Wuille authored
libsecp256k1's API changed, so update key.cpp to use it. Libsecp256k1 now has explicit context objects, which makes it completely thread-safe. In turn, keep an explicit context object in key.cpp, which is explicitly initialized destroyed. This is not really pretty now, but it's more efficient than the static initialized object in key.cpp (which made for example bitcoin-tx slow, as for most of its calls, libsecp256k1 wasn't actually needed). This also brings in the new blinding support in libsecp256k1. By passing in a random seed, temporary variables during the elliptic curve computations are altered, in such a way that if an attacker does not know the blind, observing the internal operations leaks less information about the keys used. This was implemented by Greg Maxwell.
-
- 12 Jan, 2017 2 commits
-
-
Wladimir J. van der Laan authored
If uint256() constructor takes a string, uint256(0) will become dangerous when uint256 does not take integers anymore (it will go through std::string(const char*) making a NULL string, and the explicit keyword is no help).
-
Wladimir J. van der Laan authored
Replace x=0 with .SetNull(), x==0 with IsNull(), x!=0 with !IsNull(). Replace uses of uint256(0) with uint256().
-
- 06 Dec, 2016 1 commit
-
-
infernoman authored
dash -> crown Former-commit-id: 45e21a41af056e718eb34d4281d40ddc339f35e7
-
- 11 Nov, 2016 1 commit
-
-
infernoman authored
Former-commit-id: 32a075be63e31e67589ddbe3804c66fbbf52bd3c
-
- 19 Oct, 2016 1 commit
-
-
Infernoman authored
Former-commit-id: ec56b0a1d855649c5e0d920b89ce69293b99c25d
-
- 05 Apr, 2015 1 commit
-
-
UdjinM6 authored
-