-
Notifications
You must be signed in to change notification settings - Fork 5
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
20241007 potato go on chain #44
Draft
prozacchiwawa
wants to merge
35
commits into
main
Choose a base branch
from
20241007-potato-go-on-chain
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 12 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
3585869
Starting to add go on chain to potato handler
prozacchiwawa be745e4
WIP
prozacchiwawa f8bad49
Completed the loop logically but not spendable yet
prozacchiwawa 668cafc
Organic move on chain is spending the channel coin and we need to pus…
prozacchiwawa c3579b9
We're spending the unroll coin i think at the right state along with …
prozacchiwawa 851ef70
WIP: routed in puzzle and solution for requested coins
prozacchiwawa 3aadb66
WIP: we're now starting to engage with spent handlers in channel handler
prozacchiwawa aa36e29
Merge remote-tracking branch 'upstream/main' into 20241007-potato-go-…
prozacchiwawa 36fe1f1
Merge remote-tracking branch 'upstream/main' into 20241007-potato-go-…
prozacchiwawa 42b305c
fmt + clippy
prozacchiwawa aadbd68
clippy
prozacchiwawa b7cd791
Merge up
prozacchiwawa 77e1ee6
Change comment language
prozacchiwawa be2444f
Small wip
prozacchiwawa 5442af6
Up to spend, wrong puzzle provided (WIP)
prozacchiwawa 32d43fe
More parameterization which gives us the freedom to match things
prozacchiwawa 9ba499e
Ensure that we can give a correct spend of the channel coin downstrea…
prozacchiwawa 08cda55
Add decision about whether we add our half of the signature or whethe…
prozacchiwawa 54e7d53
Add an unroll time lock into channel handler. This is needed to prev…
prozacchiwawa 565ccdb
Rename get_unroll_coin_transaction to get_create_unroll_coin_transact…
prozacchiwawa 4844ccc
Timeout
prozacchiwawa 873fc26
Converting to a better rendition of the state machine given a new und…
prozacchiwawa 1832cb8
Small cleanup: deduplicate some code
prozacchiwawa 2f22c49
Fix up some flow, fallout of deduplication. Primed for the next roun…
prozacchiwawa 5144436
Fix up timeout reporting and filtering in full coinset reports in pee…
prozacchiwawa 4bb00eb
We can spend the unroll coin after the timeout (from the first user's…
prozacchiwawa d713df5
both players complete on chain transition. We need to populate finis…
prozacchiwawa 328159f
Passing test
prozacchiwawa e8f4fc8
fmt
prozacchiwawa 5a8309d
Fix most of the clippy traffic.
prozacchiwawa 8bc013d
Ensure we can find the clone method. Figure out something better
prozacchiwawa 7ce16b8
Deref
prozacchiwawa 4880720
fmt + clippy
prozacchiwawa a0db32e
clippy update
prozacchiwawa ab2cf99
fmt
prozacchiwawa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
I would use the word "Copy" instead of "back up". "Back up is a little ambiguous - before I read further, I thought you meant "go to a previous state", but now I see you mean "grab a copy".
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.
But it's literally about, if necessary, returning to an earlier state. I would say 'backup' if what i meant was storing the state.
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.
Maybe 'regress' is better.
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.
also note this part of the code is badly in flux. i have no idea if this particular thing will survive. i'm experimenting with ideas around being able to figure out what i'm looking at as much as actually writing code that does the thing, although hopefully I'll be able to solidify that idea relatively soon.