Nxt Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client 1.11.5 - NEW RELEASE: Ardor 2.0.3e TestNet IS LAUNCHED!

Pages: [1] 2  All

Author Topic: NRS v1.8.0e  (Read 4046 times)

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1589
    • View Profile
  • Karma: +805/-81
NRS v1.8.0e
March 30, 2016, 07:58:42 am

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Release 1.8.0e

https://bitbucket.org/JeanLucPicard/nxt/downloads/nxt-client-1.8.0e.zip

sha256:

795402b72a937f4cd3055d2bf412f8952ed16f610a24e3953be8eebd601d9bd6  nxt-client-1.8.0e.zip

https://bitbucket.org/JeanLucPicard/nxt/downloads/nxt-client-1.8.0e.sh

sha256:

e5bd3bff5a2f4d1fe6fead9142913d776b0dd4700d9a865c63a23e8fa74d2e03  nxt-client-1.8.0e.sh

https://bitbucket.org/JeanLucPicard/nxt/downloads/nxt-client-1.8.0e.exe

https://bitbucket.org/JeanLucPicard/nxt/downloads/nxt-installer-1.8.0e.dmg

The exe, dmg, and sh packages must have a digital signature by "Stichting NXT".


Change log:

This is an experimental release. It adds several new features, which however do
not require a hard fork.


JavaFX UI:

A desktop wallet UI, mostly equivalent to the in-browser UI, is launched on
supported platforms automatically when the server is started by clicking on
the Nxt desktop icon or start menu shortcut.

More details about the JavaFX UI are available at:
https://bitbucket.org/JeanLucPicard/nxt/issues/338/desktop-wallet

The property nxt.defaultDesktopAccount can be used to specify an account to
login to automatically once the desktop wallet loads.

The desktop wallet UI can be disabled by setting
nxt.launchDesktopApplication=false

The pre-compiled package will still run if JavaFX is not available, but to
recompile the code on such platforms the compile-nojfx.sh script must be used,
which skips the compilation of the desktop wallet.

The installer now creates a start and stop menu shortcuts and desktop icons on
Unix platforms too, which start the NRS client in desktop mode. From the
command line, use the new start.sh script to start the client in desktop mode,
and the corresponding stop.sh script to stop it. The start.sh and stop.sh
scripts can be run from any directory.

The jar installer package has been replaced with a self-extracting shell script
package nxt-client-1.8.0e.sh, which Unix users can just run, or click on, in
order to launch the installer. An advantage of using the installer instead of
the zip package is that the installer will create the above mentioned menu
shortcuts and desktop icons, and will also automatically remove old libraries
from previous installations in the same directory.

A known bug (of IzPack it seems) is that on Unix the installer fails to create
desktop icons when installing in a not yet existing target directory. It will
also fail to remove old menu shortcuts and desktop icons, so first running an
uninstall of a previous installation is still advisable.

Incompatible change:

Note that when run in desktop mode on Unix and Mac, the ~/.nxt directory is now
used to store configuration files, logs, and the nxt_db blockchain database.
This makes it simpler to upgrade to a new version, by deleting the content of
the old nxt installation directory, as no user configuration files or database
files are stored in it.

The run.sh script continues to use command line mode, i.e. does not attempt to
start the desktop wallet and desktop tray icon, and continues to use the nxt
installation directory from within which it must be run to store the nxt_db
database, logs, and configuration files. Users who want to use desktop mode but
still use the nxt installation directory instead of ~/.nxt for those files can
use the run-desktop.sh script instead.


Funding Monitor:

The new Funding Monitor feature provides monitoring account balances, and their
automated replenishment from a funding account, based on account properties set
by the funding account to the monitored accounts.

NXT, asset, or currency balances can be monitored. If a balance falls below
the configured threshold, a transaction will be submitted to transfer units
from the funding account to the monitored account. A transfer will remain
pending if the number of blocks since the previous transfer transaction is less
than the interval configured for the monitor.

