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

Sub-atoms #3261

Closed
6 tasks
faboweb opened this issue Jan 9, 2019 · 6 comments
Closed
6 tasks

Sub-atoms #3261

faboweb opened this issue Jan 9, 2019 · 6 comments

Comments

@faboweb
Copy link
Contributor

faboweb commented Jan 9, 2019

Summary

In the state machine on main-net 1 atom will be 10^18 sub-atoms. We need to change the default values to reflect that. We need to implement encoding and decoding of inputs and outputs to only show actual atoms to clients as they don't care about the state machine representation.

Concerning tickets:
#2483
#2321

To Do:

  • Change the default values to be in the size of x * 10^18
  • encode/decode atoms in all concerning CLI/REST actions

Problem Definition

Proposal


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@rigelrozanski
Copy link
Contributor

my understanding is that we are using either 10^8 or 10^9

@jackzampolin
Copy link
Member

Either? We need to make a decision on this prelaunch I would imagine...

@faboweb
Copy link
Contributor Author

faboweb commented Jan 9, 2019

Just pick one! ^^

@cwgoes
Copy link
Contributor

cwgoes commented Jan 10, 2019

@rigelrozanski Are there advantages of one over the other?

If there is no preference I would pick 10e8; that seems sufficient (and it's also what Bitcoin uses).

@rigelrozanski
Copy link
Contributor

rigelrozanski commented Jan 10, 2019

Yeah that was the original plan from conversations with jae a while ago - ALSO we can call the smallest unit quarks based on that quarks are ~ 10^-8 smaller than atoms (https://www.quora.com/What-size-are-the-particles-of-an-atom-in-relation-to-its-size)

@fedekunze
Copy link
Collaborator

outdated. Closing

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

No branches or pull requests

5 participants