This repository has been archived by the owner on Dec 9, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 41
RGB: Fungible assets update: burn, replacement, renomination #19
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dr-orlovsky
added
the
enhancement
Improvement to existing functionality or refactoring
label
Jul 12, 2020
dr-orlovsky
commented
Sep 14, 2020
metadata: type_map! { | ||
FieldType::IssuedSupply => Occurences::Once, | ||
FieldType::PruneProof => Occurences::NoneOrUpTo(None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PruneProof -> HistoryProof
dr-orlovsky
commented
Sep 14, 2020
metadata: type_map! { | ||
FieldType::IssuedSupply => Occurences::Once, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add fields:
BurnedUTXOs
: UTXO
ProofFormat
: enum()
8 tasks
8 tasks
dr-orlovsky
force-pushed
the
feat/epochs
branch
from
October 10, 2020 12:43
f55e132
to
ce9b2e4
Compare
This was
linked to
issues
Oct 10, 2020
8 tasks
dr-orlovsky
added
*security*
Security-related issues
feature
New functionality
and removed
enhancement
Improvement to existing functionality or refactoring
labels
Oct 10, 2020
dr-orlovsky
changed the title
RGB: Fungible assets reissue/replacement schema
RGB: Fungible assets update: burn, replacement, renomination
Oct 10, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposal to LNP-BP/LNPBPs#38
Burn & reissue procedure named "replacement" and organized as a linear sequence within a linear sequence of epochs. Each epoch can replace maximum 100% of its original issue/supply (created at genesis or with a secondary issue ancestor).
Each issue (primary in genesis and secondary with
issue
state transition type) defines up to a singleepoch
seal.When the seal is closed, a
Epoch
state transition must be created, whichepoch
seal (otherwise it will mean that no further replacement epochs are allowed), andreplacement
seal.Replacement seals are closed with
Replacement
state transition type, whichreplacement
seal.Replacement state has a special validation procedure, which fails if the sum of all replacements within the epoch exceeds the original issued amount.
Upd: Use replacement workflow for asset recovery: LNP-BP/LNPBPs#50