- Jun 05, 2020
-
-
Moul authored
-
Moul authored
-
Moul authored
Click https://click.palletsprojects.com/en/7.x/changelog/#version-7-1-2 - Fix test: the error message changed from double to simple cotes PyNaCl: https://github.com/pyca/pynacl/blob/master/CHANGELOG.rst#140-2020-05-25 Pytest: https://docs.pytest.org/en/latest/changelog.html#pytest-5-4-3-2020-06-02
-
Moul authored
Update parsing, help. Change word
-
Moul authored
-
Moul authored
to be able to develop with whatever Python version > 3.5 'language_version' is optional: https://pre-commit.com/#pre-commit-configyaml---hooks Originally found on: https://github.com/psf/black#version-control-integration
-
- Jun 01, 2020
-
-
Moul authored
Add a comment about default port if not specified Use defaults endpoints from constants
-
Moul authored
To represent what they contain: - value -> inputs_balance - amount -> balance
-
Moul authored
Which is hardly comparable the more N is bigger The comparison to M/N makes more sense We could round to five instead of two digits, to be able to see something, but that does not make sense as explain earlier
-
Moul authored
-
Moul authored
-
Moul authored
-
- May 19, 2020
-
-
Moul authored
- To avoid 503 http code error got when reaching the request spam limit
-
- May 16, 2020
-
-
Moul authored
-
- Apr 25, 2020
-
-
Moul authored
- Will be removed from GitLab v13.0 - https://docs.gitlab.com/ee/ci/yaml/#rules
-
- Apr 21, 2020
- Apr 07, 2020
-
-
matograine authored
* create a patched get_sources() function
-
matograine authored
* use display_amount() to display pubkey's amounts * modify test_transaction_confirmation() to match new behavior * add new test case * remove useless float()
-
matograine authored
* modify * handle_intpermediary_transaction(), * generate_and_send_transaction(), * generate_transaction_document() * all will now use tx_amounts list * create a unit test for generate_transaction_document() * create a patched head_block() function. /!\ the created patched function does not return a whole fake block, only relevant infos for now.
-
matograine authored
* transaction_amount() now returns the amounts list. * modify tests in tests_tx.py for transaction_amount to match new behavior * create unit tests in tests_unit_tx.py
-
matograine authored
* Uses a list of user amounts and a multiplicator (should be CENT_MULT_TO_UNIT or UD_Value). * Multiplies the given amounts(UD) to get usable int() amounts for Duniter. * Makes sure that each amountUD is superior to the minimal amount. * Absolute amounts are in FloatRange(MINIMAL_AMOUNT), so they have already been checked. * This check should be updated when solving issue #306 / DUBP v13. * Returns list of amounts.
-
matograine authored
* both constants imported to tx.py * MINIMAL_TX_AMOUNT used in --amount click option * import silkaj.money and change related functions calls * introduce one test case for send_transaction()
-
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
-
- Feb 24, 2020
-
-
- Pubkey pattern defined in constants - Merge search and compline on the same line
-
-
- 're.' is not too long
-
-
matograine authored
* use Duniterpy's regexp for authfile checking * former regexp would fail on legit privkeys) * makes Silkaj compatible with Cesiums PubSec authentication files. * document the function auth_by_auth_file()
-
- Feb 23, 2020
-
-
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…
-
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
-
- Feb 12, 2020
-
-
Moul authored
-
Moul authored
- Use caret requirement: - https://python-poetry.org/docs/dependency-specification/#caret-requirements - Remove now useless black prereleases statement
-
- Feb 11, 2020
-
-
Moul authored
-
- Feb 08, 2020
-
-
Moul authored
- Build and tests jobs weren't triggered when the code was changing
-
- Jan 28, 2020
-
-
- Kept for pyinstaller because unmaintained and lazy to search
-