Skip to content
Snippets Groups Projects
  1. Apr 07, 2020
    • matograine's avatar
      [feat] #111: Send multiple outputs: change click options: · bb34cbbb
      matograine authored
      * Breaking change: Rename `--output` option to `--recipient`
      * Add extra small options to ease passing multiple amounts and recipients:
        * `-a/--amount`
        * `-d/--amountUD`
        * `-r/--recipient`
      * Add possibility to pass multiple options:
        * Breaking change: recipients public keys are no longer `:` separated: `-r A -r B`
      * Store the options in variables names in plural for preciseness
      * Fix: Handle the case when no option specifying the amount is passed
      * Restrict `--allSources` option to a single recipient, case not handle for now
      * Extend tests with two upper checks
      * Improve help
      bb34cbbb
  2. Feb 24, 2020
  3. Feb 23, 2020
    • Moul's avatar
      [test] #262: Add verify blocks tests: · a37c49e9
      Moul authored
      - Integration test on the overall command:
        - Use click CliRunner().invoke()
        - https://click.palletsprojects.com/en/7.x/testing/#basic-testing
          - integration tests are requesting a node
          - If the node is down, the tests are broken
      - Unit tests on all the functions to test most of the major corner cases:
        - valid and a non-valid blocks signatures:
          - Kind of already in DuniterPy tests…
      a37c49e9
    • Moul's avatar
      [feat] #262: Add 'verify' command to check blocks’ signatures · 0bb78cae
      Moul authored
      - Based on DuniterPy 0.56.0 which implements block signature
        verification
      - #183: Click progress bar
      - Handle BMA anti-spam protection whith an exception
      - Possibility to pass starting and ending block numbers to verify them
      - Default to 0,0(head) for the full blockchain
      - Get rid of the client singleton, in order to have full control over it
      0bb78cae
  4. Feb 12, 2020
  5. Feb 11, 2020
  6. Feb 08, 2020
  7. Jan 28, 2020
  8. Jan 23, 2020
  9. Jan 17, 2020
  10. Jan 15, 2020
  11. Jan 08, 2020
  12. Nov 24, 2019
    • matograine's avatar
      [enh] #255 modify Balance display · 5ea02661
      matograine authored
      * change the balance display to a table
      * use display_amount() and tabulate in the balance display
      * mod tests_end_to_end.py to match new display
      5ea02661
    • matograine's avatar
      [mod] creating tui.py · 87132337
      matograine authored
      * create tui.py with license statement
      * move display_amount() and display_pubkey() to tui.py to prevent circular dependencies
      * change display_amount() to prevent circular dependency with money.py.
          * Now display_amount() needs the ud_value parameter.
          * display_amount() is no more async
      * mod tx.py and test_unit_tx.py to match new location of the two features.
      87132337
  13. Nov 22, 2019
  14. Nov 21, 2019
  15. Nov 14, 2019
  16. Nov 12, 2019
  17. Nov 08, 2019
  18. Nov 03, 2019
    • matograine's avatar
      [test] #236: add tests for tx confirmation, mock functions: · 5b990cb5
      matograine authored and Moul's avatar Moul committed
      * add tests for display_pubkey(), display_amount() and transaction_confirmation() in tests/test_unit_tx.py.
      * patch async functions.
      * create the patched.py module containing patched/mocked functions.
      * modify silkaj/tx.py to match patch requirements:
        * `from silkaj.wot import is_member` -> `from silkaj import wot`
        * `await is_member()` -> `await wot.is_member()`
      5b990cb5
    • matograine's avatar
      [enh] #236: improve the tx confirmation display · ceb7c1a3
      matograine authored and Moul's avatar Moul committed
      * add display_pubkey() and display_amount() functions to match the proposal
      * modify transaction_confirmation()
      ceb7c1a3
  19. Oct 29, 2019
  20. Oct 28, 2019
  21. Oct 13, 2019
  22. Oct 01, 2019
  23. Sep 23, 2019
Loading