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

Full Head life cycle from TUI #72

Merged
merged 4 commits into from
Sep 1, 2021
Merged

Conversation

ch1bo
Copy link
Collaborator

@ch1bo ch1bo commented Aug 31, 2021

Still very basic in what it displays and it also only allows to commit an empty Utxo set.

I'd like to highlight the changes in 35eddc0 and welcome any feedback. In the logbook are some notes on what I though when implementing this.

This allows the client to give better feedback, but
complicates (simulated) chain implementation slightly.

Also includes necessary updates to tests and API spec.
@ch1bo
Copy link
Collaborator Author

ch1bo commented Aug 31, 2021

image
image

@ch1bo ch1bo requested review from KtorZ and abailly-iohk and removed request for KtorZ August 31, 2021 22:31
@github-actions
Copy link

github-actions bot commented Aug 31, 2021

Unit Test Results

    4 files  ±0    45 suites  ±0   1m 29s ⏱️ ±0s
130 tests ±0  127 ✔️ ±0  3 💤 ±0  0 ❌ ±0 

Results for commit 8103a9a. ± Comparison against base commit 8103a9a.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@abailly-iohk abailly-iohk left a comment

Choose a reason for hiding this comment

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

I understand the point of providing some feedback to the user, but given the fact the TUI is an artefact used for demo purpose, I would do this calculation in the client and keep the internals as it is, eg. use a DiffTime and not an absolute UTCTime. I am unsure what time really means in a Head and even more so in relationship with the main chain.
I think worthwhile to discuss this together IRL rather than through Github comments system.

@abailly-iohk abailly-iohk merged commit 8103a9a into master Sep 1, 2021
@abailly-iohk abailly-iohk deleted the ch1bo/tui-full-lifecycle branch September 1, 2021 08:57
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.

2 participants