Nxt Forum

Nxt Discussion => Nxt Software Releases => Official Nxt Releases => Topic started by: Jelurida on February 27, 2020, 12:32:58 pm

Title: NRS v1.12.1
Post by: Jelurida on February 27, 2020, 12:32:58 pm
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Release 1.12.1

https://www.jelurida.com/nxt/downloads

sha256 checksums:

d5d48729a1f32b8c11066bcdb203dd7760a582896afe8d2506feb93cf833f606  nxt-client-1.12.1.zip

e674acd327f09af56c8dc4bad8aee56b1c67301a97015ccc589ef516ee0b7248  nxt-client-1.12.1.sh

The exe and dmg packages must have a digital signature by "Jelurida Swiss SA".


Change log:

This stable release is a mandatory upgrade for all mainnet Nxt nodes.

A hardfork to activate several new features that have already been enabled on
testnet in 1.12.0e has been scheduled for block 2870000, expected around April
15, 2020. The following new features will be activated on mainnet:

    Asset Dividends payment by asset or currency, allowing paying asset
    dividends not only in NXT, but also in any asset or monetary system
    currency.

    Asset Properties, setting arbitrary name/value metadata on assets.

    Asset Increase transaction, allowing asset issuers to increase the total
    number of asset shares available.

More details about the above features were published in the previous 1.12.0e
changelog.

Optimize checkpoint calculation by using hash of checkpoint block bytes
instead of hashing all intermediate transactions.

Simplified setting up https on a public node without the need for a reverse
proxy. The new pem.to.pkcs12.keystore.certbot.hook.sh script can be used to
convert an SSL certificate issued by Let's Encrypt to a keystore file that
the Nxt node can use. The run.sh script now supports authbind, if started with
the --authbind modified, to allow the Nxt software to listen on port 443
without having to run it as root.

A new managePeersNetworking API has been added, to allow disabling or
enabling the node peer networking at runtime. It takes a single "operation"
parameter, with possible values: "enable", "disable", and "query", and
requires the adminPassword when run on a public node.

Added a new GetEpochTime API, to return the blockchain epoch time given a unix
timestamp.

Added a new property nxt.stopDownloadHeight to allow forcing the blockchain
download to stop once a certain height is reached.

The compact.sh script has been improved to better reduce the database size.
A new property has been added, nxt.disableCompactOnShutdown=false to allow
disabling database compact on shutdown, for faster restarts during development.

A new property has been added, nxt.deleteProcessedVotes=true, to optionally
disable the deletion of votes records when trimming the votes table. Note
that even if votes are not deleted, re-calculation of poll results may require
data that are no longer available (such as account or asset balances at the
time of poll finish), unless a blockchain rescan is done, this is why the
default is still to delete old votes records.

Various UI fixes and improvements.

Updated Jetty to version 9.3.28, H2 to 1.4.200. If using a custom nxt.dbParams
or nxt.dbUrl properties, remove any MVCC settings from them, MVCC is now the
default and not configurable.


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

iQIzBAEBCgAdFiEEvs/qm2srO/+g27NEDPnHRy2AuLkFAl5XqfoACgkQDPnHRy2A
uLl9Tg/9HrIOmFHcvUkrhuhCdTTI4ZwaG8iuC6tc4BTjD/P08ulagxQxYAOjD2Yd
5/NcNmCNHQtiaxmIhgtnKUD17qjnrS8DErdaQEHHf1xm0ew4ecmwhVj8lMJXriQz
T4bPBJm7UdRzto8N6hPWXMbb2IgAMqv7nBUOjELtpZLIaMdtGtU+El239njeawaW
1zxvc19jVqfmvTPTJ89CTFe4JNcxlz233Q9XUzrxaxqnfylrpygDRP8RcOVJCWjB
Rzs68Cl7PbK6EcbTmy4fXylVJakkjP9AWgd3k2iAkm6knP1tNF8p2z2azsd6IQJU
/dKozxO58CPmzRn98PERt/xERZEKAkX6Jw+kU8w6OVpCeA4tuxc4EGhIt6fhMwzv
pBi/5ugRhMIRSkquqULlBaTtJIm4T1+HVSvTpferCQs0nXaekanL7NS3jwsW3aHd
ZIkpATvS9l3ebF3LwABGe9beC9eR0uvuyCYDEV1VWU5wqa6dBB+aiDUVzqnILQVP
45zi8TIu2B+A8/k8R9Jwsj9X2TvS1lb/U3XoPnL9jmDLS7566yM+Z/KLn2HNacZ2
38Rj7gIPavcF8DTFlKnpyOuM2o08FyUnTHYxgt27zL/a+hzEWO6twuJdlQJEETD4
iGHOdF/+iolMKK0+g8PJ3jmUKGdsKtRbMD5vlR5fvRw3rZGnIQQ=
=w6ZR
-----END PGP SIGNATURE-----
Title: Re: NRS v1.12.1
Post by: Jose on February 28, 2020, 08:16:01 am
Nice features added! Thanks!