The APIs for the Funding Monitor feature are StartFundingMonitor,
GetFundingMonitor, and StopFundingMonitor. Detailed documentation for those is
provided in the API javadoc files. A user interface for setting and viewing
currently running Funding Monitors is accessible from under the cogwheel menu.


Client UI page or modal redirection. By adding page or modal parameters to the
http://localhost:7876/index.html URL, the client can be redirected to open a
specific page or modal pop-up, with pre-populated parameter values.
For usage example, see:
https://bitbucket.org/JeanLucPicard/nxt/pull-requests/42/added-page-redirect-modal-popup-with

The Marketplace has been enhanced by adding recent listings and recent
purchases tables, showing the last 10 goods listed or purchased.

Marketplace listings now can have images. Image files are uploaded as prunable
unencrypted binary message attachments to the DGSListing transaction. A new
messageFile file parameter has been added to the dgsListing API, to allow
direct upload of files as multipart form data. This parameter is also supported
by all createTransaction APIs which allow message attachments, but is not
exposed on their /test API pages.

Image attachments that have been pruned are retrieved automatically from
archival nodes when the user views the page.

A new downloadPrunableMessage API has been added, to allow downloading of
prunable message attachments directly as binary data. An optional secretPhrase
parameter is supported, to allow decryption and downloading of the encrypted
part of the message instead of the plain text part.

The nxt.apiSSLCiphers property can be used to select which SSL ciphers should
be enabled for the API server when using SSL.

Unless overridden in nxt.myPlatform, the real system platform is now shown in
the peer info, as found in the java os.platform and os.arch system properties.

Other minor bugfixes and optimizations.

Updated jetty to version 9.3.8, lucene to 5.3.2, tika to 1.12, and slf4j to
1.7.18. Delete the old lib directory first when installing manually on top of a
previous installation. If using the installer, old libraries will be deleted
automatically, as well as any existing files under the classes and html
directories, excluding html/ui/plugins.


Server-side add-ons:

It is now possible to trigger script execution, or really add any custom Java
code to the server, by writing a class which implements the nxt.addons.AddOn
interface, making sure it is on the classpath, and enabling it by adding its
name to the nxt.addOns property. See the example add-ons in the nxt.addons
package. The AfterStart and BeforeShutdown add-ons can be used to trigger
scripts to be run just after the server has started, and just before shutdown.
Java source files for add-ons can be placed under addons/src to be compiled with
the compile.sh script, and the resulting class files under addons/classes will
be included on the classpath at runtime.

This is an unsupported feature for developers only. While in the 1.x series
the Java API is expected to be stable, it will undergo significant refactoring
in 2.0. Keep any custom add-on code simple, and be prepared to have to change it
for 2.0 or discard it. It should also be obvious that such custom Java code can
crash your node or have unexpected side effects.

Malicious add-ons installed under the classes directory can easily get access
to your secret phrase. For add-ons installed under addons/classes, this has been
made more difficult, but they could still do other malicious acts. Therefore,
do not install and run add-ons from untrusted sources.


