diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-10-22 10:52:14 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-10-22 10:52:14 -0500 |
| commit | bb2bcf35216b819778fe09cee328e7acc2f680cf (patch) | |
| tree | 6e3a388008fe2c7e1d4568a966e7333dd65830ba /src/cryptonote_basic/cryptonote_format_utils.h | |
| parent | 6b58d6248a23cd09df385832f89d00af49acb853 (diff) | |
| parent | 9447e7276dbcaf37e5fe81738db3d62b5a443839 (diff) | |
| download | monzero-core-bb2bcf35216b819778fe09cee328e7acc2f680cf.tar.gz monzero-core-bb2bcf35216b819778fe09cee328e7acc2f680cf.tar.xz monzero-core-bb2bcf35216b819778fe09cee328e7acc2f680cf.zip | |
Merge pull request #5972
9447e72 cryptonote: add function to get weight from a pruned tx (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_basic/cryptonote_format_utils.h')
| -rw-r--r-- | src/cryptonote_basic/cryptonote_format_utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_basic/cryptonote_format_utils.h b/src/cryptonote_basic/cryptonote_format_utils.h index 284494299..29e4def64 100644 --- a/src/cryptonote_basic/cryptonote_format_utils.h +++ b/src/cryptonote_basic/cryptonote_format_utils.h @@ -127,6 +127,7 @@ namespace cryptonote bool parse_amount(uint64_t& amount, const std::string& str_amount); uint64_t get_transaction_weight(const transaction &tx); uint64_t get_transaction_weight(const transaction &tx, size_t blob_size); + uint64_t get_pruned_transaction_weight(const transaction &tx); bool check_money_overflow(const transaction& tx); bool check_outs_overflow(const transaction& tx); |
