Skip to content

Latest commit

 

History

History
69 lines (54 loc) · 2.9 KB

CHANGELOG.md

File metadata and controls

69 lines (54 loc) · 2.9 KB

Changelog

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

Fixed

  • 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

  • Fixed build on 64-bit ARM where -mfpu=neon build flag isn't supported by the GCC toolchain.

Changed

  • Default difficulty increased to fffffff800000000 in anticipation of upcoming network upgrade.

0.4.1 - 2020-01-02

Fixed

  • Fix pip installation in ARM environments.

0.4 - 2019-10-23

Added

  • Add Block.to_dict()

Changed

  • Improved performance when encoding or decoding account IDs.
  • Reduced memory footprint for Block instances.

0.3 - 2019-06-08

Added

  • 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 and nanolib.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.

Changed

  • Enable multithreading when generating PoW by releasing GIL.

Fixed

  • 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

Added

  • Block.has_valid_work and Block.has_valid_signature properties are cached to prevent redundant work.

Changed

  • PyPI package pynanocurrency and module nanocurrency have both been renamed to nanolib.
  • Improved performance when encoding or decoding account IDs.

Fixed

  • Raise a decimal.Inexact exception when trying to convert amounts with higher precision than a single raw.

0.1 - 2019-03-01

Added

  • Initial release