Skip to content

The Block Clock - #220

Merged
hebasto merged 6 commits into
bitcoin-core:mainfrom
johnny9:the-block-clock
Jan 29, 2023
Merged

hebasto merged 6 commits into
bitcoin-core:mainfrom
johnny9:the-block-clock

Conversation

@johnny9

@johnny9 johnny9 commented Jan 19, 2023 •

Copy link
Copy Markdown
Collaborator

This is a continuation of #148. The goal of this PR is to get the working features from #148 merged in using a QQuickPainterItem implementation of the dial instead of the javascript canvas. Connection state as well as the animating icon will be implemented in a later PR. Refactoring and clean up from the removal of the Canvas code still remains.

Windows
Intel macOS
Apple Silicon macOS
ARM64 Android

- This method would allow to get the blocktime value of the block at
  the given height.
@johnny9
johnny9 marked this pull request as draft January 19, 2023 23:20
@johnny9
johnny9 force-pushed the the-block-clock branch 2 times, most recently from 90469cb to e9b5ddd Compare January 19, 2023 23:26
@johnny9

johnny9 commented Jan 19, 2023

Copy link
Copy Markdown
Collaborator Author

Update from 90469cb to e9b5dd:

  • Replace tabs with spaces

@johnny9

johnny9 commented Jan 19, 2023

Copy link
Copy Markdown
Collaborator Author

Update branch from e9b5ddd to 96e47f8:

  • Fix painting of last block. index 0 of timeRatioList is actually the current time.

@johnny9

johnny9 commented Jan 20, 2023

Copy link
Copy Markdown
Collaborator Author

Update from 96e47f8 to 63792bf:

  • Fix Makefile includes

@johnny9
johnny9 force-pushed the the-block-clock branch 2 times, most recently from 37b6257 to 8515fdf Compare January 20, 2023 02:17
@johnny9

johnny9 commented Jan 20, 2023

Copy link
Copy Markdown
Collaborator Author

Update branch from 37b6257 to 8515fdf:

  • Added comment for calculating the "gap" between painted blocks.

@johnny9
johnny9 marked this pull request as ready for review January 20, 2023 12:44
@johnny9
johnny9 force-pushed the the-block-clock branch 3 times, most recently from fa214b0 to 26d57ff Compare January 20, 2023 13:01
@johnny9

johnny9 commented Jan 20, 2023 •

Copy link
Copy Markdown
Collaborator Author

I noticed that these changes require the QtGraphicalEffects module (qml-module-graphicaleffects ubuntu package). I'll likely have to update the depends to include that module or change how the icon is forced into a specific color. Looking for an opinion one way or the other.

Comment thread src/qml/chainmodel.cpp Resolved

@jarolrod jarolrod left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

concept ack

@jarolrod jarolrod left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's squash some of the history to have a clean commit record, but also I'm seeing some slight misalignment with the design file.

Below, the more visible layer is the design file, and below that is this PR on signet (hence diff block heights). Looks like the block height, the words "Blocktime" and peers indicator should be a bit higher up. Also fine with leaving this fixup for a follow-up!

Screen Shot 2023-01-25 at 12 05 42 AM

@johnny9

johnny9 commented Jan 27, 2023

Copy link
Copy Markdown
Collaborator Author

Update branch from 8ecfae6 to 76a504e:

  • Squashed all BlockClock control commits into one

@johnny9

johnny9 commented Jan 28, 2023

Copy link
Copy Markdown
Collaborator Author

Update branch from 76a504e to 2e5a0d8:

  • Adjusted alignment of labels to better match the figma spec

Screenshot from 2023-01-28 10-37-08

@johnny9

johnny9 commented Jan 28, 2023

Copy link
Copy Markdown
Collaborator Author

Update. Remove a missed trailing whitespace

@johnny9

johnny9 commented Jan 28, 2023

Copy link
Copy Markdown
Collaborator Author

Update from 3fd696d to 33eb4af:

  • Fixed potential initialization error in ChainModel, possible root cause of an issue Jarol discovered with the dial not lining up with 12 o'clock.

