Neo-python

Latest version: v0.9.1

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

Scan your dependencies

Page 1 of 6

0.9.1

------------------
- Reformat wallet verbose output to include big-endian scripthash
- Fix network syncing against neo-cli ``2.10.3`` clients
- Update Python requirements
- Fix Docker configuration pip issue
- Fix parsing prompt command arguments that include spaces (e.g. `description` tx attributes)

0.9.0

------------------
- Allow override of test invocation return type
- Add current wallet height to bottom toolbar
- Change class attributes of ``Transaction`` into instance attributes and fix constructor
- Fix sys_fee calculation in block persist.
- Improve testing of "getbalance" RPC method
- Support cancelling actions with ``KeyboardInterrupt``
- Enhance output of ``wallet`` cli command
- Fixed size calculation for ``RegisterTransaction``
- Support updating np-core to throw exceptions instead of logging errors `888 <https://github.com/CityOfZion/neo-python/issues/888>`_
- Fixed size calculation for ``InvocationTransaction`` `919 <https://github.com/CityOfZion/neo-python/pull/919>`_
- Update Virtual Machine to latest implementation, Add support for running official JSON test vectors `921 <https://github.com/CityOfZion/neo-python/pull/921>`_ `#932 <https://github.com/CityOfZion/neo-python/pull/932>`_
- Add PICKITEM for ByteArray into VM `923 <https://github.com/CityOfZion/neo-python/pull/923>`_
- Improve Connection Failure Handling in NodeLeader `915 <https://github.com/CityOfZion/neo-python/issues/915>`_
- Improve transaction coverage and fix ``PublishTransaction.Size()`` `929 <https://github.com/CityOfZion/neo-python/issues/929>`_
- Align ``Fixed8`` ``ToString()`` output with C `941 <https://github.com/CityOfZion/neo-python/pull/941>`_
- Move from using ``Twisted`` to ``asyncio`` as event driven framework `934 <https://github.com/CityOfZion/neo-python/pull/934>`_
- Add new networking code
- Add IP Filtering
- Tighten smart contract storage context validation
- Update VM to 2.4.3 (Also updates ``ApplicationEngine``, ``StateReader`` and ``StateMachine``)
- Add support for new Ping/Pong network payload
- Add neo-vm JSON test support + add new Debugger wrapping class
- Various VM performance updates
- Various code cleaning updates
- Ensure LevelDB iterators are close, ensure all ``MemoryStream`` usages go through ``StreamManger`` and are closed.
- Fix ``np-import`` not importing headers ahead of block persisting potentially unexpected VM execution results
- Fix undesired debug statement printing
- Add negative bitwise shifting support for ``BigInteger`` to match C
- Include address aliases in ``wallet`` command output
- Fix ``config maxpeers`` and update tests
- Fix error while parsing list arguments from prompt for smart contract test invocations
- Fix ``Runtime.GetTrigger`` and ``Transaction.GetType`` syscalls pushing wrong StackItem type
- Update handling of default cause for ``PICKITEM`` instruction
- Fix ``InteropService.GetInterface`` not validating types correctly
- Speed up ``np-import`` when appending blocks
- Fix ``BigInteger.ToByteArray()`` for some negative values to return too many bytes
- Implement SimplePolicyPlugin for transactions sent to a node `960 <https://github.com/CityOfZion/neo-python/issues/960>`_
- Fix transaction deserialization not setting correct type for ``ContractTransaction``
- Fix ``GetBigInteger()`` return value of ``Boolean`` ``StackItem`` to return correct type
- Add workaround for ``Neo.Contract.Create`` SYSCALl accepting invalid ``ContractParameterType``'s until neo-cli fixes it to keep same state
- Fix parsing nested lists `954 <https://github.com/CityOfZion/neo-python/issues/954>`_
- Fix clearing storage manipulations on failed invocation transaction execution
- Port caching layer from neo-cli
- Fix ``Contract_Migrate`` syscall
- Fix ``BigInteger`` modulo for negative divisor values
- Fix ``GetBoolean()`` for ``Array`` stackitem
- Fix ``BigInteger`` division for negative dividend values
- Add functionality for RawTransaction class
- Fix ``GetPriceForSysCall()`` for a ``Neo.Contract.Create`` syscall with invalid contract properties
- Updated ``np-bootstrap`` to delete the downloaded bootstrap file by default `986 <https://github.com/CityOfZion/neo-python/pull/986>`_
- Fix ``Remove()`` behaviour for ``Map`` and ``Array`` types to be inline with C
- Add support for compressed syscalls
- Validate SimplePolicy for signed transactions
- Fix NEP-5 token send operation in ``np-prompt`` to properly handle token ``decimals``/scale `990 <https://github.com/CityOfZion/neo-python/pull/990>`_
- Fix ``NOT`` VM instruction
- Fix StackItem deserialization for ``Boolean`` VM type
- Update ``CheckDynamicInvoke`` to operate on snapshots
- Fix ``Contract.Destroy`` not always deleting storage
- Fix ``Equals()`` of ``ByteArray``
- Fix max recursion depth exception when counting certain VM StackItems that point to themselves
- Fix ``RIGHT`` opcode for 0 count edge case

