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

Init commit create react app with react-app-rewired #12

Closed
wants to merge 63 commits into from

Commits on Nov 16, 2020

  1. Configuration menu
    Copy the full SHA
    be04088 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7e4a744 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2d2e3a6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    78b2792 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2020

  1. Configuration menu
    Copy the full SHA
    68ca550 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    11ca035 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8ac28ac View commit details
    Browse the repository at this point in the history
  4. Start modelling messages

    luckysori authored and bonomat committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    14090ad View commit details
    Browse the repository at this point in the history
  5. Compose Message0

    luckysori authored and bonomat committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    0a8329b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4e208df View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f319d86 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    eabfc7a View commit details
    Browse the repository at this point in the history
  9. Wip: Alice can't unblind Bob

    bonomat committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    7c56ca1 View commit details
    Browse the repository at this point in the history
  10. WIP: Signatures are wrong

    luckysori authored and bonomat committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    3db1ce7 View commit details
    Browse the repository at this point in the history
  11. WIP: debugging

    luckysori committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    2b41407 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    cbf3224 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    d372dc3 View commit details
    Browse the repository at this point in the history
  14. Remove fluff

    luckysori committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    229c292 View commit details
    Browse the repository at this point in the history
  15. Tackle/remove TODOs

    luckysori committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    f1aff33 View commit details
    Browse the repository at this point in the history
  16. Verify that Bitcoin outputs created are spendable

    By spending to a wallet address. The node must be started with
    `-blindedaddresses=1`. I've configured it to be the default value
    since we are always working with confidential transactions.
    
    Doing the same for non-Bitcoin outputs is left as a TODO.
    luckysori committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    27dc687 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    0968002 View commit details
    Browse the repository at this point in the history
  18. Fix clippy warnings

    thomaseizinger committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    b559023 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    0058835 View commit details
    Browse the repository at this point in the history
  20. Make decoder always receive a buffer

    This is helpful because we sometimes need to peek at the next value
    to deserialize the right thing.
    thomaseizinger committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    56f5549 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    42ae3d5 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    683f710 View commit details
    Browse the repository at this point in the history
  23. Introduce dedicated types for explicit and confidential aspects

    The previous model was to flexible in that it allowed to express
    states that were not actually possible (like explicit value but
    confidential asset).
    thomaseizinger committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    c2ff20d View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    1b8b95b View commit details
    Browse the repository at this point in the history
  25. Add TODO

    thomaseizinger committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    b4af743 View commit details
    Browse the repository at this point in the history
  26. Merge pull request #6 from thomaseizinger/better-type-system

    Make better use of the type system
    luckysori authored Nov 17, 2020
    Configuration menu
    Copy the full SHA
    084661a View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2020

  1. Improve error message and variable naming

    The whole commitment is 33 bytes long with the last 32 bytes being
    the x-coordinate of the public key.
    thomaseizinger committed Nov 18, 2020
    Configuration menu
    Copy the full SHA
    2736fb7 View commit details
    Browse the repository at this point in the history
  2. Remove original_asset from UnblindedTxOut

    The original asset commitment can always be retrieved from the
    ConfidentalTxOut.
    thomaseizinger committed Nov 18, 2020
    Configuration menu
    Copy the full SHA
    d1919ec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c13664d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3b798d3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2b19558 View commit details
    Browse the repository at this point in the history
  6. Re-order code in transactions.rs to be sane

    That is, most important to least important with increasing level
    of detail based on the order you encounter the structs as you
    read through the existing type definitions.
    
    Order of `impl` blocks for traits are at the bottom but unsorted.
    thomaseizinger committed Nov 18, 2020
    Configuration menu
    Copy the full SHA
    ac96c63 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8d34d26 View commit details
    Browse the repository at this point in the history
  8. Introduce newtypes for asset and value blinding factors

    Be gone, wild byte arrays!
    
    cc @da-kami
    thomaseizinger committed Nov 18, 2020
    Configuration menu
    Copy the full SHA
    7c2deb7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    17e1d87 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    83aff7a View commit details
    Browse the repository at this point in the history
  11. Encapsulate weird logic around asset_final_vbf within elements-fun

    By providing two constructors for a ConfidentialTxOut, we can make
    it easier for users to properly construct a valid transaction that
    follows all the invariants that need to be upheld.
    thomaseizinger committed Nov 18, 2020
    Configuration menu
    Copy the full SHA
    a265e0f View commit details
    Browse the repository at this point in the history
  12. Correct doc comment

    thomaseizinger committed Nov 18, 2020
    Configuration menu
    Copy the full SHA
    f5a2a13 View commit details
    Browse the repository at this point in the history
  13. Fix clippy warning on asset_surjectionproof

    This also simplifies the calling site massively because we don't
    have to iterate over the inputs several times.
    thomaseizinger committed Nov 18, 2020
    Configuration menu
    Copy the full SHA
    3178f66 View commit details
    Browse the repository at this point in the history
  14. Clarify name of parameter

    We always pass random bytes in here, I think this is just used for
    entropy.
    thomaseizinger committed Nov 18, 2020
    Configuration menu
    Copy the full SHA
    89fcab1 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    1909e26 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2020

  1. Refactor how commitment and blinding factors are constructed

    We try to hide the actual wally APIs from the user by providing
    meaningfully named functions on the actual types that we want to
    construct.
    thomaseizinger committed Nov 19, 2020
    Configuration menu
    Copy the full SHA
    f9747e8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1ae5d93 View commit details
    Browse the repository at this point in the history
  3. Make it explicit that asset_surjectionproof needs randomness

    Instead of accepting free-form entropy, we pass an rng argument
    that makes it obvious that this function depends on randomness to
    produce sane outputs.
    thomaseizinger committed Nov 19, 2020
    Configuration menu
    Copy the full SHA
    1b53299 View commit details
    Browse the repository at this point in the history
  4. Use the Context impl on Option to turn them into Results

    This is more concise than calling `ok_or_else` if we are always
    constructing an anyhow::Error anyway.
    thomaseizinger committed Nov 19, 2020
    Configuration menu
    Copy the full SHA
    3a3e344 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3d71e51 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #10 from comit-network/dprint

    Format everything with dprint
    luckysori authored Nov 19, 2020
    Configuration menu
    Copy the full SHA
    2a71332 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2020

  1. Configuration menu
    Copy the full SHA
    fff1ad2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f521e3d View commit details
    Browse the repository at this point in the history
  3. Git ignore eslint file

    bonomat committed Dec 1, 2020
    Configuration menu
    Copy the full SHA
    052ddaf View commit details
    Browse the repository at this point in the history
  4. dprint formatted

    bonomat committed Dec 1, 2020
    Configuration menu
    Copy the full SHA
    486076d View commit details
    Browse the repository at this point in the history
  5. Rename folder

    bonomat committed Dec 1, 2020
    Configuration menu
    Copy the full SHA
    274d591 View commit details
    Browse the repository at this point in the history
  6. Format all the things

    bonomat committed Dec 1, 2020
    Configuration menu
    Copy the full SHA
    56be301 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2020

  1. Add start to lib initializor

    bonomat committed Dec 2, 2020
    Configuration menu
    Copy the full SHA
    c06b798 View commit details
    Browse the repository at this point in the history
  2. Rename lib to wallet lib

    bonomat committed Dec 2, 2020
    Configuration menu
    Copy the full SHA
    f73cb3b View commit details
    Browse the repository at this point in the history
  3. Make tests pass

    bonomat committed Dec 2, 2020
    Configuration menu
    Copy the full SHA
    888b770 View commit details
    Browse the repository at this point in the history
  4. Add missing new line

    bonomat committed Dec 2, 2020
    Configuration menu
    Copy the full SHA
    989533c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    71bfea2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1cf142e View commit details
    Browse the repository at this point in the history