wallet: do not store signatures in the wallet cache
Saves some substantial space. Also avoid calculating tx hashes we don't need.
This commit is contained in:
parent
0263dd2d23
commit
a47ceee83b
11 changed files with 95 additions and 31 deletions
|
@ -321,6 +321,11 @@ namespace cryptonote
|
|||
return pub_key_field.pub_key;
|
||||
}
|
||||
//---------------------------------------------------------------
|
||||
crypto::public_key get_tx_pub_key_from_extra(const transaction_prefix& tx_prefix)
|
||||
{
|
||||
return get_tx_pub_key_from_extra(tx_prefix.extra);
|
||||
}
|
||||
//---------------------------------------------------------------
|
||||
crypto::public_key get_tx_pub_key_from_extra(const transaction& tx)
|
||||
{
|
||||
return get_tx_pub_key_from_extra(tx.extra);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue