Bitsv

Latest version: v0.11.5

Safety actively analyzes 630169 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

0.10.3

-------------------
- Allow transaction fee less than 1 sat/byte (i.e. float) c/o `gitzhou <https://github.com/gitzhou>`_

0.10.2

-------------------
- Fixed broken API endpoint for foreign currency conversions.

0.10.1

-------------------

- Added new Fullnode class for connecting to local bitcoin node via JSON-RPC (thanks goes to https://github.com/xloem for the initial legwork).
- Fullnode class works for Mainnet, Testnet, Scaling-testnet and RegTest (local mock blockchain).
- Reordered outputs to always have 'false return' metadata included in the **first** output instead of the last. This will fix a new issue that arose with rendering of images etc. on bico.media.
- Prepend OP_FALSE to OP_RETURN in preparation for Genesis upgrade coming in February.
- Add 'sweep' function to PrivateKey class for sending all coins to a given address.
- 0.10.1 includes a patch for rpc methods list

0.9.0

------------------

- **breaking** Bitcoin Cash addressees are no longer supported.
- Added bchsvexplorer for redundancy on mainnet.
- PrivateKey.get_transaction() now returns a ``Transaction`` object with ``TxInput`` and ``TxOutput`` objects within it.
- Metadata is represented in ``TxOutput.data`` as a list of ``pushdata`` fields.

0.8.0

-----------------
- **breaking** ``PrivateKeyTest`` no longer exists (is now merged with ``PrivateKey`` class)
- **breaking** bip32.py no longer exists (is now moved to a new repo: https://github.com/AustEcon/bsvbip32)

- Maintains modularity of codebase.
- Bip32 deserves it's own repo as an extension to bitsv.
- Added ``BitIndex3`` (with main, test, stn support) - teething issues still on server side for stn due to very large volumes and requirement for server upgrades.
- **breaking** Refactored network services.py into separate modules (within services **folder**). (Only an issue for those who use these APIs directly rather than via PrivateKey)
- **breaking** Refactored ``NetworkAPI`` class to be accessed via object instantiation rather than via classmethods. (Only an issue for those who access ``NetworkAPI`` class directly rather than via ``PrivateKey``).

- Allows for naming and testing of 5 prime function calls to be the same across all three networks (main/test/stn) and minimizes duplication of code and potential for errors.
- Also allows for custom implementations of the ``NetworkAPI`` used by the ``PrivateKey`` on a case-by-case basis if necessary.
- Added main / test / stn network to ``NetworkAPI`` class (and therefore ``PrivateKey``) and normalization process for diverse (future) APIs.
- Improved the syntax for the send_op_return() function to accept a simple list
of encoded bytes (old syntax still supported)
- Fixed a bug where a network error would result from leaving behind an amount < ``DUST`` (courtesy Carpemer)
- Added retry wrapper for 400 and 500 errors (courtesy Carpemer)

- will come into play when throttled to e.g. 3 requests per second by the new BitIndex API.
- Added redundancy to the rates API (because the https://bitcoinsv-rates.com/api/rates/
endpoint went down for several days). Therefore added a ``Bitfinex`` replacement in series:

- Bitfinex endpoint "https://api.bitfinex.com/v1/pubticker/bsvusd" (for BSV/USD) combined with
- FreeForexAPI endpoint "https://www.freeforexapi.com/api/live?pairs=" (for foreign currency pairs)
- send_op_return() will now **not** consolidate utxos by default. (i.e. combine=False is default parameter)
- restored python3.5 and pypy3 compatibility

0.7.1

-----------------
- Legacy address now default __repr__
- Added documentation page for op_return related functionality see: https://austecon.github.io/bitsv/guide/op_return.html
added Python3.7 to travis CI testing
- Bip32 feature set - have refactored and added functions (no documentation yet - coming soon).
- **Breaking**: Bip32 feature set refactored:

- File renamed from bip32utils.py --> bip32.py and
- **Deprecation warning**: Changed class name from bip32utils --> "Bip32" (basically wrapping pycoin.key.Key functions):
- New functions: get_xpub, get_xprv, address, private_key, get_children, get_child_addresses, get_child_private_keys, sign, verify, chain_code, fingerprint
- **Deprecation warning**: old class "bip32utils" is retained as an alias temporarily but will be removed with the next release.

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.