NXTER.ORG

NRS 0.8.12

Jean-Luc release, mostly for testers.

—–BEGIN PGP SIGNED MESSAGE—–

Hash: SHA1

Release 0.8.12

http://download.nxtcrypto.org/nxt-client-0.8.12.zip

sha256: 1f9cd574914fef3ff0528cceee6b264876f90b763881b50dc1a196dbfb9598d5

Change log:

This release is only about testing and debugging. There is no need to
upgrade if you are not interested in doing testing.

Added DebugTrace.java, which uses listeners to monitor all changes to
account balances and asset balances, and all the events that cause
those changes – transactions, block generation fees, order placement,
asset issuance, asset transfer, order cancellation, trade.

This feature uses two new properties in nxt-default.properties:
nxt.debugTraceLog=nxt.trace
nxt.debugTraceAccounts=

To enable tracing of account balances, set nxt.debugTraceAccounts to
a list of account id’s to be tracked, separated by “; ” . The output
will be saved to nxt.trace, or the file defined in nxt.debugTraceLog.
Values in this file are tab-separated, to make it easy to import into
a spreadsheet application.

It is possible to enable tracing of all existing account balances, by
setting nxt.debugTraceAccount=* .

On restart, and also on rescan, the nxt.trace log will be overwritten.

Added VerifyTrace.java, which can parse the nxt.trace file (or a file
specified as a command line argument), and perform some verifications.
Currently, it verifies that for each traced account, the final balance
matches the total of all changes that affect that account, as
recorded in the nxt.trace log. It also verifies that for each asset,
the total of asset quantities in all accounts matches the original
quantity of asset issued. This verification can be expected to fail if
not all accounts that own an asset are included in debugTraceAccounts.

To run VerifyTrace, use the verify.sh script. The Nxt server should be
stopped first, so that the nxt.trace log does not continue to be
updated while VerifyTrace is verifying it.

Unconfirmed balances and unconfirmed asset balances are logged, but
not verified by VerifyTrace, because the presense of open or partially
filled orders can make that too complicated. It may be easier to
program a spreadsheet application to handle such calculations.

Added TRADE event, triggered when a Trade occurs. Note that the Trade
event happens before the update of the account balances.

Added BEFORE_BLOCK_APPLY and BEFORE_BLOCK_UNDO events, triggered just
before the corresponding operations in block processing.

—–BEGIN PGP SIGNATURE—–
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJTLCIoAAoJEFOhyXc7+e2ANSMP/0VLUj4HJj2Ggp0yGaZQjJOC
fDsnxzF+1B/+UJbUbanukqxK156YCWSR88JLWwPPj6sYB2g8b61of2s9hNUth9m7
qFWQGjw8tjPr93aulNwPcVPmrZ45lQjSFRISYbBhwmhbEiZFI580zW232P2xHF1y
FewPsy91EGrDRwpI/zgkQiVTyHypHw7V05HmLPHEf9norgI5o6VuRzKC6zbrzHS+
MMMmRlsDpGnXr3FML+QY1qehuDxVsW1mMwhPu7R4EWscWaRoUa6VgaQcDW948Q7w
q5Xygx/KsBHTqUUtKrRuEiIcbeWVpmw75lOiT1bIEnrnS63CNf0yLonyRALredR2
YekxjLONDN7buYWIsZ9FkLsB4zoiCs7/o41J4fgZGItXqaFZztWBeYPCdrlHYAzZ
4u4QdUgrJFLVBMYUQnJCRsto4b+IhDAF5vprkNNed1CVw4IWDvNzCRtPpV43PSCV
L5pn94XMaUVF9u35Pex6dPS8jh4/hIJWX3UyLPYiyNql+wVf2LylMuCM3sdBtXxg
eQikARgB1uHAAks+B/xCF2bQZoukTo0vO4qXUs/bpSEZzxMwVpAPYXo2fs5c5CYq
9zpjeXhKTaw2KooHwftu67LRkSlrWsnwDkcbR5Ug44Jss6KzIB1kHyVxODPrtZqW
s69236xlavNtxQuwYGbW
=bZmc
—–END PGP SIGNATURE—–

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.