Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block Chain shows Greater Bandwidth than the CLI Query #83

Open
HammontreeArt opened this issue Nov 23, 2021 · 5 comments
Open

Block Chain shows Greater Bandwidth than the CLI Query #83

HammontreeArt opened this issue Nov 23, 2021 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@HammontreeArt
Copy link

HammontreeArt commented Nov 23, 2021

Describe the bug
The CLI Quotas query shows 834.03 MB for Subscription 1185
sentinelcli query quotas --home "${HOME}/.sentinelcli" --node https://rpc.sentinel.co:443 --page 1 1185
image

However, when I add up all the transactions on the blockchain (mintscan.io) the total bandwidth is 2.4 GB

To Reproduce
#1. Run the Quotas query.
sentinelcli query quotas --home "${HOME}/.sentinelcli" --node https://rpc.sentinel.co:443 --page 1 1185

#2. Manually add up all of the mintscan transactions
https://www.mintscan.io/sentinel/txs/8B4D3475177442AEA5E8DF461B28ED170948B13ABD2604D6212F910882C36758
https://www.mintscan.io/sentinel/txs/2A115B63779F3C1E086A92C3768FBA5D312238302A4C5BA889D0AE4172116CA1
https://www.mintscan.io/sentinel/txs/E2F0EA32B21C77C648F26DCD6754DB9DA4675C55B3962ECA7D0CF111A49D6A58
https://www.mintscan.io/sentinel/txs/5C3743E130D09F9BF4647E3D75B5DB52CC08DE185906C94E9E3EA2852B3C67AD
https://www.mintscan.io/sentinel/txs/ADBDB9FD8913D4B97DAF1E8F7449A1472A26A278A89FDE5138E4BC9517498EF7
https://www.mintscan.io/sentinel/txs/4459E13A8E24F17C2B6ED9E87F4D2CC516414300AFFE5977CFE7936C86089D98
https://www.mintscan.io/sentinel/txs/716F48A79D1D74A9EFE30219F1A496971FA1B020873BC0B87117AEB031D538BC
https://www.mintscan.io/sentinel/txs/CC3B80B82E4A3ACEBF1E858CE5F3CCFF82CBF5B01FBBF5314D67D9D5B804D840

<style> </style>
DURATION UPLOAD DOWNLOAD
4674.66 11,943,512.00 451,006,680.00
5081.66 10,841,404.00 220,033,476.00
726.91 176,728.00 468,476.00
9521.66 19,443,932.00 404,496,608.00
3790.24 7,084,284.00 223,369,492.00
3371.90 5,516,852.00 134,464,284.00
1005.60 5,797,380.00 49,664,716.00
5565.60 19,389,576.00 273,500,584.00
2259.53 2,975,216.00 147,192,608.00
9099.53 4,863,632.00 210,399,760.00
3277.31 3,656,652.00 150,334,740.00
3117.06 3,101,000.00 178,358,488.00
51491.68 94,790,168.00 2,443,289,912.00
14.30324539 94 MB 2.4 GB

Expected behavior
I expected that the sum of the blockchain transactions would match the CLI Quota query results.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Ubuntu
  • Version 20.04 LTS

Additional context
As of this post the NODE is 22 hours old.
LOG Attached
20211123_NODE_l23x57_LOG.txt

@HammontreeArt HammontreeArt added the bug Something isn't working label Nov 23, 2021
@HammontreeArt
Copy link
Author

HammontreeArt commented Nov 24, 2021

I can see that the bandwidth is split between two subscriptions on my two test devices.

root@localhost:~# sentinelcli query quotas --home "${HOME}/.sentinelcli" --node https://rpc.sentinel.co:443 --page 1 1186
| ADDRESS | ALLOCATED | CONSUMED |
| sent15jmjy4gjzm0druen2ejnwe5rcpwta9w26x5sx3 | 3.00GB | 932.09MB |

root@localhost:~# sentinelcli query quotas --home "${HOME}/.sentinelcli" --node https://rpc.sentinel.co:443 --page 1 1185
| ADDRESS | ALLOCATED | CONSUMED |
| sent1fnfcpt06yvc88fjnqcvx9rfjczr365hqgleqcj | 3.00GB | 834.03MB |

