All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.4.3 - 2021-04-04
- Hexadecimal strings prefixed with '0x' no longer raise a binascii.Error when passed to functions that expect a hexadecimal string as a parameter.
- Fix C extension build failing when using older GCC toolchain.
0.4.2 - 2020-06-25
- Fixed build on 64-bit ARM where
-mfpu=neon
build flag isn't supported by the GCC toolchain.
- Default difficulty increased to
fffffff800000000
in anticipation of upcoming network upgrade.
0.4.1 - 2020-01-02
- Fix pip installation in ARM environments.
0.4 - 2019-10-23
- Add
Block.to_dict()
- Improved performance when encoding or decoding account IDs.
- Reduced memory footprint for Block instances.
0.3 - 2019-06-08
- Add support for Windows (x86 and x86-64) using the MSVC compiler.
- Add support for Linux (ARM) using the GCC compiler.
- Add support for the NEON instruction set on ARM for better performance when generating PoW.
- Add
nanolib.accounts.validate_seed
function for validating seeds. - Add
nanolib.work.validate_difficulty
,nanolib.work.get_work_value
,nanolib.work.derive_work_difficulty
andnanolib.work.derive_work_multiplier
functions to help with dynamic PoW difficulty. - Add
Block.difficulty
property to adjust the required work difficulty on a per-block basis. - Add
Block.work_value
property to get the value of the included work.
- Enable multithreading when generating PoW by releasing GIL.
- Fix conversions between MILLINANO and MEGANANO units when using strings as denomination parameters.
- Verify epoch V1 state blocks correctly. See nanocurrency/nano-node#955 for details.
0.2 - 2019-03-07
Block.has_valid_work
andBlock.has_valid_signature
properties are cached to prevent redundant work.
- PyPI package
pynanocurrency
and modulenanocurrency
have both been renamed tonanolib
. - Improved performance when encoding or decoding account IDs.
- Raise a
decimal.Inexact
exception when trying to convert amounts with higher precision than a single raw.
- Initial release