mirror of
https://github.com/monero-project/monero.git
synced 2025-06-08 06:12:45 -04:00
core: add functions to serialize base tx info
That is, information without signatures (for v1) nor range proofs and MGs (for v2)
This commit is contained in:
parent
6fd4b827fb
commit
f113b92b93
3 changed files with 33 additions and 0 deletions
|
@ -44,6 +44,7 @@ namespace cryptonote
|
|||
crypto::hash get_transaction_prefix_hash(const transaction_prefix& tx);
|
||||
bool parse_and_validate_tx_from_blob(const blobdata& tx_blob, transaction& tx, crypto::hash& tx_hash, crypto::hash& tx_prefix_hash);
|
||||
bool parse_and_validate_tx_from_blob(const blobdata& tx_blob, transaction& tx);
|
||||
bool parse_and_validate_tx_base_from_blob(const blobdata& tx_blob, transaction& tx);
|
||||
bool encrypt_payment_id(crypto::hash8 &payment_id, const crypto::public_key &public_key, const crypto::secret_key &secret_key);
|
||||
bool decrypt_payment_id(crypto::hash8 &payment_id, const crypto::public_key &public_key, const crypto::secret_key &secret_key);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue