aboutsummaryrefslogtreecommitdiff
path: root/src/pubkey.h
diff options
context:
space:
mode:
authorMax K <[email protected]>2018-01-28 18:44:52 +0100
committerRoss Nicoll <[email protected]>2019-03-25 05:36:12 +0000
commit2a0c66035d0fb53b3d12b299707244a13d19cb37 (patch)
treeb4760c7b98acb27a10c895375e104e1c11d3d92f /src/pubkey.h
parentUpdate about menu icon to Dogecoin (diff)
downloaddiscoin-2a0c66035d0fb53b3d12b299707244a13d19cb37.tar.xz
discoin-2a0c66035d0fb53b3d12b299707244a13d19cb37.zip
Re-add paperwallet printer (#1467)
* 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
Diffstat (limited to 'src/pubkey.h')
-rw-r--r--src/pubkey.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pubkey.h b/src/pubkey.h
index dbf0e23f2..490e8072a 100644
--- a/src/pubkey.h
+++ b/src/pubkey.h
@@ -183,6 +183,9 @@ public:
//! Recover a public key from a compact signature.
bool RecoverCompact(const uint256& hash, const std::vector<unsigned char>& vchSig);
+ //! Turn this public key into a compressed public key.
+ bool Compress();
+
//! Turn this public key into an uncompressed public key.
bool Decompress();