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

ReorgSafe - Test PR for address freezing for centrally managed tokens #83

Open
wants to merge 65 commits into
base: 0.2.99-Z-DevelopBaseline
Choose a base branch
from

Commits on Dec 8, 2017

  1. travis: move back to the minimal image

    The most recent update replaced the minimal image with a large one for the
    'generic' image. Switching back to 'minimal' should reduce dependencies and
    maybe speed us up some.
    
    It should also eliminiate the need for aa2e0f0.
    theuni authored and dexX7 committed Dec 8, 2017
    Configuration menu
    Copy the full SHA
    033b11a View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2017

  1. Merge bitcoin#511: Travis CI: move back to the minimal image

    033b11a travis: move back to the minimal image (Cory Fields)
    dexX7 committed Dec 9, 2017
    Configuration menu
    Copy the full SHA
    74b9f9e View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2017

  1. Configuration menu
    Copy the full SHA
    cacfd70 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b8ceef1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d630b68 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    563d491 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fd3e69e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e57a9d6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6ee92bd View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    05d2999 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    147000f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    34ba058 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    265608f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7567734 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    56ec86d View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    0456097 View commit details
    Browse the repository at this point in the history
  15. Update consensus rules to enforce a waiting period for enabling freezing

    Note: waiting period activated by feature 14
    zathras-crypto committed Dec 10, 2017
    Configuration menu
    Copy the full SHA
    651b3c2 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    9c03cdc View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    7af2e6a View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    25d975f View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    92fe11d View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    1e67c39 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    4d0e3ed View commit details
    Browse the repository at this point in the history
  22. Reject transactions from frozen addresses prior to logic processing

    Note: rejected after interpretation so the transactions can still be viewed
    zathras-crypto committed Dec 10, 2017
    Configuration menu
    Copy the full SHA
    f2e1b42 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    ca91249 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    8736b51 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    fc38b80 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    0247861 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    338fa73 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    55ae04a View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    3889c08 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    4540747 View commit details
    Browse the repository at this point in the history
  31. Increment DB_VERSION to force a reparse (consensus changes)

    Note: includes minor comment correction
    zathras-crypto committed Dec 10, 2017
    Configuration menu
    Copy the full SHA
    5f3ff4a View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    f0255f1 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    7436279 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    243c930 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    aadafce View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    75c7f1a View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    118e045 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    d0107fc View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    16d6cb9 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    2257e39 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    01c3436 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    e8e657a View commit details
    Browse the repository at this point in the history
  43. Swap 'Change Freeze Setting' for 'Enable Freezing' & 'Disable Freezin…

    …g' transactions
    
    Note: TX71 no longer has a state.  TX71 enables & TX72 disables.
    zathras-crypto committed Dec 10, 2017
    Configuration menu
    Copy the full SHA
    9874193 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    fe1265c View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    22cd4e0 View commit details
    Browse the repository at this point in the history
  46. Make sure LoadFreeze() uses actual position in blockchain

    Note: during some testing I picked up that while loading the freeze state at startup if there are multiple freeze/unfreeze transactions in the same block they may not be loaded in the correct order.  Unlikely scanerio but we need to cover it just the same.  This change just adds the tx position within the block to the sort order.
    zathras-crypto committed Dec 10, 2017
    Configuration menu
    Copy the full SHA
    d6f1a84 View commit details
    Browse the repository at this point in the history
  47. Bugfix: remove checksum from being included in the payload

    Note: addressBytes size check failed (didn't include version) so was never truncated to remove checksum.
    Note: also removes "unexpected size from DecodeBase58 when decoding address" erros from log.
    zathras-crypto committed Dec 10, 2017
    Configuration menu
    Copy the full SHA
    c02e63f View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    8f367c9 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    0328d4b View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    45ad203 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    d86b251 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    82fe38e View commit details
    Browse the repository at this point in the history
  53. Fix: only trigger assert on bad attempts to change BALANCE tally

    Note, freezing should only affect the available balance, not prior actions
    
    The following steps could be done by anyone and would have tripped the assert:
    1) List a trade from address A for prop N
    2) Freeze address A for prop N
    3) List a matching trade from address B
    zathras-crypto committed Dec 10, 2017
    Configuration menu
    Copy the full SHA
    1ba6f9a View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    5dd7bce View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    cda8ffe View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    531292e View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2017

  1. Configuration menu
    Copy the full SHA
    a6ce9aa View commit details
    Browse the repository at this point in the history
  2. Force a reparse if a shutdown is forced

    Note: Behaviour of AbortNode() can be inconsistent and we cannot be sure of the state the client will be left in.  During testing it was possible in some circumstances to simply restart the node and continue on after a forced shutdown.  This change destroys the persistence state to force a reparse in this case.
    zathras-crypto committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    a6dd8a4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cfd2adb View commit details
    Browse the repository at this point in the history
  4. Merge bitcoin#512: Reintroduce forced client upgrade

    a6dd8a4 Force a reparse if a shutdown is forced (Zathras)
    d630b68 Add test for client expiry (Zathras)
    b8ceef1 Add back in forced (manual) client upgrade (Zathras)
    cacfd70 Add foundation 3 of 5 multisig to authorized senders (Zathras)
    dexX7 committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    d3fa573 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2c43859 View commit details
    Browse the repository at this point in the history
  6. Avoid merge conflict

    zathras-crypto committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    64150d9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d8022fd View commit details
    Browse the repository at this point in the history