johnny9 pushed a commit to johnny9/bitcoin-core-app that referenced this pull request Jul 4, 2025
4f9bfbc qml: introduce the BlockClock (johnny9)
e57e7ff qml: introduce ChainModel (johnny9)
e38c565 qml: add sync time related properties to NodeModel (johnny9)
9c45b09 qml: add additional properties in Header (johnny9)
fcee831 qml: add ability to pause NodeModel (johnny9)
1fce853acd1dd7089d67db58ba572b4fa7acf4f8 Add getBlockTime interface method in src/interfaces/chain.h (shaavan)

Pull request description:

  This is a continuation of #148. The goal of this PR is to get the working features from #148 merged in using a QQuickPainterItem implementation of the dial instead of the javascript canvas.  Connection state as well as the animating icon will be implemented in a later PR. Refactoring and clean up from the removal of the Canvas code still remains.

  [![Windows](https://img.shields.io/badge/OS-Windows-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/win64/insecure_win_gui.zip?branch=pull/220)
  [![Intel macOS](https://img.shields.io/badge/OS-Intel%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/insecure_mac_gui.zip?branch=pull/220)
  [![Apple Silicon macOS](https://img.shields.io/badge/OS-Apple%20Silicon%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos_arm64/insecure_mac_arm64_gui.zip?branch=pull/220)
  [![ARM64 Android](https://img.shields.io/badge/OS-Android-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/insecure_android_apk.zip?branch=pull/220)

ACKs for top commit:
  jarolrod:
    ACK 4f9bfbc

Tree-SHA512: 43b99d1fd69b67b285e91e05d3864c7044917cd6feae97b4c226f3a7b499ca24f6e786575dbc700461b1f6c58c0273746e4ea5834c554fa4dc916868199698df
johnny9 pushed a commit to johnny9/bitcoin-core-app that referenced this pull request Jul 4, 2025
b395d86 qml: move BlockClock confirmation colors into Theme.qml (jarolrod)
ca0a451 qml: capitalize the BlockClock component's state names (jarolrod)
1051c2e qml: set BlockClock mouseArea cursorShape to pointing cursor (jarolrod)

Pull request description:

  This implements the following review comments from bitcoin-core/gui-qml#220 (review)
  - Make cursor into pointing cursor when over the BlockClock to make the BlockClock look like it's clickable bitcoin-core/gui-qml#220 (comment)
  - Make BlockClock state names capital bitcoin-core/gui-qml#220 (comment)
  - Move out BlockClock confirmation colors into our Theme.qml bitcoin-core/gui-qml#220 (comment)

  [![Windows](https://img.shields.io/badge/OS-Windows-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/win64/insecure_win_gui.zip?branch=pull/250)
  [![Intel macOS](https://img.shields.io/badge/OS-Intel%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/insecure_mac_gui.zip?branch=pull/250)
  [![Apple Silicon macOS](https://img.shields.io/badge/OS-Apple%20Silicon%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos_arm64/insecure_mac_arm64_gui.zip?branch=pull/250)
  [![ARM64 Android](https://img.shields.io/badge/OS-Android-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/insecure_android_apk.zip?branch=pull/250)

ACKs for top commit:
  johnny9:
    ACK b395d86

Tree-SHA512: 7a7919a47f65872656a63fd7cac7cc94d95cfe60bf714d09295995296fd81b11c10e58ff4e7280c67bc74f6df7f3f1aa5c09975fa04e9c71d947fffc3df4b50b
tx-signer450 added a commit to tx-signer450/gui-qml that referenced this pull request Oct 20, 2025
4f9bfbc377c6babe89b76138009b86dc9e51e44f qml: introduce the BlockClock (johnny9)
e57e7ffb5f13ae826c5c80510ecc940eb4059fdb qml: introduce ChainModel (johnny9)
e38c56569f79741021a37415f8987a226ff23029 qml: add sync time related properties to NodeModel (johnny9)
9c45b09b7f186b02414b4854f334c6e726e1d2c0 qml: add additional properties in Header (johnny9)
fcee8319075e49cb1291756e3b99c8beefe7ee4c qml: add ability to pause NodeModel (johnny9)
1fce853acd1dd7089d67db58ba572b4fa7acf4f8 Add getBlockTime interface method in src/interfaces/chain.h (shaavan)

Pull request description:

  This is a continuation of #148. The goal of this PR is to get the working features from #148 merged in using a QQuickPainterItem implementation of the dial instead of the javascript canvas.  Connection state as well as the animating icon will be implemented in a later PR. Refactoring and clean up from the removal of the Canvas code still remains.

  [![Windows](https://img.shields.io/badge/OS-Windows-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/win64/insecure_win_gui.zip?branch=pull/220)
  [![Intel macOS](https://img.shields.io/badge/OS-Intel%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/insecure_mac_gui.zip?branch=pull/220)
  [![Apple Silicon macOS](https://img.shields.io/badge/OS-Apple%20Silicon%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos_arm64/insecure_mac_arm64_gui.zip?branch=pull/220)
  [![ARM64 Android](https://img.shields.io/badge/OS-Android-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/insecure_android_apk.zip?branch=pull/220)

ACKs for top commit:
  jarolrod:
    ACK 4f9bfbc377c6babe89b76138009b86dc9e51e44f

Tree-SHA512: 43b99d1fd69b67b285e91e05d3864c7044917cd6feae97b4c226f3a7b499ca24f6e786575dbc700461b1f6c58c0273746e4ea5834c554fa4dc916868199698df
tx-signer450 added a commit to tx-signer450/gui-qml that referenced this pull request Oct 20, 2025
b395d8619bae954e10702f6b87ec119b922278ad qml: move BlockClock confirmation colors into Theme.qml (jarolrod)
ca0a451a0cbacfbcc69f930587545852452131bf qml: capitalize the BlockClock component's state names (jarolrod)
1051c2e64710be353504922673cd29e0715dac53 qml: set BlockClock mouseArea cursorShape to pointing cursor (jarolrod)

Pull request description:

  This implements the following review comments from bitcoin-core/gui-qml#220 (review)
  - Make cursor into pointing cursor when over the BlockClock to make the BlockClock look like it's clickable bitcoin-core/gui-qml#220 (comment)
  - Make BlockClock state names capital bitcoin-core/gui-qml#220 (comment)
  - Move out BlockClock confirmation colors into our Theme.qml bitcoin-core/gui-qml#220 (comment)

  [![Windows](https://img.shields.io/badge/OS-Windows-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/win64/insecure_win_gui.zip?branch=pull/250)
  [![Intel macOS](https://img.shields.io/badge/OS-Intel%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/insecure_mac_gui.zip?branch=pull/250)
  [![Apple Silicon macOS](https://img.shields.io/badge/OS-Apple%20Silicon%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos_arm64/insecure_mac_arm64_gui.zip?branch=pull/250)
  [![ARM64 Android](https://img.shields.io/badge/OS-Android-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/insecure_android_apk.zip?branch=pull/250)

ACKs for top commit:
  johnny9:
    ACK b395d8619bae954e10702f6b87ec119b922278ad

Tree-SHA512: 7a7919a47f65872656a63fd7cac7cc94d95cfe60bf714d09295995296fd81b11c10e58ff4e7280c67bc74f6df7f3f1aa5c09975fa04e9c71d947fffc3df4b50b
hebasto pushed a commit to hebasto/gui-qml that referenced this pull request Jun 8, 2026
- This method would allow to get the blocktime value of the block at
  the given height.

Github-Pull: bitcoin-core#220
Rebased-From: 1fce853
hebasto pushed a commit to hebasto/gui-qml that referenced this pull request Jun 8, 2026
Github-Pull: bitcoin-core#220
Rebased-From: 094a2c4

Co-authored-by: shaavan <[email protected]>
hebasto pushed a commit to hebasto/gui-qml that referenced this pull request Jun 8, 2026
Additional properties to Header will allow configuring Header's
description color and bold values as well as Header's header-text
bold value.

Github-Pull: bitcoin-core#220
Rebased-From: 8db7f0f

Co-authored-by: shaavan <[email protected]>
hebasto pushed a commit to hebasto/gui-qml that referenced this pull request Jun 8, 2026
The properties will allow the gui to show an estimate for the
time remaining before the node is synced.

Github-Pull: bitcoin-core#220
Rebased-From: eb945ac

Co-authored-by: shaavan <[email protected]>
hebasto pushed a commit to hebasto/gui-qml that referenced this pull request Jun 8, 2026
The ChainModel is responsible for managing the block information
that the gui components need to show. In this case, the ChainModel
will provide a list of ratios for the block times of the last 12 hours
to be rendered on the block clock's dial.

Github-Pull: bitcoin-core#220
Rebased-From: 60bd8cb

Co-authored-by: shaavan <[email protected]>
hebasto pushed a commit to hebasto/gui-qml that referenced this pull request Jun 8, 2026
Implements a few of the BlockClock dial states. Sync progress while
downloading, rendering blocks after sync, and pausing/unpausing the
node. An additional Model is added, ChainModel, to provide the dial
block information. Changes to NodeModel are also made to support the
pausing/unpausing Dial feature.

Github-Pull: bitcoin-core#220
Rebased-From: 6701ad2

Co-authored-by: shaavan <[email protected]>
@hebasto hebasto mentioned this pull request Jun 8, 2026
johnny9 added a commit to johnny9/gui-qml that referenced this pull request Jun 14, 2026
johnny9 added a commit to johnny9/gui-qml that referenced this pull request Jun 14, 2026
Additional properties to Header will allow configuring Header's
description color and bold values as well as Header's header-text
bold value.

Rebased-From: 8db7f0f
Github-Pull: bitcoin-core#220
johnny9 added a commit to johnny9/gui-qml that referenced this pull request Jun 14, 2026
The properties will allow the gui to show an estimate for the
time remaining before the node is synced.

Rebased-From: eb945ac
Github-Pull: bitcoin-core#220
johnny9 added a commit to johnny9/gui-qml that referenced this pull request Jun 14, 2026
The ChainModel is responsible for managing the block information
that the gui components need to show. In this case, the ChainModel
will provide a list of ratios for the block times of the last 12 hours
to be rendered on the block clock's dial.

Rebased-From: 60bd8cb
Github-Pull: bitcoin-core#220
johnny9 added a commit to johnny9/gui-qml that referenced this pull request Jun 14, 2026
Implements a few of the BlockClock dial states. Sync progress while
downloading, rendering blocks after sync, and pausing/unpausing the
node. An additional Model is added, ChainModel, to provide the dial
block information. Changes to NodeModel are also made to support the
pausing/unpausing Dial feature.

Rebased-From: 6701ad2
Github-Pull: bitcoin-core#220
johnny9 pushed a commit to johnny9/gui-qml that referenced this pull request Jun 14, 2026
4f9bfbc qml: introduce the BlockClock (johnny9)
e57e7ff qml: introduce ChainModel (johnny9)
e38c565 qml: add sync time related properties to NodeModel (johnny9)
9c45b09 qml: add additional properties in Header (johnny9)
fcee831 qml: add ability to pause NodeModel (johnny9)
1fce853 Add getBlockTime interface method in src/interfaces/chain.h (shaavan)

Pull request description:

  This is a continuation of bitcoin-core#148. The goal of this PR is to get the working features from bitcoin-core#148 merged in using a QQuickPainterItem implementation of the dial instead of the javascript canvas.  Connection state as well as the animating icon will be implemented in a later PR. Refactoring and clean up from the removal of the Canvas code still remains.

  [![Windows](https://img.shields.io/badge/OS-Windows-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/win64/insecure_win_gui.zip?branch=pull/220)
  [![Intel macOS](https://img.shields.io/badge/OS-Intel%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/insecure_mac_gui.zip?branch=pull/220)
  [![Apple Silicon macOS](https://img.shields.io/badge/OS-Apple%20Silicon%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos_arm64/insecure_mac_arm64_gui.zip?branch=pull/220)
  [![ARM64 Android](https://img.shields.io/badge/OS-Android-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/insecure_android_apk.zip?branch=pull/220)

ACKs for top commit:
  jarolrod:
    ACK 4f9bfbc

Rebased-From: a56361d
Github-Pull: bitcoin-core#220
johnny9 pushed a commit to johnny9/gui-qml that referenced this pull request Jun 14, 2026
b395d86 qml: move BlockClock confirmation colors into Theme.qml (jarolrod)
ca0a451 qml: capitalize the BlockClock component's state names (jarolrod)
1051c2e qml: set BlockClock mouseArea cursorShape to pointing cursor (jarolrod)

Pull request description:

  This implements the following review comments from bitcoin-core#220 (review)
  - Make cursor into pointing cursor when over the BlockClock to make the BlockClock look like it's clickable bitcoin-core#220 (comment)
  - Make BlockClock state names capital bitcoin-core#220 (comment)
  - Move out BlockClock confirmation colors into our Theme.qml bitcoin-core#220 (comment)

  [![Windows](https://img.shields.io/badge/OS-Windows-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/win64/insecure_win_gui.zip?branch=pull/250)
  [![Intel macOS](https://img.shields.io/badge/OS-Intel%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/insecure_mac_gui.zip?branch=pull/250)
  [![Apple Silicon macOS](https://img.shields.io/badge/OS-Apple%20Silicon%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos_arm64/insecure_mac_arm64_gui.zip?branch=pull/250)
  [![ARM64 Android](https://img.shields.io/badge/OS-Android-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/insecure_android_apk.zip?branch=pull/250)

ACKs for top commit:
  johnny9:
    ACK b395d86

Rebased-From: 5161711
Github-Pull: bitcoin-core#250
johnny9 added a commit to johnny9/bitcoin that referenced this pull request Jul 30, 2026
johnny9 added a commit to johnny9/bitcoin that referenced this pull request Jul 30, 2026
Additional properties to Header will allow configuring Header's
description color and bold values as well as Header's header-text
bold value.

Rebased-From: 8db7f0f
Github-Pull: bitcoin-core/gui-qml#220
johnny9 added a commit to johnny9/bitcoin that referenced this pull request Jul 30, 2026
The properties will allow the gui to show an estimate for the
time remaining before the node is synced.

Rebased-From: eb945ac
Github-Pull: bitcoin-core/gui-qml#220
johnny9 added a commit to johnny9/bitcoin that referenced this pull request Jul 30, 2026
The ChainModel is responsible for managing the block information
that the gui components need to show. In this case, the ChainModel
will provide a list of ratios for the block times of the last 12 hours
to be rendered on the block clock's dial.

Rebased-From: 60bd8cb
Github-Pull: bitcoin-core/gui-qml#220
johnny9 added a commit to johnny9/bitcoin that referenced this pull request Jul 30, 2026
Implements a few of the BlockClock dial states. Sync progress while
downloading, rendering blocks after sync, and pausing/unpausing the
node. An additional Model is added, ChainModel, to provide the dial
block information. Changes to NodeModel are also made to support the
pausing/unpausing Dial feature.

Rebased-From: 6701ad2
Github-Pull: bitcoin-core/gui-qml#220
johnny9 added a commit to johnny9/bitcoin that referenced this pull request Aug 1, 2026
johnny9 added a commit to johnny9/bitcoin that referenced this pull request Aug 1, 2026
Additional properties to Header will allow configuring Header's
description color and bold values as well as Header's header-text
bold value.

Rebased-From: 8db7f0f
Github-Pull: bitcoin-core/gui-qml#220
johnny9 added a commit to johnny9/bitcoin that referenced this pull request Aug 1, 2026
The properties will allow the gui to show an estimate for the
time remaining before the node is synced.

Rebased-From: eb945ac
Github-Pull: bitcoin-core/gui-qml#220
johnny9 added a commit to johnny9/bitcoin that referenced this pull request Aug 1, 2026
The ChainModel is responsible for managing the block information
that the gui components need to show. In this case, the ChainModel
will provide a list of ratios for the block times of the last 12 hours
to be rendered on the block clock's dial.

Rebased-From: 60bd8cb
Github-Pull: bitcoin-core/gui-qml#220
johnny9 added a commit to johnny9/bitcoin that referenced this pull request Aug 1, 2026
Implements a few of the BlockClock dial states. Sync progress while
downloading, rendering blocks after sync, and pausing/unpausing the
node. An additional Model is added, ChainModel, to provide the dial
block information. Changes to NodeModel are also made to support the
pausing/unpausing Dial feature.

Rebased-From: 6701ad2
Github-Pull: bitcoin-core/gui-qml#220
johnny9 added a commit to johnny9/bitcoin that referenced this pull request Aug 3, 2026
johnny9 added a commit to johnny9/bitcoin that referenced this pull request Aug 3, 2026
Additional properties to Header will allow configuring Header's
description color and bold values as well as Header's header-text
bold value.

Co-authored-by: shaavan <[email protected]>
Rebased-From: 8db7f0f
Github-Pull: bitcoin-core/gui-qml#220
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants