aboutsummaryrefslogtreecommitdiff
path: root/src/pubkey.h
Commit message (Collapse)AuthorAgeFilesLines
* Trivial: Fix Magic Numbers in key and pubkey - fixes #1968geekwisdom2021-07-251-23/+33
|
* Re-add paperwallet printer (#1467)Max K2019-03-251-0/+3
| | | | | | | | | | | | | | * Add paper wallet generator to QT wallet * Replace print icon with Typeicons equivalent * Re-add printer support to Qt * depends: fix fontconfig with newer glibc See comment for more detail * Set fixed size for paper wallet dialog
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Add optimized CSizeComputer serializersPieter Wuille2016-11-071-0/+5
| | | | | | | | | To get the advantages of faster GetSerializeSize() implementations back that were removed in "Make GetSerializeSize a wrapper on top of CSizeComputer", reintroduce them in the few places in the form of a specialized Serialize() implementation. This actually gets us in a better state than before, as these even get used when they're invoked indirectly in the serialization of another object.
* Get rid of nType and nVersionPieter Wuille2016-11-071-4/+4
| | | | | | | | | | | Remove the nType and nVersion as parameters to all serialization methods and functions. There is only one place where it's read and has an impact (in CAddress), and even there it does not impact any of the recursively invoked serializers. Instead, the few places that need nType or nVersion are changed to read it directly from the stream object, through GetType() and GetVersion() methods which are added to all stream classes.
* Make GetSerializeSize a wrapper on top of CSizeComputerPieter Wuille2016-11-071-8/+0
| | | | | | | | | | | Given that in default GetSerializeSize implementations created by ADD_SERIALIZE_METHODS we're already using CSizeComputer(), get rid of the specialized GetSerializeSize methods everywhere, and just use CSizeComputer. This removes a lot of code which isn't actually used anywhere. For CCompactSize and CVarInt this actually removes a more efficient size computing algorithm, which is brought back in a later commit.
* Do not shadow variablesPavel Janík2016-09-271-2/+2
|
* [trivial] Switched constants to sizeof()Thomas Snider2016-07-181-4/+7
|
* add bip32 pubkey serializationJonas Schnelli2016-04-141-2/+28
| | | | CExtPubKey should be serializable like CPubKey
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* Switch to libsecp256k1-based validation for ECDSAPieter Wuille2015-11-151-0/+16
|
* chaincodes: abstract away more chaincode behaviorCory Fields2015-05-061-32/+4
| | | | [squashme] replace struct CCainCode with a typedef uint256 ChainCode
* Abstract chaincodes into CChainCodePieter Wuille2015-05-021-3/+33
| | | | | | # Conflicts: # src/key.cpp # src/key.h
* Replace direct use of 0 with SetNull and IsNullWladimir J. van der Laan2015-01-051-1/+1
| | | | | | Replace x=0 with .SetNull(), x==0 with IsNull(), x!=0 with !IsNull(). Replace uses of uint256(0) with uint256().
* Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* minor code style cleanup after recent mergesPhilip Kaufmann2014-11-041-2/+2
| | | | | - add a missing license header - correct some header orderings etc.
* boost: moveonly: split CPubKey and friends to new filesCory Fields2014-10-311-0/+206