network traffic chart is inaccurate when unlocking screen #13524

issue dooglus opened this issue on June 22, 2018
  1. dooglus commented at 11:59 PM on June 22, 2018: contributor

    I left my laptop locked all day running a full node. The debug.log shows that it has been downloading blocks as they were generated, as expected:

    $ tail -n 100 debug.log | grep height | tail
    2018-06-22 22:24:38 UpdateTip: new best=000000000000000000332c012e69a47ae11ab1b81ccd00ee7109c61183d86fb6 height=528752 version=0x20000000 log2_work=89.090804 tx=323929541 date='2018-06-22 22:24:11' progress=1.000000 cache=76.5MiB(491204txo) warning='3 of last 100 blocks have unexpected version'
    2018-06-22 22:30:35 UpdateTip: new best=000000000000000000113aa45efff543fedd4214199086f176db8fca81776502 height=528753 version=0x20000000 log2_work=89.090851 tx=323931292 date='2018-06-22 22:30:22' progress=1.000000 cache=76.6MiB(492670txo) warning='3 of last 100 blocks have unexpected version'
    2018-06-22 22:35:24 UpdateTip: new best=00000000000000000003fe7e55002c64577d730b1425dc0183cbb378fee9fd2f height=528754 version=0x20000000 log2_work=89.090899 tx=323931923 date='2018-06-22 22:35:09' progress=1.000000 cache=76.8MiB(493660txo) warning='3 of last 100 blocks have unexpected version'
    2018-06-22 22:43:04 UpdateTip: new best=000000000000000000312244bcc6f9a2af97ca47c54814731cb5ded1df14f718 height=528755 version=0x20000000 log2_work=89.090947 tx=323932830 date='2018-06-22 22:42:59' progress=1.000000 cache=76.9MiB(494903txo) warning='3 of last 100 blocks have unexpected version'
    2018-06-22 22:45:14 UpdateTip: new best=000000000000000000363de9c5b9035da6df8a35e1699f4917954257be19e04a height=528756 version=0x20000000 log2_work=89.090994 tx=323933107 date='2018-06-22 22:45:01' progress=1.000000 cache=77.0MiB(495270txo) warning='3 of last 100 blocks have unexpected version'
    2018-06-22 22:48:14 UpdateTip: new best=00000000000000000007956bc85a320909aa041c53147e9d90bb96244d43bb75 height=528757 version=0x20000000 log2_work=89.091042 tx=323933493 date='2018-06-22 22:47:58' progress=1.000000 cache=77.0MiB(495639txo) warning='3 of last 100 blocks have unexpected version'
    2018-06-22 23:29:55 UpdateTip: new best=0000000000000000000ae400d294917525f631719fd05e6bbf7911467a5c6f6f height=528758 version=0x20000000 log2_work=89.09109 tx=323936162 date='2018-06-22 23:29:42' progress=1.000000 cache=77.7MiB(501028txo) warning='3 of last 100 blocks have unexpected version'
    2018-06-22 23:39:47 UpdateTip: new best=0000000000000000001ad42d14d5daf59f191cfb570356b116c5943347ed70c3 height=528759 version=0x20000000 log2_work=89.091138 tx=323938463 date='2018-06-22 23:39:41' progress=1.000000 cache=78.6MiB(508481txo) warning='3 of last 100 blocks have unexpected version'
    2018-06-22 23:45:18 UpdateTip: new best=00000000000000000026fad7e5d4b8e127d5d046b103e8c87e227681a2349f02 height=528760 version=0x20000000 log2_work=89.091185 tx=323939672 date='2018-06-22 23:44:49' progress=1.000000 cache=78.8MiB(509986txo) warning='3 of last 100 blocks have unexpected version'
    2018-06-22 23:51:14 UpdateTip: new best=00000000000000000023262bafaeaf51dfbec815f0cb6c202471606f04d69846 height=528761 version=0x20000000 log2_work=89.091233 tx=323940436 date='2018-06-22 23:50:53' progress=1.000000 cache=78.9MiB(510848txo) warning='3 of last 100 blocks have unexpected version'
    $ TZ=UTC date
    Fri Jun 22 23:55:10 UTC 2018
    $ 

    When I got home, I unlocked the screen and saw a spike on the debug window's network traffic chart. I never get more than 110 kB/s on my network connection. There's no way I got 20000 kB/s like the chart shows:

    screenshot_2018-06-22_16-53-07

    I suspect the interface isn't updating when the screen is locked, and when I unlock it it is for some reason treating all the network traffic since the interface was last updated as having arrived in the last second.

    Edit: this is bitcoin-qt built from the v0.16.1 tag, running on Linux in the xfce4 desktop environment.

  2. fanquake added the label GUI on Jun 23, 2018
  3. MarcoFalke commented at 1:51 AM on April 26, 2020: member

    Is this still an issue with a recent version of Bitcoin Core?

    The feature request didn't seem to attract much attention in the past. Also, the issue seems not important enough right now to keep it sitting around idle in the list of open issues.

    Closing due to lack of interest. Pull requests with improvements are always welcome.

  4. MarcoFalke closed this on Apr 26, 2020

  5. dooglus commented at 11:29 PM on April 27, 2020: contributor

    I don't think it has been an issue for quite a while now. I don't know whether Bitcoin Core fixed it, or whether some change in the screensaver I was using fixed it, but either way the network traffic charts look good to me now. Laptop has been locked for most of the last 12 hours, but the chart shows it has been steadily uploading blocks to an old machine on the LAN:

    Screenshot_2020-04-27_16-28-15

  6. DrahtBot locked this on Feb 15, 2022
Contributors
Labels

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-16 00:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me