This repository has been archived by the owner on Jan 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 125
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PyOTA v2.3.0-beta1
add tests for `iter_used_addresses`
Fixes iotaledger#263 Rename `testnet` to `devnet`
- httpx supports both sync and async
- Introduce 'AsyncStrictIota' and 'AsyncIota' for async API - Refactor original API classes to rely on their async counterpart - Make 'BaseCommand' async - Make 'AttachToTangleCommand' async
- update tests for async
- Refactor `BroadCastBundleCommand` and update its tests - Refactor `GetBundleCommand` and its update tests - Refactor `TraverseBundleCommand` and update its tests `get_bundles` fetches bundles concurrently, which speeds it up if it is called with more than one argument.
- Update tests for async
- Updated tests for async - `iter_used_addresses` becomes an async generator - `get_bundles_from_transaction_hashes` ready for async - Update `utils_test.py`
- Update tests for async
- Update tests for async
- Update tests for async
- Update tests for async
- Update tests for async
`Helpers` added `is_promotable` method (wrapper for checkConsistency) to the api class, which is now implemented as a standalone API command, see `IsPromotableCommand`.
- Update tests for async
- Update tests for async
- Update tests for async
- Update tests for async
- Update tests for async
- Update tests for async
- Update tests for async
- New class `AsyncMultisigIota` - Original `MultisigIota` rebased on `AsyncMultisigIota` - Updated multisig commands to work with async - Updated test for async
…ion_hashes_tests Add tests for `get_bundles_from_transactions_hashes` util method
- get_signature_validation_trytes() renamed to get_bundle_essence_trytes() fo clarity.
- Explanation of how transfers are created - Two new figures on transfer creation and available API methods. - 3 code examples to show the different ways of transaction creation.
Co-Authored-By: Phoenix <[email protected]>
docs: Add `Creating Transfers` section
Python 2 is no longer supported in PyOTA. Remove glue code that made it possible to run the same code on both versions, as it is no longer needed. Changes: - Remove imports from `six` package - Remove imports from `__future__` package - Add some Py3 syntax - Remove encoding spec from files as PY3's default is utf-8 - Update setup.py, simplify dependencies, include metadata in the built sdist and wheel about supported python version - Remove `noinspection` comments
PY2 Compatibility Code Cleanup
Co-Authored-By: Phoenix <[email protected]>
Co-Authored-By: Phoenix <[email protected]>
Co-Authored-By: Phoenix <[email protected]>
- Remove type hints. - Follow PEP-484 and PEP-8.
Add contributing documentation
Co-Authored-By: Phoenix <[email protected]>
Introduce Type Annotations
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What's new?
testnet
todevnet
. Fixes #263 Renametestnet
todevnet
#298AsyncIota
andAsyncStrictIota
. User can choose between synchronousIota
api and asynchronousAsyncIota
api. Asynchronous API, Networking and Asyncio Support #301httpx
. Asynchronous API, Networking and Asyncio Support #301requests
,six
, etc. Asynchronous API, Networking and Asyncio Support #301promote_transaction
API call. Fix error message inPromoteTransactionCommand
#313Tests
iter_used_addresses
. add tests foriter_used_addresses
#299get_bundles_from_transaction_hashes
utility method. Add tests forget_bundles_from_transactions_hashes
util method #314Documentation changes
Tutorial 8: Async Send and Monitor
. Tutorial 8: Async Send and Monitor #312Creating Transfers
section #316Create Transfers
with infographic. docs: AddCreating Transfers
section #316