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/wallet2_api.h | |
parent | Merge pull request #7752 (diff) | |
parent | wallet_api: get bytes sent/received (diff) | |
download | monero-9c18f2767bc62796eacb0428ac50abf8fc5c14dd.tar.xz |
Merge pull request #7743
8a67724 wallet_api: get bytes sent/received (tobtoht)
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
-rw-r--r-- | src/wallet/api/wallet2_api.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h index a67bf7074..99a4de731 100644 --- a/src/wallet/api/wallet2_api.h +++ b/src/wallet/api/wallet2_api.h @@ -1087,6 +1087,12 @@ struct Wallet //! attempt to reconnect to hardware device virtual bool reconnectDevice() = 0; + + //! get bytes received + virtual uint64_t getBytesReceived() = 0; + + //! get bytes sent + virtual uint64_t getBytesSent() = 0; }; /** |