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

blockchain: API for initial block with utxo set #263

Closed
oleganza opened this issue Mar 29, 2019 · 0 comments · Fixed by #271
Closed

blockchain: API for initial block with utxo set #263

oleganza opened this issue Mar 29, 2019 · 0 comments · Fixed by #271

Comments

@oleganza
Copy link
Contributor

Update the spec and the implementation with API to make an initial block with arbitrary UTXO set (array of Output objects). See also #249 and #262.

This can be used together with (or instead of) the #249's proposal to mint 0-flavor nonce-values per block. Or that proposal may never be needed.

oleganza added a commit that referenced this issue Apr 15, 2019
This removes nonces from the design. This dramatically simplifies blockchain state and validation rules: every tx must spend an input to be unique. Initial anchoring can be provided in a number of ways: pegged assets from a parent chain, and/or minted synthetic nonce-units at each block, etc. See #230 and #249 for details. To bootstrap anchoring, the initial block can start with an initial UTXO set (this API is necessary to have until we have minteable nonce-units (if at all), and even then it may be useful in its own right).

UTXO set commitment is changed to a normal merkle tree (instead of radix/patricia trie), in order to support utreexo (see #258). The state machine spec is still assuming presence of the entire set, this will be updated later.

Closes #262.
Closes #263.
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 a pull request may close this issue.

1 participant