-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Fungible operation history #126
Conversation
Really good @dr-orlovsky, When I implemented a similar history feature in the bitmask wallet, I encountered a scenario where we needed hidden "invalid allocations" in stash history. This scenario occurs because we have implemented RBF, when the sender generate new bitcoin transaction using RBF, the previous transitions in RGB stash turns invalid. Did you test this scenario? It would be interesting to have this option to hide "invalid allocations" by default. |
This works/is blocked by using appropriate witness filter. You can even work with block reorgs and lightning channel history by using them. I will expose witness filter customization to outside of Runtime |
fix blank_builder to avoid AssetTagMissed error
Prerequisites for RGB-WG/rgb#92. Include:
AmountChange
: a case of state change type which tracks the change in the balance as an effect of past fungible transfersContractIface::fungible_ops
command reconstructing history of operations affecting some fungible state (with changes expressed as AmountChange)Rgb20::transfer_history
wrapper which simplifies the call for RGB20-interfaces contracts