diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2021-06-24 14:35:30 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2021-06-24 14:35:30 -0500 |
| commit | 9c18f2767bc62796eacb0428ac50abf8fc5c14dd (patch) | |
| tree | d5957063d6a7788a3fbba603fe2dd72c85445b5f /src/wallet/api/wallet.cpp | |
| parent | 14a1b89122406a937d7e0bc3712d6fc8ae675b64 (diff) | |
| parent | 8a6772421850152c974b9b6552e3d5f7d316400d (diff) | |
| download | monzero-core-9c18f2767bc62796eacb0428ac50abf8fc5c14dd.tar.gz monzero-core-9c18f2767bc62796eacb0428ac50abf8fc5c14dd.tar.xz monzero-core-9c18f2767bc62796eacb0428ac50abf8fc5c14dd.zip | |
Merge pull request #7743
8a67724 wallet_api: get bytes sent/received (tobtoht)
Diffstat (limited to 'src/wallet/api/wallet.cpp')
| -rw-r--r-- | src/wallet/api/wallet.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index d53cbddad..2b0349501 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -2603,4 +2603,15 @@ bool WalletImpl::reconnectDevice() return r; } + +uint64_t WalletImpl::getBytesReceived() +{ + return m_wallet->get_bytes_received(); +} + +uint64_t WalletImpl::getBytesSent() +{ + return m_wallet->get_bytes_sent(); +} + } // namespace |
