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

more fiat conversions #1049

Merged
merged 1 commit into from
Feb 28, 2019
Merged

Conversation

buck54321
Copy link
Member

Adds fiat conversions to the homepage for ticket price, coin supply, miner block reward, treasury block reward, and treasury balance.

exchanges package gets Conversion type which has the TwoDecimal method for displaying its value, with a minimum of two decimal places and a minimum of three significant figures.

Values are updated live with websocket newblock updates.

@chappjc
Copy link
Member

chappjc commented Feb 28, 2019

Got a minor conflict now, @buck54321

Adds fiat conversions to the homepage in a number of places.

`exchanges` package gets `Conversion` type which has the
`TwoDecimal` method for displaying its value, with a minimum
of two decimal places and a minimum of three significant figures.

Values are updated live with websocket `newblock` updates.
@chappjc
Copy link
Member

chappjc commented Feb 28, 2019

Looks good.
image

@chappjc chappjc force-pushed the more-rate-conversions branch from 49664c5 to 4108d89 Compare February 28, 2019 21:57
@chappjc chappjc merged commit e79d60c into decred:master Feb 28, 2019
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