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

[Regtest][Tests][RPC] Regtest mode + Test suite. #812

Merged

Commits on Feb 9, 2019

  1. Configuration menu
    Copy the full SHA
    25fc436 View commit details
    Browse the repository at this point in the history
  2. Update block generation code to enable regtest mode

    Also update the icon/splash images for regtest
    Fuzzbawls committed Feb 9, 2019
    Configuration menu
    Copy the full SHA
    93fd9f0 View commit details
    Browse the repository at this point in the history
  3. [Tests] Initial update for regression test suite tests

    TOTO: fixup all tests / add new ones
    Fuzzbawls committed Feb 9, 2019
    Configuration menu
    Copy the full SHA
    22bfe7e View commit details
    Browse the repository at this point in the history
  4. RPC: Add waitforblock/waitfornewblock/waitforblockheight

    Used in functional tests
    Fuzzbawls committed Feb 9, 2019
    Configuration menu
    Copy the full SHA
    7e0476b View commit details
    Browse the repository at this point in the history
  5. [RPC] Error early when block doesn't start with a coinbase transaction

    submitblock (used for PoW) can return an error message earlier by
    checking that the first transaction is a coinbase transaction.
    
    This prevents wasting time with running the block through later
    validation checks that will ultimately fail.
    Fuzzbawls committed Feb 9, 2019
    Configuration menu
    Copy the full SHA
    262f76a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7d37c1c View commit details
    Browse the repository at this point in the history
  7. [RPC] Ensure Tx/Budget input hashes are of the proper length

    Transaction and Budget hashes are always 64 characters in length. Return
     a descriptive error if this is not the case.
    Fuzzbawls committed Feb 9, 2019
    Configuration menu
    Copy the full SHA
    4c71b56 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4e62dd9 View commit details
    Browse the repository at this point in the history
  9. Add rpm contrib files

    Fuzzbawls committed Feb 9, 2019
    Configuration menu
    Copy the full SHA
    2155506 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c2cfff0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    37b29c7 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    ebdc552 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    3d588ea View commit details
    Browse the repository at this point in the history
  14. Regtest: mine the correct version blocks

    Zerocoin rules mandate that block version must be < 4 prior to zerocoin
    activation height. To prevent erroring on regtest, and still allow for
    manual/scripted changing of the block version, set some locical defaults
    .
    Fuzzbawls committed Feb 9, 2019
    Configuration menu
    Copy the full SHA
    1ffc443 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    b074cd0 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2019

  1. WIP: port the test for "fake stake" issue test

    Currently this is non-functional as the created coinstake transaction
    cannot be signed properly (passing the transaction to the coin daemon
    via `signrawtransaction` returns an error)
    Fuzzbawls authored and furszy committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    5c0f0b9 View commit details
    Browse the repository at this point in the history
  2. RPC: hack signrawtransaction to allow signing an already spent input

    Only works on regtest, obviously
    Fuzzbawls authored and furszy committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    9cec3bd View commit details
    Browse the repository at this point in the history
  3. Tests: serialize block signature when present

    Needed for signing proof of stake blocks
    Fuzzbawls authored and furszy committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    80a2aec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f40f576 View commit details
    Browse the repository at this point in the history
  5. Tests: update nothingatstake test file

    - reintroduce spam transactions
    - make disk size usage output in kilobytes
    - add assertion check after stopping node for disk size usage
    - do fuckall with the node(s) setup (this was in the original script,
    but likely doesn't change anything from how I had it previously)
    Fuzzbawls authored and furszy committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    b3950ff View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    71a3743 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    158bd2b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5405d1c View commit details
    Browse the repository at this point in the history
  9. zPoS running on regtest :)

    furszy committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    ef01bd8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2cf7ae1 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d0c0dcc View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    35f09e5 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c02002b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    47c2c65 View commit details
    Browse the repository at this point in the history
  15. no time validation for regtest

    furszy committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    07b981a View commit details
    Browse the repository at this point in the history
  16. PIVX_fake_stake: zerocoin tests

    random-zebra authored and furszy committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    ed63600 View commit details
    Browse the repository at this point in the history
  17. test_02 working good.

    furszy committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    70d859e View commit details
    Browse the repository at this point in the history
  18. Add 'createrawzerocoinstake' method

    random-zebra authored and furszy committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    f7a4826 View commit details
    Browse the repository at this point in the history
  19. test05

    furszy committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    3cbf43e View commit details
    Browse the repository at this point in the history
  20. test05 completed, rejection of double spend coin stake input on the s…

    …ame block on main/forked chain
    furszy committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    427f2f1 View commit details
    Browse the repository at this point in the history
  21. pivx_fake_stake Test05

    random-zebra authored and furszy committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    a25f2e8 View commit details
    Browse the repository at this point in the history
  22. pivx_fake_stake Test05 - more blocks

    random-zebra authored and furszy committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    bf3b732 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    88e0dc6 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    1b27b90 View commit details
    Browse the repository at this point in the history
  25. pivx_fake_stake: get_prevouts

    random-zebra authored and furszy committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    44d2e9a View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    23236e7 View commit details
    Browse the repository at this point in the history
  27. half test3 completed

    furszy committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    9eea883 View commit details
    Browse the repository at this point in the history
  28. zerocoin mint + spent

    furszy committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    79e746e View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    1df9240 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    63bd40e View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    2276981 View commit details
    Browse the repository at this point in the history
  32. pivx_fake_stake: zerocoin prevouts

    random-zebra authored and furszy committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    252f4ab View commit details
    Browse the repository at this point in the history
  33. log CWallet::MintToTxIn errors

    random-zebra authored and furszy committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    c5a6a67 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    3092cfc View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    47f0503 View commit details
    Browse the repository at this point in the history
  36. REGTEST: Fix bug on GetModifier

    random-zebra authored and furszy committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    ad65ac4 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    1ad11ad View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    8315a42 View commit details
    Browse the repository at this point in the history
  39. fake stake test4

    furszy committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    0aa9baf View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    42e9c01 View commit details
    Browse the repository at this point in the history
  41. regtest lastPoWBlock and zerocoin block start decreased to not waste …

    …lifetime waiting for the tests.
    furszy committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    79e3643 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    fe54e9b View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    030e557 View commit details
    Browse the repository at this point in the history
  44. Merge pull request #6 from random-zebra/2019_miller_tests

    Additions to Regtest - fakeStake suite
    furszy authored Feb 11, 2019
    Configuration menu
    Copy the full SHA
    eb12583 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2019

  1. Configuration menu
    Copy the full SHA
    dd07bd1 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #7 from random-zebra/2019_miller_tests

    [Tests] fix proof of stake target in block class
    furszy authored Feb 12, 2019
    Configuration menu
    Copy the full SHA
    90631be View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2019

  1. PoS block creation uniqueness.

    furszy committed Feb 13, 2019
    Configuration menu
    Copy the full SHA
    a428c83 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    78e838e View commit details
    Browse the repository at this point in the history
  3. Merge pull request #8 from random-zebra/2019_miller_tests

    [Tests] fix solve_stake nTime / nStakeModifier
    furszy authored Feb 13, 2019
    Configuration menu
    Copy the full SHA
    26e98a8 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2019

  1. Configuration menu
    Copy the full SHA
    d783229 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    64b2bb3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    67284ce View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9318335 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e0efe4d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9302f5a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0d8cf55 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c6c81a7 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2019

  1. Configuration menu
    Copy the full SHA
    2e7eacc View commit details
    Browse the repository at this point in the history
  2. [RPC] Add call 'getchecksumblock'

    which returns the first occurrence of a block with given accumulator checksum
    random-zebra committed Feb 15, 2019
    Configuration menu
    Copy the full SHA
    1d69943 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c7555e1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7aae5b1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    322ce79 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0f209b3 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2019

  1. Configuration menu
    Copy the full SHA
    0d865a8 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2019

  1. Configuration menu
    Copy the full SHA
    8e370da View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6aa5ddb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a85cdad View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fced4e2 View commit details
    Browse the repository at this point in the history