[Qt] Add Smartfee to GUI

This commit is contained in:
Cozz Lovan
2014-11-02 00:14:47 +01:00
parent e7876b2979
commit c1c9d5b415
20 changed files with 903 additions and 166 deletions

View File

@@ -31,6 +31,11 @@ CWalletTx *WalletModelTransaction::getTransaction()
return walletTransaction;
}
unsigned int WalletModelTransaction::getTransactionSize()
{
return (!walletTransaction ? 0 : (::GetSerializeSize(*(CTransaction*)walletTransaction, SER_NETWORK, PROTOCOL_VERSION)));
}
CAmount WalletModelTransaction::getTransactionFee()
{
return fee;