-
Notifications
You must be signed in to change notification settings - Fork 935
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
Replace custody challenge game with JABS #812
Merged
Merged
Commits on Mar 19, 2019
-
Replace custody challenge game with JABS
Replace the existing proof of custody game with a new game ("Justin's Awesome Bit Sum" or JABS) that works as follows: * The data `D` is split up into 512-byte chunks `D[0] .... D[n-1]`, and use a mix function `mix(subkey, data) -> {0,1}` (currently the first bit of the hash of `subkey+data`). We calculate `M[i] = (mix(D[0]) + ... + mix(D[i-1])) % 2`, and set the custody bit to `M[n-1]` * Anyone can challenge by providing the full `M` where `M[n-1]` is not equal to the custody bit * Anyone can respond to a challenge by providing a specific position in `M` along with a branch of the data where `M[i-1] ^ mix(D[i]) != M[i]` The maximum size of data is now `2**6` epochs * `2**6` blocks * `2**14` bytes = `2**26` bytes, so assuming 512-byte mix chunks the maximum mix size is `2**17` bits or `2**14` bytes. The average mix size is `2**8` bytes.
Configuration menu - View commit details
-
Copy full SHA for a8d39a5 - Browse repository at this point
Copy the full SHA a8d39a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 538bdbd - Browse repository at this point
Copy the full SHA 538bdbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 22cb4db - Browse repository at this point
Copy the full SHA 22cb4dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d786abf - Browse repository at this point
Copy the full SHA d786abfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea45c9c - Browse repository at this point
Copy the full SHA ea45c9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 745e64c - Browse repository at this point
Copy the full SHA 745e64cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a6beb0 - Browse repository at this point
Copy the full SHA 3a6beb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd6e4fe - Browse repository at this point
Copy the full SHA fd6e4feView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad6ec99 - Browse repository at this point
Copy the full SHA ad6ec99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4215c3c - Browse repository at this point
Copy the full SHA 4215c3cView commit details
Commits on Mar 20, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 5a00b39 - Browse repository at this point
Copy the full SHA 5a00b39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b845b0 - Browse repository at this point
Copy the full SHA 5b845b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21c0120 - Browse repository at this point
Copy the full SHA 21c0120View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b6a355 - Browse repository at this point
Copy the full SHA 6b6a355View commit details -
Configuration menu - View commit details
-
Copy full SHA for 026ee7e - Browse repository at this point
Copy the full SHA 026ee7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c43322 - Browse repository at this point
Copy the full SHA 6c43322View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26a4ab9 - Browse repository at this point
Copy the full SHA 26a4ab9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1107e7f - Browse repository at this point
Copy the full SHA 1107e7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f36d87 - Browse repository at this point
Copy the full SHA 9f36d87View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1bf5f7 - Browse repository at this point
Copy the full SHA f1bf5f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 931664f - Browse repository at this point
Copy the full SHA 931664fView commit details
Commits on Mar 21, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 113bd61 - Browse repository at this point
Copy the full SHA 113bd61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2434800 - Browse repository at this point
Copy the full SHA 2434800View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bf6396 - Browse repository at this point
Copy the full SHA 4bf6396View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51386d9 - Browse repository at this point
Copy the full SHA 51386d9View commit details
Commits on Mar 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for cade1bb - Browse repository at this point
Copy the full SHA cade1bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4569d2 - Browse repository at this point
Copy the full SHA d4569d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cdb5c7 - Browse repository at this point
Copy the full SHA 4cdb5c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d89022 - Browse repository at this point
Copy the full SHA 7d89022View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82b962a - Browse repository at this point
Copy the full SHA 82b962aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f8b444 - Browse repository at this point
Copy the full SHA 1f8b444View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35a7bbc - Browse repository at this point
Copy the full SHA 35a7bbcView commit details
Commits on Mar 28, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 9c9f359 - Browse repository at this point
Copy the full SHA 9c9f359View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c83348 - Browse repository at this point
Copy the full SHA 1c83348View commit details -
Configuration menu - View commit details
-
Copy full SHA for 549c995 - Browse repository at this point
Copy the full SHA 549c995View commit details
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.