Please make GUI responsive while syncing with network, especially to stop sync #22535

issue gaga9999 opened this issue on July 23, 2021
  1. gaga9999 commented at 7:48 AM on July 23, 2021: none

    It is not possible to enter a transaction while the gui is syncing, because its lagging. sometimes it is important to enter a transaction and go away and the transaction will only be fullfilled after the blockchain sync is finished. for that there needs to be a responsive button to on/off the sync. i know the network symbol is there, but it does work that laggy..thanks as a workaround i tried -connect=127.0.0.1

    a simple fix would be a -startwithnosync option

    same for "processing blocks on disk". everything is stuck.

  2. gaga9999 added the label Feature on Jul 23, 2021
  3. hebasto commented at 7:50 AM on July 23, 2021: member

    @gaga9999 It would be nice to move this issue into the GUI repo: https://github.com/bitcoin-core/gui/issues

  4. gaga9999 commented at 7:51 AM on July 23, 2021: none

    I think thats a core feature request : give more regular cpu time to gui

  5. ghost commented at 9:03 AM on July 23, 2021: none

    I think thats a core feature request : give more regular cpu time to gui

    Not sure how qt works but in .NET this is fixed by multithreading

    Maybe it is something related to multithreading in Bitcoin Core as well.

  6. ghost commented at 10:27 AM on July 23, 2021: none

    There is one more thing which can make sync less boring once responsiveness issue is fixed. Share important pull requests from past that improved something in Bitcoin Core.

    Example: We can share PR 14618 while blocks from October 2018 are syncing.

    image

  7. practicalswift commented at 8:50 PM on July 24, 2021: contributor

    @prayank23 As developers we might find information about historical issues interesting as technical learning opportunities, but I'm afraid our end-users would find the suggested information box boring/irrelevant at best and confusing/alarming at worst :)

  8. ghost commented at 9:26 PM on July 24, 2021: none

    our end-users would find the suggested information box boring/irrelevant at best and confusing/alarming at worst

    Agree. Everyone may not find this information interesting. Maybe an option in bitcoin.conf can work. So if user is interested to try this feature can use debug=prhistory

  9. fanquake commented at 2:28 AM on July 26, 2021: member

    As suggested this belongs in the GUI repo. I'm certain we've got a generic "improve performance of the GUI" issue open there, but cannot find it now.

    There is one more thing which can make sync less boring once responsiveness issue is fixed. Share important pull requests from past that improved something in Bitcoin Core.

    This isn't something we are going to do.

  10. fanquake closed this on Jul 26, 2021

  11. ghost commented at 6:31 AM on July 26, 2021: none

    This isn't something we are going to do.

    No problem. Code is open source and users can try different things if they are okay with it. I am going to add such feature in one of my project so suggested it here.

    Here's the basic code one can use to try this in Bitcoin Core by adding in src/qt/modaloverlay.cpp:

        QString year = QLocale{QLocale::English}.toString(blockDate, "yyyy");
        
        switch (year.toInt())
        {
        
        case 2009:
            break;
        case 2010:
            break;
        case 2011:
            break;
        case 2012:
            break;
        case 2013:
            break;
        case 2014:
            break;
        case 2015:
            break;
        case 2016:
            break;
        case 2017:
            break;
        case 2018:
            break;
        case 2019:
            break;
        case 2020:
            break;
        case 2021: ui->infoText->setText(tr("PR #### (author)"));
                   ui->infoTextStrong->setText(tr("Short Description"));
            break;
        }
    
  12. DrahtBot locked this on Aug 18, 2022

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-26 06:14 UTC

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