Re: Paper Wallet option for 0.13.1.
@Lizhi - I have imported (by hand) the paper wallet into 0.13.x. I have fixed a number of things missing / changed (rpcserver). AFB is doing / has done a high resolution print icon required for it.
However I’m stuck on a build issue. I think the code is reliant on something in comments, coin control or some other previous commit or change from 0.11.x to 0.13.x.
I will do a push to here, if any can have a look, just to see if it something stupid (for a proper programmer). I’ll post when I’ve factored a push from my build folder.
Here is 0.11.2 for reference : https://github.com/wrapperband/Feathercoin/tree/0.11.2
Here is where I will push my demo changes to : https://github.com/0afb0/Feathercoin/tree/0.13.1-PaperWallet
Here is the commit for 0.11 : https://github.com/wrapperband/Feathercoin/commit/7d26f9700396fa9255cad124eb1e029b40653b01
Build error :
qt/utilitydialog.cpp:267:55: error: ‘class CPubKey’ has no member named ‘Raw’
std::string myPubKey = HexStr(privKey.GetPubKey().Raw());
^~~
qt/utilitydialog.cpp:267:28: error: ‘HexStr’ was not declared in this scope
std::string myPubKey = HexStr(privKey.GetPubKey().Raw());
^~~~~~
qt/utilitydialog.cpp:267:28: note: suggested alternative: ‘_exit’
std::string myPubKey = HexStr(privKey.GetPubKey().Raw());
^~~~~~
_exit
qt/utilitydialog.cpp: In member function ‘void PaperWalletDialog::on_printButton_clicked()’:
qt/utilitydialog.cpp:521:78: error: no matching function for call to ‘WalletModel::sendCoins(WalletModelTransaction&, bool)’
WalletModel::SendCoinsReturn sendStatus = this->model->sendCoins(*tx,true);