932.09 MB + 834.03 MB = 1,766.12 MB

@HammontreeArt
Copy link
Author

Test Device #1

Samsung Galaxy Phone
One UI Version 3.1
Android Version 11
Google Play System Update Aug 1st 2021
Kernel Version: 4.19.125-22171684
Build Number: RP1A.200720.012.A716U1UEU5DUG2
SE for Android Status: Enforcing SEPF_SM-A716U1_11_0010 (Wed July 28th 11:36:55 2021)
Knox Version: 3.7 API Level 33 TIMA 4.1.0
Service Provider: Google Fi SAOMC_SM-A716U1_OYM_XAA_RR_0012 (XAA/XAA/XAA)
Android Security Patch: Aug 1st, 2021

Test Device #2 -

Tablet: ONA19TB003
Android Version: 9
Build Number: ONA19TB003_20210317

@HammontreeArt
Copy link
Author

HammontreeArt commented Nov 24, 2021

2021-11-24T02:48:33Z INF Validating the saved sessions count=5
2021-11-24T02:48:33Z INF Querying session id=5126
2021-11-24T02:48:35Z INF Querying subscription id=1186
2021-11-24T02:48:35Z INF Querying session id=5124
2021-11-24T02:48:35Z INF Querying subscription id=1185
2021-11-24T02:48:36Z INF Querying session id=5121
2021-11-24T02:48:36Z INF Querying subscription id=1186
2021-11-24T02:48:36Z INF Invalid session status key=pFR0hw.......V89J1Y= session=5121 status=2
2021-11-24T02:48:36Z INF Removing the peer from service key=pFR0hw.........EV89J1Y=
2021-11-24T02:48:36Z INF Querying session id=5103
2021-11-24T02:48:36Z INF Querying subscription id=1186
2021-11-24T02:48:36Z INF Stale peer connection created_at=2021-11-23T20:10:36Z key=TqDzX.......ySbhegk= session=5103 status_at=2021-11-24T02:18:41Z
2021-11-24T02:48:36Z INF Invalid session status key=TqDzX.......ySbhegk= session=5103 status=3
2021-11-24T02:48:36Z INF Removing the peer from service key=TqDzX7.......w2xfXySbhegk=
2021-11-24T02:48:36Z INF Querying session id=5102
2021-11-24T02:48:37Z INF Querying subscription id=1185
2021-11-24T02:48:37Z INF Stale peer connection created_at=2021-11-23T20:07:56Z key=ukyxZme.......mLXSES0= session=5102 status_at=2021-11-24T00:58:36Z
2021-11-24T02:48:37Z INF Invalid session status key=ukyxZm.......GmLXSES0= session=5102 status=2
2021-11-24T02:48:37Z INF Removing the peer from service key=ukyxZme.......GmLXSES0=
2021-11-24T02:48:37Z INF Updating sessions...
2021-11-24T02:48:37Z INF Preparing the transaction messages=3
2021-11-24T02:48:37Z INF Querying account address=sent1zex20cg8qzkydqntt8p6swehm23hugh5fusm3g
2021-11-24T02:48:37Z INF Transaction info gas=97183 sequence=40
2021-11-24T02:48:37Z INF Broadcasting the transaction size=561
2021-11-24T02:48:42Z INF Transaction result code=0 codespace= height=3410828 tx_hash=B3B283808BC97F2698506E944FD4FFB6910AE65A6AFD1F97AFA904C7CA9908C9
2021-11-24T02:50:33Z INF Validating the usage of connected peers count=2

@bsrinivas8687
Copy link
Contributor

Hi @HammontreeArt

Please check the sessions information using sentinelcli software

@HammontreeArt
Copy link
Author

HammontreeArt commented Nov 24, 2021

I did, that's why I submitted the ticket. The sentinelcli software doesn't match the blockchain.

Should it?
Should I ignore the blockchain and only accept what the sentinelcli software says?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants