Skip to content

Releases: chrisdigity/mochimo-nodejs

v0.3.3

18 Aug 04:38
v0.3.3
62c1bec
Compare
Choose a tag to compare
v0.3.3 Pre-release
Pre-release

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

17 May 23:59
v0.3.2
0eb8f3c
Compare
Choose a tag to compare
v0.3.2 Pre-release
Pre-release

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

03 May 00:29
v0.3.1
95e51b0
Compare
Choose a tag to compare
v0.3.1 Pre-release
Pre-release

Typo fix for block type Block.NEOGENESIS

! Fixed Block.NEOGENESIS typo

v0.3.0

29 Apr 11:47
v0.3.0
497f7a0
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

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

18 Feb 00:23
v0.2.6
bd9249a
Compare
Choose a tag to compare
v0.2.6 Pre-release
Pre-release

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

09 Feb 06:05
v0.2.5
9597840
Compare
Choose a tag to compare
v0.2.5 Pre-release
Pre-release

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

09 Feb 05:25
v0.2.3
e01b888
Compare
Choose a tag to compare
v0.2.3 Pre-release
Pre-release

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

07 Feb 00:27
v0.2.2
a8cc3a3
Compare
Choose a tag to compare
v0.2.2 Pre-release
Pre-release

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

03 Feb 21:52
v0.2.1
4818c6a
Compare
Choose a tag to compare
v0.2.1 Pre-release
Pre-release

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

22 Jan 12:06
v0.2.0
0304106
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

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