-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJW+2xKAAoJENqvaxkWiP4ZzRcP/1+mhG28nRX2S7Fxn0HPMDfP
g5fT+9TteG/6HkNYSqVQeUBt0MPi1V9DDYaUg/tsnJZbmf3kBf58dhE75Tjoa0gD
X1xb8t+wZ+jgCg6QkCWxSe16l5zMDmr4/JeWgoTMkx8Mvw1GNR+CyBWeps31kp+X
T9OYa3TYlvS4iagR3nCD3F70iUmSfD/Ufsjftjd/pTHYtfHcLHVKTie2yhw9YUcE
tT2qYVgkEsFD5r+0PDUIzwrAQj8HvMRPxtD9LTeyvtt3mhpjzowtdEzNSBCmkCSE
8sd2ef57TW9nmo/Ikew7VgYD1yqMmQ+vqdpq9NruqU7i2SCKpJpaE5zo4FlNXSze
OH6oF/dfb9jxXIwZg/61MIc87H7Q93eHVvtwOLZ9tkmcHckSoEYNqyjpdwu9YILo
aV0lY35bVth4ok0ikse0AU/wZ8+qm88JzyFz6rTRDw4VzuAvnABkP1Jz7mRYJEty
NdMEX4H+JrXOdpWdD6F7rysA8NdWjRQyq1stcj7bjvah3ZSXPRG68rZvNd9E/BT4
8yQ8jt+cpa6M9gXVGe53g7FsygjGQ8a6RkjP3uicPFd7Uq9HoxhMgom/u4JJ3qWh
Qt2z4dBRjWVueDjEma3YIcPWAN9Pj7SWAYLcxmBljlxQUGyKi4R97Dsjm3zVNr7M
+YfjgOf0uKLhaudoVdsg
=Ax8w
-----END PGP SIGNATURE-----
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322

bcdev

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 666
    • View Profile
  • Karma: +162/-22
Re: NRS v1.8.0e
March 30, 2016, 08:18:08 am

1.8 will not require a rescan I assume?

Eliphaz Fimk

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 22
    • View Profile
  • Karma: +5/-2
Re: NRS v1.8.0e
March 30, 2016, 08:19:16 am

Images for Marketplace have been long needed. Auto funding, an usable surprise feature, well done.

1GB resource usage of the exe crashed my system but maybe that's just the old laptop "on e".

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1589
    • View Profile
  • Karma: +805/-81
Re: NRS v1.8.0e
March 30, 2016, 08:23:04 am

No rescan. But if somebody lists an item with image on the marketplace, and you upgrade to 1.8.0e only after that, you will not see the image - unless you manually do a rescan or redownload.
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322

yassin54

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2508
  • I am Homer, Sorry my english is Bad!!
    • View Profile
  • Karma: +240/-14
Re: NRS v1.8.0e
March 30, 2016, 08:43:36 am

qq2536007339

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 437
    • View Profile
  • Karma: +37/-9
Re: NRS v1.8.0e
March 30, 2016, 09:29:04 am

Thanks guys,will update.
NXT-DJ68-PG7W-4JEU-2LU5T

Riker

  • Core Dev
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1518
    • View Profile
  • Karma: +398/-42
Re: NRS v1.8.0e
March 30, 2016, 09:29:45 am

1GB resource usage of the exe crashed my system but maybe that's just the old laptop "on e".

Shouldn't happen. How much Ram do you have on your laptop ? How much of it is free ? Do you see any errors in the nxt.log ?
Post it here if you like me to review it.
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

qq2536007339

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 437
    • View Profile
  • Karma: +37/-9
Re: NRS v1.8.0e
March 30, 2016, 09:49:12 am

I notice date format is changed for desktop wallet,I don't like it,but I can't change,hope this can fix at next release.
NXT-DJ68-PG7W-4JEU-2LU5T

Riker

  • Core Dev
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1518
    • View Profile
  • Karma: +398/-42
Re: NRS v1.8.0e
March 30, 2016, 09:54:48 am

I notice date format is changed for desktop wallet,I don't like it,but I can't change,hope this can fix at next release.

Date format is correct on my machine ... please explain the problem.
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

qq2536007339

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 437
    • View Profile
  • Karma: +37/-9
Re: NRS v1.8.0e
March 30, 2016, 10:18:08 am

I notice date format is changed for desktop wallet,I don't like it,but I can't change,hope this can fix at next release.

Date format is correct on my machine ... please explain the problem.

I'm not say it's wrong,it's just not previous YYYY-mm-dd format,now seems US date format which I'm not used to use.
NXT-DJ68-PG7W-4JEU-2LU5T

abctc

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1211
    • View Profile
  • Karma: +141/-13
