Skip to content

Production Release of the v2.4.1 Mochimo Network

Compare
Choose a tag to compare
@mochimodev mochimodev released this 25 Dec 05:14
· 356 commits to master since this release

This is the Production Release, v2.4.1 of the Mochimo Codebase, and features major improvements to lookup speed for transactions, improvements to network stability, bug fixes, and additional improvements to the multi-destination transaction subsystem.

This version is fully backward compatible with the v2.4 code version, and is therefore considered "optional" for all node operators.

CHANGES:

  Changed PATCHLEVEL to 37 in mochimo.c and minertest.c
  Changed VERSIONSTR to "37" in mochimo.c and minertest.c
  Fixed previous hash check in checkproof() in proof.c
  Added byte Insyncup;  /* non-zero when syncup() runs */ to data.c
  Added Insyncup to syncup() in syncup.c
  Added addrlen to le_find() in ledger.c
  Added Tagidx[] to tag.c
  Changed tag_find() in tag.c, txclean.c, and mtxval.c
  Added tag_free() to tag.c, update.c
  Changed pval.c server.c, and config.h to allow 0xff pseudo-blocks
  Removed bigwait from server.c
  Added proper time_t vtime for vstart.lck check in server.c
  Added Insyncup to update() in update.c to help plog()'s
  Added char *solvestr to update() to reckon pushed, solved, and updated blocks.
  Simplified parameter logic in tag_valid() and calls from bval and txval.c.
  Added Syncup Function, Removing Contention
  made mochimo/bin/d/split
  modified bx.c to indicate tags not found in MTX.
  replaced 100 with NR_DST in bval.c mtxval.c txclean.c
  proof.c changed comments
  syncup.c changed fprintf's to plog's
  server.c changed ipltime from 600 to 300.
  rewrote checkproof() in proof.c
  changed comments and plog's in gettx.c
  fixed missing error return lines in bval2() in gettx.c:
  put back V23TRIGGER check in checkproof() in proof.c
  tried to improve comments and plog() messages.
  removed FILE *rlog from syncup().
  added send_found() to syncup.c.
  added Send found message to low weight peer in refresh_ipl()
     in renew.c.
  added MTXTRIGGER to bval.c mtxval.c txclean.c txval.c config.h.
  added support for third-party utility integration, with:
  added system call to init-external.sh on initial system sync
  added system call to update-external.sh on successful block update
  added advanced support for block-explorer export functionality
  Added support for third-party utility triggered system restart()
  Added directories mochimo/src/test and mochimo/src/old for testing this build
  Added weight checks to contention() and checkproof()
  Bugs fixed in checkproof()
  Added functions sub_weight(), and past_weight() to proof.c
  Added return code to send_found() in update.c
  Added sftimer for send_found() in server.c
  Added vstart.lck restart trigger (Verisimility) to server.c
  Updated comments
  Fixed bug in past_weight() to skip NG blocks
  Fixed bug in checkproof() to skip Difficulty check on init.
  Fixed bug in syncup() w/first previous NG block
  Swapped Bail(1) and Bail(2) to avoid recomputing past_weight() if
     first trailer doesn't match.
  Improved Code readability / comments for checkproof() bail conditions 6 & 7
  Fixed bug in syncup() to skip NG blocks```