Releases: chrisdigity/mochimo-nodejs
v0.3.3
Improvements to getTfile() and documentation fixes. Fixed an issue with some blockchain.js classes causing a RangeError after constructing instances using inputs of incompatible lengths.
+ Added option for negative bnum in Mochimo.getTfile()
! Fixed explanations of some incorrect documentation
! Fixed RangeError in blockchain.js constructors
v0.3.2
New Block class function for verifying a block hash. Introduces (some) tests for the Block class. New getHash() function for Mochimo module. Various improvements/changes to the Node class. Fixes for BigInt conversions in some files.
+ Added getHash() to the Mochimo module
+ Added verifyBlockHash() to the Block class
+ Added test.block.js tests (not complete)
! Fix BigInt conversions in blockchain.js and tx.js
! Improvements to node data handling and callserver versatility
! Improvements to node ping/baud calculations
# Change lastTouch to timestamp in Node class
# Changed order of properties in node.toJSON()
# Changed order of properties in TXEntry.toJSON()
v0.3.1
Typo fix for block type Block.NEOGENESIS
! Fixed Block.NEOGENESIS typo
v0.3.0
Introduces address functions for the Winternitz One-Time Signature (WOTS+) scheme for generating, signing and verifying addresses on the Mochimo Blockchain. Also, introduces simple getPeerlist()
and getBalance
functions, as well as various improvements to the entire module and documentation.
+ Added Wots class to Mochimo module
+ Added test cases to ensure Wots implementation integrity
+ Added getBalance() and getPeerlist to Mochimo module
+ Added improved toJSON(); LEntry, TXEntry, Blocktrailer & Block classes
+ Added setters to LEntry class
+ Added TAGLEN Constant
! Fixed ledger property for Block.GENESIS type blocks
! Fixed LEntry class constructor parameter defaults
! Fixed incorrect conditional check for undefined properties in Mochimo
# Revert tags properties to output default address tag instead of null
# Changed values of Block.<types> to appropriate strings
# Changed tamount to amount in Block class
# Changed internal function sanitizeArray to sanitizeUint8Array
# Exposed TXEntry and LEntry on Mochimo module
- Removed TXReference class
- Removed Block.typeStr in favor of standardized Block.type
v0.2.6
Improvements and fixes to the Block
class and removal of unnecessary functions in the Blockchain.js
file.
+ Added haiku and tamount properties to Block
! Fixed line endings in Tx.js
# Changed some conditionals in tamount, maddr, and mreward
- Removed toJSON(); LEntry, TXReference, TXEntry, Blocktrailer & Block classes
- Removed toSummary(); Block class
v0.2.5
Fixes for Block.toSummary()
and the mreward
property of the Block class.
+ Added typeStr getter to Block class
! Fixed mreward property value in Block class
! Fixed type property in Block.toSummary()
v0.2.3
Updates to the Block.toSummary()
and (indirectly) Block.toJSON()
functions.
+ Added haiku string to Block.toSummary()
# Changed the order of properties in Block.toSummary()
- Removed hdrlen from Block.toSummary()
v0.2.2
There were some unnoticed artifacts from old code in the Block class causing
transactions and ledger entries to be misread. This has been addressed and
access to transaction and ledger properties now result in a valid outcome.
PLEASE NOTE! This release includes BREAKING CHANGES to the specification for the TXReference class.
! Fixed the way transactions and ledger entries are derived from the Block class
# Changed the TXReference class specification to include the source address
v0.2.1
Found a need to Summarize a Block class to block header and trailer info, excluding block contents.
+ Added toSummary() to Block class
v0.2.0
The big ES6 Module Overhaul. "Big Arrow" type functions, promises and async/await compatibility.
Introduces:
- the Mochimo module as the basis for all things great and delicious, replacing silly names like Core or MochimoCore
- async/await Promise behavior throughout the module
- standard get* functions for common network requests, directly accesible in the Mochimo module
- internal LOG module for easier management of API debugging
+ Added LOG* class to module
+ Added LEntry*, TXReference*, and TXEntry* blockchain related classes to module
+ Added BlockTrailer, Block, and Tfile blockchain related classes to module
+ Added Trigg class with limited functionality to module (not documented)
! Fixed potential duplicate peer handling in node.socket "data" event
# Changed Node class format to hold static functions handling peer communication
# Changed commenting style for ability to easily comment out segments of code
# Changed scope of certain internal functions to suit multiple top level classes
- Removed unnecessary peer handling in Mochimo module
- Removed erroneous functions in Mochimo module
! Fixed spelling of asterisk in DOCS/CHANGELOG
! Fixed some descriptions in DOCS/README.MD
# (*) asterisk indicates private