Re: NRS v1.8.0e
March 30, 2016, 10:27:03 am

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Release 1.8.0e
...
- thank you!  Translated and shared here: https://bitcointalk.org/index.php?topic=345882.msg14360996#msg14360996

Node successfully updated.
Welcome to the Nxt generation of crypto!   Magis quam Moneta (More than a Coin)
"Do not worry, it is an attack" (c) Jean-Luc

Sebastien256

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2679
  • ^LOOK UP^ = Nxt community!
    • View Profile
  • Karma: +162/-24
Re: NRS v1.8.0e
March 30, 2016, 10:34:35 am

That desktop wallet is cool. Thank you all for this release.  :)
Please drop your ideas concerning Nxt and/or NRS in this topic -> List of feature request for Nxt and/or NRS (with the full list in OP).

Riker

  • Core Dev
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1518
    • View Profile
  • Karma: +398/-42
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

Nxter

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 593
    • View Profile
  • Karma: +61/-7
Re: NRS v1.8.0e
March 30, 2016, 12:40:31 pm

That looks great, thanks team.
I will download and try this desktop wallet when I get home. 

farl4bit

  • Global Moderator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3321
  • Go Nxt!
    • View Profile
    • Blockchain Startpagina
  • Karma: +203/-43
Re: NRS v1.8.0e
March 30, 2016, 05:15:45 pm

I really really love the Mac Wallet. It's back.  :) :) :-*

starik69

  • Full Member
  • ***
  • Offline Offline
  • Posts: 198
    • View Profile
  • Karma: +10/-15
Re: NRS v1.8.0e
March 30, 2016, 05:34:41 pm

Oh, i have some confusion. :-[
Previously we had some "server" and "desktop" switches (in command line or config). 8)
Now exe installer puts on desktop two links: "server" and "wallet".  :)
Wallet launches default browser with "http://localhost:7876/index.html". :-\
Now Server runs exe with JavaFX client. :o
All this confuses me and i think somehow can be improved ::)
NXT-R2U6-22MC-LQL2-22222 (648774468) - NXT | All versions of NXT client and more - https://mega.co.nz/#F!J1xmgAyC!cnaqdxHALLMGiS0hTPrhAg

Tosch110

  • Global Moderator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2375
    • View Profile
  • Karma: +211/-16
Re: NRS v1.8.0e
March 30, 2016, 05:40:00 pm

Thank you so much for all the work. Will try to get familiar with it asap and test out the new functionality :)

starik69

  • Full Member
  • ***
  • Offline Offline
  • Posts: 198
    • View Profile
  • Karma: +10/-15
Re: NRS v1.8.0e
March 30, 2016, 06:02:52 pm

Oh, another one. :-[
Many items in JavaFX client have obsolet context menu "Open Link in New Window", but i guess it is imposible to remove it. :'(
Also "Download" button in Data Cloud seems do nothing ::)
NXT-R2U6-22MC-LQL2-22222 (648774468) - NXT | All versions of NXT client and more - https://mega.co.nz/#F!J1xmgAyC!cnaqdxHALLMGiS0hTPrhAg

Riker

  • Core Dev
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1518
    • View Profile
  • Karma: +398/-42
Re: NRS v1.8.0e
March 30, 2016, 06:09:16 pm

Oh, i have some confusion. :-[
Previously we had some "server" and "desktop" switches (in command line or config). 8)
Now exe installer puts on desktop two links: "server" and "wallet".  :)
Wallet launches default browser with "http://localhost:7876/index.html". :-\
Now Server runs exe with JavaFX client. :o
All this confuses me and i think somehow can be improved ::)

I'm contemplating about the the "wallet" link, on one hand it's now obsolete since we have the desktop wallet which itself has a web wallet link on the top right next to the logout icon.
On the other hand some users may not be able or may not like to use the desktop wallet so for them this link is a small time saver.
I'm 80% in favor of removing this wallet link.
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651
Pages: [1] 2  All