- 04 Nov, 2014 1 commit
-
-
Philip Kaufmann authored
- add a missing license header - correct some header orderings etc.
-
- 31 Oct, 2014 1 commit
-
-
Cory Fields authored
-
- 28 Oct, 2014 1 commit
-
-
Michael Ford authored
-
- 17 Oct, 2014 1 commit
-
-
Cory Fields authored
This allows for a reversal of the current behavior. This: CScript foo; CScriptID bar(foo.GetID()); Becomes: CScript foo; CScriptID bar(foo); This way, CScript is no longer dependent on CScriptID or Hash();
-
- 26 Sep, 2014 1 commit
-
-
Pieter Wuille authored
-
- 19 Sep, 2014 1 commit
-
-
Pieter Wuille authored
-
- 28 Aug, 2014 2 commits
-
-
Philip Kaufmann authored
- ensures a consistent usage in header files - also add a blank line after the copyright header where missing - also remove orphan new-lines at the end of some files
-
Wladimir J. van der Laan authored
Fix a few warnings reported by Coverity. None of these is critical, but making sure that class fields are initialized can avoid heisenbugs.
-
- 03 Jun, 2014 1 commit
-
-
Andrew Poelstra authored
Previously if bitcoind is linked with an OpenSSL which is compiled without EC support, this is seen as an assertion failure "pKey != NULL" at key.cpp:134, which occurs after several seconds. It is an esoteric piece of knowledge to interpret this as "oops, I linked with the wrong OpenSSL", and because of the delay it may not even be noticed. The new output is : OpenSSL appears to lack support for elliptic curve cryptography. For more information, visit https://en.bitcoin.it/wiki/OpenSSL_and_EC_Libraries : Initialization sanity check failed. Bitcoin Core is shutting down. which occurs immediately after attempted startup. This also blocks in an InitSanityCheck() function which currently only checks for EC support but should eventually do more. See #4081.
-
- 20 May, 2014 1 commit
-
-
Kamil Domanski authored
-
- 10 Mar, 2014 1 commit
-
-
Pieter Wuille authored
a81cd968 introduced a malleability breaker for signatures (using an even value for S). In e0e14e43 this was changed to the lower of two potential values, rather than the even one. Only the signing code was changed though, the (for now unused) verification code wasn't adapted.
-
- 25 Feb, 2014 1 commit
-
-
Peter Todd authored
-
- 10 Nov, 2013 1 commit
-
-
Brandon Dahler authored
Use misc methods of avoiding unnecesary header includes. Replace int typedefs with int##_t from stdint.h. Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h. Normalize QT_VERSION ifs where possible. Resolve some indirect dependencies as direct ones. Remove extern declarations from .cpp files.
-
- 28 Oct, 2013 1 commit
-
-
Philip Kaufmann authored
- add a check for CKey::size() of a and b (size can be 0 or 32) - change the fixed value in memcmp() to use a.size() instead - fixes #3090
-
- 29 Aug, 2013 1 commit
-
-
patrick s authored
improve wallet load time by removing duplicated calls to EC_KEY_check_key and adding a hash for vchPubKey/vchPrivKey entries in wallet.dat backwards compatible with previous wallet.dat format
-
- 14 Jul, 2013 1 commit
-
-
Pieter Wuille authored
-
- 30 May, 2013 3 commits
-
-
Pieter Wuille authored
-
Pieter Wuille authored
-
Pieter Wuille authored
-
- 18 Dec, 2012 1 commit
-
-
Pieter Wuille authored
-
- 20 Oct, 2012 1 commit
-
-
Pieter Wuille authored
Special serializers for script which detect common cases and encode them much more efficiently. 3 special cases are defined: * Pay to pubkey hash (encoded as 21 bytes) * Pay to script hash (encoded as 21 bytes) * Pay to pubkey starting with 0x02, 0x03 or 0x04 (encoded as 33 bytes) Other scripts up to 121 bytes require 1 byte + script length. Above that, scripts up to 16505 bytes require 2 bytes + script length.
-
- 15 Sep, 2012 1 commit
-
-
Wladimir J. van der Laan authored
-
- 24 May, 2012 2 commits
-
-
Pieter Wuille authored
This introduces internal types: * CKeyID: reference (hash160) of a key * CScriptID: reference (hash160) of a script * CTxDestination: a boost::variant of the former two CBitcoinAddress is retrofitted to be a Base58 encoding of a CTxDestination. This allows all internal code to only use the internal types, and only have RPC and GUI depend on the base58 code. Furthermore, the header dependencies are a lot saner now. base58.h is at the top (right below rpc and gui) instead of at the bottom. For the rest: wallet -> script -> keystore -> key. Only keystore still requires a forward declaration of CScript. Solving that would require splitting script into two layers.
-
Pieter Wuille authored
-
- 18 May, 2012 1 commit
-
-
Fordy authored
I originally created a pull to replace the "COPYING" in crypter.cpp and crypter.h, but it turned out that COPYING was actually the correct file.
-
- 17 May, 2012 1 commit
-
-
Gavin Andresen authored
-
- 17 Apr, 2012 2 commits
-
-
Pieter Wuille authored
-
Pieter Wuille authored
This commit removes the dependency of serialize.h on PROTOCOL_VERSION, and makes this parameter required instead of implicit. This is much saner, as it makes the places where changing a version number can have an influence obvious.
-
- 15 Apr, 2012 1 commit
-
-
Jeff Garzik authored
-
- 26 Mar, 2012 1 commit
-
-
Pieter Wuille authored
-
- 19 Feb, 2012 1 commit
-
-
Pieter Wuille authored
-
- 18 Feb, 2012 1 commit
-
-
Pieter Wuille authored
-
- 07 Feb, 2012 1 commit
-
-
Gavin Andresen authored
-
- 26 Jan, 2012 1 commit
-
-
Pieter Wuille authored
-
- 09 Jan, 2012 2 commits
-
-
Pieter Wuille authored
-
Pieter Wuille authored
This patch enabled compressed pubkeys when -compressedpubkeys is passed. These are 33 bytes instead of 65, and require only marginally more CPU power when verifying. Compressed pubkeys have a different corresponding address, so it is determined at generation. When -compressedpubkeys is given, all newly generated addresses will use a compressed key, while older/other addresses keep using normal keys. Unpatched clients will relay and verify these transactions.
-
- 20 Dec, 2011 1 commit
-
-
Gavin Andresen authored
Code cleanup: use ECDSA_size() instead of fixed 10,000 byte sig buffer, and explicity init static var
-
- 17 Dec, 2011 1 commit
-
-
Pieter Wuille authored
-
- 06 Nov, 2011 1 commit
-
-
Pieter Wuille authored
-
- 27 Sep, 2011 1 commit
-
-
Pieter Wuille authored
Introduce a new type of signatures that are only 65 bytes long, and allow reconstruction of the public key that was used to create the signature.
-