Compressed pubkeys
authorPieter Wuille <pieter.wuille@gmail.com>
Mon, 21 Nov 2011 01:46:28 +0000 (02:46 +0100)
committerPieter Wuille <pieter.wuille@gmail.com>
Mon, 9 Jan 2012 14:18:19 +0000 (15:18 +0100)
commit11529c6e4f7288d8a64c488a726ee3821c7adefe
tree0f727a647b327687eb7894d824eb47d3578dfb92
parent1684f98b27de9323d24ee4489af54dd84083956a
Compressed pubkeys

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.
src/base58.h
src/bitcoinrpc.cpp
src/db.cpp
src/key.h
src/keystore.cpp
src/keystore.h
src/rpcdump.cpp