0.8.4

------------------
- Fix incorrect error handling when importing a 1 out of 2 multi-signature address `860 <https://github.com/CityOfZion/neo-python/pull/860>`_
- Gracefully handle invalid ``GET`` request `863 <https://github.com/CityOfZion/neo-python/pull/863>`_
- Implement tx size network fee calc `869 <https://github.com/CityOfZion/neo-python/pull/869>`_
- Fix ``config maxpeers`` to disconnect peers if limit is lower than before `878 <https://github.com/CityOfZion/neo-python/pull/878>`_
- Implement the ability to attach a priority fee to applicable transactions `880 <https://github.com/CityOfZion/neo-python/pull/880>`_
- Fix an invalid list access error during client connection error edge case `882 <https://github.com/CityOfZion/neo-python/pull/882>`_
- Fix `NetworkAddressWithTime` address serialization `897 <https://github.com/CityOfZion/neo-python/pull/897>`_
- Add additional debug logging to help investigate transaction verification failures `898 <https://github.com/CityOfZion/neo-python/pull/898>`_

0.8.3

------------------
- Update ``getassetstate`` RPC method to support `neo` and `gas` aliases; Cleanup ``show_contract_state`` `667 <https://github.com/CityOfZion/neo-python/pull/667>`_
- Add fix to ensure tx is saved to wallet when sent using RPC `680 <https://github.com/CityOfZion/neo-python/pull/680>`_
- Disallow ``Void`` type input parameters for smart contracts and increase test coverage `690 <https://github.com/CityOfZion/neo-python/pull/690>`_
- Fix confirmed tx not being purged from mempool `703 <https://github.com/CityOfZion/neo-python/issues/703>`_
- Fix bootstrap thread joining failure on Ubuntu systems `705 <https://github.com/CityOfZion/neo-python/pull/705>`_
- Make bootstrap lookup dynamic such that users don't have to update their configs from here on forward `705 <https://github.com/CityOfZion/neo-python/pull/705>`_
- Move some warnings and 'expected' errors to `DEBUG` level to avoid logging to console by default `708 <https://github.com/CityOfZion/neo-python/pull/708>`_
- Empty VerificationScripts for deployed contracts now work as intended `709 <https://github.com/CityOfZion/neo-python/pull/709>`_
- Fix various issues related to signing multi-signature transactions `710 <https://github.com/CityOfZion/neo-python/pull/710>`_
- Add GET and OPTIONS request functionality for JSON-RPC servers `712 <https://github.com/CityOfZion/neo-python/pull/712>`_
- Fix RPC's ``getaccountstate`` response schema to match ``neo-cli`` `714 <https://github.com/CityOfZion/neo-python/issues/714>`_
- Add bad peers to the ``getpeers`` RPC method `715 <https://github.com/CityOfZion/neo-python/pull/715>`_
- Allow a raw tx to be build without an active blockchain db in the environment `718 <https://github.com/CityOfZion/neo-python/pull/718>`_
- Introduce Django inspired component loading for REST and RPC server `719 <https://github.com/CityOfZion/neo-python/pull/719>`_
- Fix unnecessary default bootstrap warning for mainnet showing. `722 <https://github.com/CityOfZion/neo-python/pull/722>`_
- Various updates to the network code to improve stability as well as inspection `723 <https://github.com/CityOfZion/neo-python/pull/723/>`_
- Added peer health checking to validate that we get the data we requested within a given time threshold
- Added peer connection monitoring to keep queueing or reset if we have no more valid addresses to connect to.
- Added extensive logging to improve inspection
- Fix ``gzip`` failure in current implementation of ExtendedJsonRpcApi `724 <https://github.com/CityOfZion/neo-python/pull/724>`_
- Gracefully handle balance query failures of NEP-5 tokens. `744 <https://github.com/CityOfZion/neo-python/pull/744>`_
- Fix ``getcontractstate`` JSON output to match neo-cli 2.9.2 `746 <https://github.com/CityOfZion/neo-python/issues/746>`_
- Fix ``getrawtransaction`` JSON output to match neo-cli 2.9.2 `751 <https://github.com/CityOfZion/neo-python/pull/751>`_
- Add ``--to-addr`` option when claiming gas `755 <https://github.com/CityOfZion/neo-python/issues/755>`_
- Remove ``ExtendedJsonRpc`` server from base repo (still available as extension) `756 <https://github.com/CityOfZion/neo-python/pull/756>`_
- Fix calculation of asset change value when using multiple alternating asset inputs `803 <https://github.com/CityOfZion/neo-python/pull/803>`_
- Refactor CLI to be more user friendly and support better future extensibility `805 <https://github.com/CityOfZion/neo-python/pull/805>`_
- Update TestNet seeds `807 <https://github.com/CityOfZion/neo-python/pull/807>`_
- Add Reset logic to NodeLeader such that Blockchain fixture testcases reset properly `809 <https://github.com/CityOfZion/neo-python/pull/809>`_
- Resolve peewee DeprecationWarning `810 <https://github.com/CityOfZion/neo-python/pull/810>`_
- Add VM SafeReadBytes `812 <https://github.com/CityOfZion/neo-python/pull/812>`_
- Add gettransactionheight RPC method `813 <https://github.com/CityOfZion/neo-python/pull/813>`_
- Update ``ApplicationEngine`` methods ``CheckStackSize`` and ``GetPrice`` `814 <https://github.com/CityOfZion/neo-python/pull/814/>`_
- Cleanup ``show nodes`` output `815 <https://github.com/CityOfZion/neo-python/pull/815>`_