I find this one specially interesting:
Quote
Asset Dividends payment by asset or currency, allowing paying asset dividends not only in NXT, but also in any asset or monetary system currency.
Title: Re: NRS v1.12.1
Post by: Right.Here on March 03, 2020, 01:28:55 pm
there is some problems with this version i think  ???
in the first run, NRS crash with an old blockchain... seems like h2 can't write in it...
next i removed the nxt_db to reload the blockchain from the genesis but seems that the node detected a double spending at height 35613 and start a loop of rollbacks from 35612...

in any case it does not work and this attempt corrupted the blockchain the 1st time... so, do not upgrade now

currently i re-sync the blockchain under 1.11.15 and i will test again when it is done.
please if you have problems with this upgrade, let me know... ty
Title: Re: NRS v1.12.1
Post by: Jose on March 03, 2020, 03:08:04 pm
I updated to the latest version some days ago and I had no problem. It's working smoothly for me.
By default the wallet compacts the database everytime you close the wallet (and I'd say it also compacts the database the first time you run this new version, but not sure of this point) The compact script uses more resources than the wallet itself, so maybe that could be a reason for that corrupted DB.
Title: Re: NRS v1.12.1
Post by: Right.Here on March 03, 2020, 03:25:24 pm
i got a crash at the startup in the SQL part... unfortunately i did not a copy of the log but from memory, it was a fail to apply
Code: [Select]
"CREATE UNIQUE INDEX IF NOT EXISTS block_id_idx ON block (id)"right after the connexion to the h2 is closed... i use the zipped version... cpu i7 4c/8t and 8Go of ram... i don't think the resources are the problem i set the memory limit to 2Go and the h2 cache to 1280Mo without results...
Title: Re: NRS v1.12.1
Post by: Jose on March 03, 2020, 04:39:11 pm
Since you're using the Platform Independent Zip Package, remember to delete the LIB folder before unzipping the new version on top of the existing nxt folder.
Jetty and H2 libraries were updated with this release, so maybe that's causing the conflict.
Title: Re: NRS v1.12.1
Post by: Right.Here on March 03, 2020, 10:15:36 pm
Since you're using the Platform Independent Zip Package, remember to delete the LIB folder before unzipping the new version on top of the existing nxt folder.
Jetty and H2 libraries were updated with this release, so maybe that's causing the conflict.
i rename the nxt folder to nxt-old and i add the new version folder... i don't replace the things so, the LIBs are not the problem i think...

i re-download the blockchain with forcing the validation of the blocks/tx because i found the  double spending story very strange... i will try to reproduce the bug to see what is wrong
Title: Re: NRS v1.12.1
Post by: Right.Here on March 04, 2020, 12:11:21 am
fixed  :D
i downloaded the blockchain from the jelurida website because the normal sync will take a lot of time... and works fine... but seems there is something wrong somewhere...
i have a lot of rollbacks on each block and there is 2 or 3 forgers sending blocks from the future...
(https://i.ibb.co/GRX1Q22/nrs1.png)

there is a difference of 2GB between the old and the new blockchains... well done :D
elective-stereophonic
elective-stereophonic
assembly
assembly