0.8.2

-------------------
- Improve Tokens.py and ``token_send``, increase test coverage
- Fix max recursion depth exceeding when network data inflow exceeds processing speed
- Add log output control via the new ``config output_level`` command. The old ``config debug`` command is removed.
- Update Readme and Prompt.py ``help``
- Update documentation to include new ``IsPayable`` contract flag in the examples
- Fix discrepancy between ``getpeers`` RPC call and the ``maxpeers`` setting
- Update ``CreateAddress`` functionality and tests
- Add VM sanity checks for operations on ``BigInteger``'s
- Add raw transaction building examples in ``\examples\`` folder
- Add ExtendedJsonRpcApi, Add ``getnodestate`` RPC extended method, Add ``gettxhistory`` RPC extended method
- Fix return types of ``claimGas`` function.
- Update compiler version ``v0.5.6``
- Add the option -u (unittest-net) to prompt.py
- Add fixtures guidelines and add the smart contract source codes (UnitTest-SM.zip) to the fixtures package
- Adds ``sendmany`` feature to prompt.py, integrates with ``send`` feature, and adds provisions for sending with a negative fee and bad from_address
- Fix ``ExtendedJsonRpcApi``
- Fix cleaning up tasks for disconnected peers `687 <https://github.com/CityOfZion/neo-python/issues/687>`_
- Fix duplicate task starting for requesting blocks
- Add ``getblockheader`` RPC method
- Remove ``Neo.Witness.GetInvocationScript``
- Allow wallets to sync past corrupt blocks

0.8.1

------------------
- Add ``sendmany`` and ``sendfrom`` RPC methods & tests and integrate with ``sendtoaddress``
- Updated all the dependencies
- Add ``Neo.Transaction.GetWitnesses``, ``Neo.Witness.GetInvocationScript``, ``Neo.Witness.GetVerificationScript``
- Change notification transfer event format to use string quoted integer
- Fix Notification token list to include correct hash for contract and token
- Removes all ``hold`` and ``withdraw`` related functionality from wallet and prompt
- Various updates to inaccuracies in ``ToJson`` output of ``AccountState``
- Add documentation support for Python 3.7
- Change execution fail event payload to give more meaningful error messages

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.