elective-stereophonic
elective-stereophonic
NRS v1.4.10
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client: Nxt 1.11.15

Pages: [1] 2 3  All

Author Topic: NRS v1.4.10  (Read 11612 times)

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Karma: +816/-81
  • Offline Offline
  • Posts: 1610
    • View Profile
NRS v1.4.10
« on: January 25, 2015, 09:04:43 pm »

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Release 1.4.10

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

sha256:

114349601aa8bf9f700a99963677d61ce98cc7fa545295fefea7b44ed2a3beaa  nxt-client-1.4.10.zip


Change log:

Improved display of blockchain downloading status in the client UI.

Added client translations, changed state from beta to stable for the following
languages: Italian, Dutch, Ukrainian.

Fixed a bug in transaction bytes parsing which could cause signature
verification failed errors and break forging.

When downloading the blockchain, require at most one fork confirmation when
still below the last hardcoded checkpoint (currently MS block).

New API calls for peer management: addPeer and blacklistPeer. AddPeer will add
a peer address or IP, optionally with port number, to the list of known peers
and will try to connect to it. BlacklistPeer (password protected) will
blacklist a peer, for the default blacklisting period.

These APIs, and a few others related to peer networking, have been grouped under
a new Networking tab on the /test page.

Peer port handling has been improved to allow different peers to share the same
IP address provided they use different ports.

To prevent overloading a node with invalid peer addresses, the maximum total
number of known peers is limited to nxt.maxNumberOfKnownPeers (default 2000).
Once this number has been reached, new peer addresses are not added, and peers
that have been last connected to more than a week ago are removed from the known
peer list, provided the node has enough connected public peers, until the number
of known peers is again reduced to below nxt.minNumberOfKnownPeers (default
1000).

Improved database performance by storing currency supply and reserve per unit
data in a separate table.

This release will perform a rescan on first start.

Updated jetty to version 9.2.7. If unpacking on top of a previous installation,
delete your lib directory first to remove the old jetty libraries.


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

iQIcBAEBAgAGBQJUxVi8AAoJEFOhyXc7+e2AvWQP/09GHrCDnq1OrqWPVNaFDk1y
GGXsdCgp/cst4GsqozmyVAmEhhIKos60m76DsATLIpW6hPPcXXpRfDdjQWglHpxq
0Emn7AmhMozfzi/S7+yJswBlWwvFAhuhWk7/xZRukuREQAiAXx0Tw0H5bc8MX4+C
neMLEURZgAuLJfWkNDzIeQrXlETbeJz7fELUt05NerIKM3TNAEEM8zgDB4GycH+c
0IZJJ/Rvl0d7vtVNsgKhhOfk/FGJbCgiYEkHW4lHFo3tWKgqNzqFs6f6BuAoKG5l
SuubNCp8mAIOs19X5lK4bjrWCrmqo6FZfeRehVGLlY4Yxdo/f+Bk5JOZfHVOXBMU
nxUcSb/3v1aTSepfOfhKsgbLGKYYAz3ME6uIStnldpRK9B0IYb6CqBgg5fIXR3DV
KxT2fn1LI4Lg+me7q2Vt4Mi5YG1ThUP09DDleyJAk2w6g9K7EoJpx9XpOeMeTRsg
YiC1LicgL94GwX661Ou1gKi6CiuAoQwfwjuCLYJzaOWKIczCkwajbALk73y/klop
XDMI+viD/RfZlv8B4DCFiFm/bZCEEZubLFCgNnyv+uzmkmZNWCCIXP4hNmX8UP0K
C9okjSTpC3I2Fz2199pnYiiTpDssQJaA6QrykGKWhwQDa9wAj27lyFYyRBOwss6m
bB+xbrIoCEkbGQR8SnrE
=5SlO
-----END PGP SIGNATURE-----


To make the currency search work again after updating to 1.4.10, go to http://localhost:7876/test?requestTag=DEBUG and do a luceneReindex (takes a few seconds only).
« Last Edit: January 26, 2015, 12:55:52 am by Jean-Luc »
Logged
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322

yassin54

  • Hero Member
  • *****
  • Karma: +240/-14
  • Offline Offline
  • Posts: 2498
  • I am Homer, Sorry my english is Bad!!
    • View Profile
Re: NRS v1.4.10
« Reply #1 on: January 25, 2015, 09:07:12 pm »

thanks!  ;) ;)

rudeboi

  • Hero Member
  • *****
  • Karma: +55/-4
  • Offline Offline
  • Posts: 633
  • Nxt Organization Member
    • View Profile
Re: NRS v1.4.10
« Reply #2 on: January 25, 2015, 09:16:37 pm »

Nice
Logged
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬  ▄▀▀▀▀▀▀▀▀▄  ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●  nimirum  ●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬ ◖ENDING CENSORSHIP ONLINE◗  ◖ ICO OPEN NOW◗ ▬▬▬

NxtSwe

  • Hero Member
  • *****
  • Karma: +124/-9
  • Offline Offline
  • Posts: 657
    • View Profile
Re: NRS v1.4.10
« Reply #3 on: January 25, 2015, 09:18:01 pm »

Cool, keep it up!
Logged
Check out the NxtLib, the .NET Framework API for the Nxt platform.

msin

  • Hero Member
  • *****
  • Karma: +138/-18
  • Offline Offline
  • Posts: 1288
    • View Profile
Re: NRS v1.4.10
« Reply #4 on: January 25, 2015, 09:50:59 pm »

Thanks JL.
Logged

peggy2jj

  • Full Member
  • ***
  • Karma: +10/-0
  • Offline Offline
  • Posts: 102
    • View Profile
Re: NRS v1.4.10
« Reply #5 on: January 25, 2015, 11:21:35 pm »

Thanks! :)
Logged

a7594li

  • Full Member
  • ***
  • Karma: +7/-10
  • Offline Offline
  • Posts: 109
    • View Profile
    • bite01
Re: NRS v1.4.10
« Reply #6 on: January 26, 2015, 01:18:42 am »

rescanning
Logged
LOWER FEES TO 0.1NXT PLS (:

slothbag

  • Sr. Member
  • ****
  • Karma: +74/-4
  • Offline Offline
  • Posts: 454
    • View Profile
Re: NRS v1.4.10
« Reply #7 on: January 26, 2015, 01:23:51 am »

Thanks Devs!

FYI, my server is taking about 3 minutes per 5000 blocks to rescan (at least above 300,000 anyway)..

Its a very slow frustrating process.. especially as I rely on Nxt for DNS.. its quite the inconvenience. Thankfully we don't have to do it *too* often.
Logged

allwelder

  • Hero Member
  • *****
  • Karma: +196/-13
  • Offline Offline
  • Posts: 1867
  • NxtChina.org
    • View Profile
    • NxtChina.org
Re: NRS v1.4.10
« Reply #8 on: January 26, 2015, 03:13:48 am »

Logged
NxtChina |Weibo |Twitter Donation welcomed:NXT-APL9-66GU-K8LY-B3JJJ

lucky88888

  • Hero Member
  • *****
  • Karma: +42/-14
  • Offline Offline
  • Posts: 694
  • NXT-E328-UJDF-KTGH-9C6YQ
    • View Profile
Re: NRS v1.4.10
« Reply #9 on: January 26, 2015, 05:35:44 am »

can't go past block 342280? waited 2hours on 1.4.10 with nothing.
there was no errors in the log.

then i switch back to 1.4.9
 
Quote
2015-01-26 16:37:21 INFO: Nxt server 1.4.9 started successfully.
2015-01-26 16:37:22 INFO: nxt.apiServerEnforcePOST = "true"
2015-01-26 16:37:23 FINE: Known peers: 627
2015-01-26 16:37:26 FINE: Database connection pool current size: 3
2015-01-26 16:38:27 FINE: Blacklisting 37.59.47.155 version 1.2.8
2015-01-26 16:38:45 FINE: Will process a fork of 90 blocks
2015-01-26 16:38:45 FINE: Rollback from 342280 to 342279
2015-01-26 16:41:40 FINE: Database connection pool current size: 4
2015-01-26 16:42:03 FINE: Database connection pool current size: 5
2015-01-26 16:42:03 FINE: Database connection pool current size: 6
2015-01-26 16:42:03 FINE: Database connection pool current size: 7
2015-01-26 16:42:03 FINE: Database connection pool current size: 8
2015-01-26 16:42:06 FINE: Database connection pool current size: 9
2015-01-26 16:42:30 FINE: Database connection pool current size: 10
2015-01-26 16:42:30 FINE: Database connection pool current size: 11
2015-01-26 16:42:32 FINE: Database connection pool current size: 12
2015-01-26 16:42:32 FINE: Database connection pool current size: 13
2015-01-26 16:42:32 FINE: Database connection pool current size: 14
2015-01-26 16:42:40 FINE: Database connection pool current size: 15
2015-01-26 16:42:42 FINE: Database connection pool current size: 16
2015-01-26 16:43:05 FINE: Database connection pool current size: 17
2015-01-26 16:43:10 FINE: Database connection pool current size: 18
2015-01-26 16:43:11 FINE: Database connection pool current size: 19
2015-01-26 16:43:11 FINE: Database connection pool current size: 20
2015-01-26 16:43:11 FINE: Database connection pool current size: 21
2015-01-26 16:43:13 FINE: Database connection pool current size: 22
2015-01-26 16:43:13 FINE: Database connection pool current size: 23
2015-01-26 16:43:13 FINE: Database connection pool current size: 24
2015-01-26 16:43:13 FINE: Database connection pool current size: 25
2015-01-26 16:43:13 FINE: Database connection pool current size: 26
2015-01-26 16:43:13 FINE: Database connection pool current size: 27
2015-01-26 16:43:13 FINE: Database connection pool current size: 28
2015-01-26 16:43:13 FINE: Database connection pool current size: 29
2015-01-26 16:43:13 FINE: Database connection pool current size: 30
2015-01-26 16:43:13 FINE: Error requesting peers from a peer
java.lang.RuntimeException: java.sql.SQLException: Login timeout
   at nxt.db.EntityDbTable.get(EntityDbTable.java:54)
   at nxt.Account.getAccount(Account.java:437)
   at nxt.peer.PeerImpl.getWeight(PeerImpl.java:229)
   at nxt.peer.Peers$10.ok(Peers.java:738)
   at nxt.peer.Peers$10.ok(Peers.java:735)
   at nxt.peer.Peers.getPeers(Peers.java:565)
   at nxt.peer.Peers.getPeers(Peers.java:559)
   at nxt.peer.Peers.getPublicPeers(Peers.java:735)
   at nxt.peer.Peers.getAnyPeer(Peers.java:731)
   at nxt.peer.Peers$5.run(Peers.java:392)
   at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
   at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.sql.SQLException: Login timeout
   at org.h2.jdbcx.JdbcConnectionPool.getConnection(JdbcConnectionPool.java:209)
   at nxt.db.BasicDb.getPooledConnection(BasicDb.java:110)
   at nxt.db.BasicDb.getConnection(BasicDb.java:104)
   at nxt.db.TransactionalDb.getConnection(TransactionalDb.java:23)
   at nxt.db.EntityDbTable.get(EntityDbTable.java:48)
   ... 16 more
2015-01-26 16:43:49 FINE: Switched to peer's fork
2015-01-26 16:43:53 FINE: Got 4 confirmations
2015-01-26 16:43:53 FINE: Downloaded 90 blocks
2015-01-26 16:45:05 FINE: Blacklisting 199.217.119.33 version 1.1.6
2015-01-26 16:45:33 FINE: Blacklisting 178.254.43.15 version 1.3.3
2015-01-26 16:46:51 FINE: Blacklisting 198.27.66.181 version 1.3.3
2015-01-26 16:47:13 FINE: Blacklisting 77.120.107.17 version 1.3.4
2015-01-26 16:48:23 FINE: Blacklisting 72.14.177.42 version 1.1.5

this didn't happen on 1.4.10
Quote
2015-01-26 16:38:45 FINE: Will process a fork of 90 blocks
2015-01-26 16:38:45 FINE: Rollback from 342280 to 342279
now i got to rescan again.
« Last Edit: January 26, 2015, 06:00:10 am by lucky88888 »
Logged
NXT-E328-UJDF-KTGH-9C6YQ
8897013707391239174

abctc

  • Hero Member
  • *****
  • Karma: +148/-13
  • Offline Offline
  • Posts: 1396
    • View Profile
Re: NRS v1.4.10
« Reply #10 on: January 26, 2015, 08:56:19 am »

my server is taking about 3 minutes per 5000 blocks to rescan (at least above 300,000 anyway)..
- my very weak VPS (entry level, 512Mb) rescanned 342385 blocks for 36 minutes. So it is almost 10 000 blocks per minute. Not so bad.
Logged
Welcome to the Nxt generation of crypto!   Magis quam Moneta (More than a Coin)
"Do not worry, it is an attack" (c) Jean-Luc

rkfg

  • Jr. Member
  • **
  • Karma: +1/-0
  • Offline Offline
  • Posts: 33
    • View Profile
Re: NRS v1.4.10
« Reply #11 on: January 26, 2015, 09:49:38 am »

Mine is stuck as well, though at block 329472. After the update I tried to stop the rescanning because I though I haven't updated the lib directory. The client didn't stop and I killed it with kill -9. After that there was no new blocks for several hours and only 1-2 connections to peers. I decided to remove the database and redownload the blockchain from the start. However, it's now stuck at 329472 and doesn't make progress for about an hour. I only have 4 connections. Hmm, I managed to fix it by updating the nxt-default.properties at my working directory. Downloading is working again.
Logged

abctc

  • Hero Member
  • *****
  • Karma: +148/-13
  • Offline Offline
  • Posts: 1396
    • View Profile
Re: NRS v1.4.10
« Reply #12 on: January 26, 2015, 10:29:33 am »

My VPS fell into the fork:

Quote
Height   Date   Amount   Fee   # TX   Generator   Payload   Base Target
342393   26/01/2015 13:02:58   0   2   2   NXT-X9ZH-AYBT-87EQ-7FSWJ   402 B   6507 %
342392   26/01/2015 13:02:39   4'889.95   13   13   NXT-X9ZH-AYBT-87EQ-7FSWJ   3 KB   13015 %
342391   26/01/2015 13:00:55   303'105.42251755   207   206   NXT-X9ZH-AYBT-87EQ-7FSWJ   41 KB   7509 %
342390   26/01/2015 12:00:54   12'850.41575286   164   164   NXT-X9ZH-AYBT-87EQ-7FSWJ   40 KB   3754 %
342389   26/01/2015 11:54:42   1'871.66825118   184   184   NXT-X9ZH-AYBT-87EQ-7FSWJ   44 KB   1877 %
342388   26/01/2015 11:42:43   32'578.71599589   186   186   NXT-X9ZH-AYBT-87EQ-7FSWJ   44 KB   0939 %
342387   26/01/2015 11:32:00   197'946.69246334   194   194   NXT-X9ZH-AYBT-87EQ-7FSWJ   39 KB   0469 %
342386   26/01/2015 10:31:46   283'807.06655299   182   182   NXT-X9ZH-AYBT-87EQ-7FSWJ   36 KB   0235 %
342385   26/01/2015 09:23:06   605.52433855   27   27   NXT-N87W-GX3U-79GV-23U97   5 KB   0117 %
342384   26/01/2015 09:12:39   0   1   1   NXT-A6NF-JE4R-XB6L-FAUFZ   209 B   0059 %
342383   26/01/2015 09:12:03   25   2   2   NXT-K5KL-23DJ-3XLK-22222   414 B   0098 %
342382   26/01/2015 09:11:24   30.93   4   4   NXT-6J82-32GS-U4S9-GEVJR   878 B   0150 %
342381   26/01/2015 09:11:08   0   0   0   NXT-K5KL-23DJ-3XLK-22222   0 B   0301 %
342380   26/01/2015 09:10:36   245   25   25   NXT-7LB8-8ZPX-3YR9-3L85B   5 KB   0564 %
342379   26/01/2015 09:04:45   1'048   4   4   NXT-44HE-6Z3Y-N2ZL-E9ZPW   799 B   0282 %

Re-install of 1.4.9. helped.
« Last Edit: January 26, 2015, 10:49:54 am by abctc »
Logged
Welcome to the Nxt generation of crypto!   Magis quam Moneta (More than a Coin)
"Do not worry, it is an attack" (c) Jean-Luc

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Karma: +816/-81
  • Offline Offline
  • Posts: 1610
    • View Profile
Re: NRS v1.4.10
« Reply #13 on: January 26, 2015, 11:29:15 am »

Running 1.4.10 with old nxt-default.properties will result in 1-2 peers at most, no wonder download gets stuck. When installing a new release, always use the default properties file that came with it.

Logged
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322

Brangdon

  • Hero Member
  • *****
  • Karma: +229/-25
  • Offline Offline
  • Posts: 1389
  • Quality is addictive.
    • View Profile
Re: NRS v1.4.10
« Reply #14 on: January 26, 2015, 11:32:06 am »

Updated jetty to version 9.2.7. If unpacking on top of a previous installation,
delete your lib directory first to remove the old jetty libraries.
If we don't, will any bad consequences follow? Can we fix it by deleting the lib and unpack again? I am doing this and it didn't rescan, so hopefully the file formats don't depend on the jetty version.
Logged

abctc

  • Hero Member
  • *****
  • Karma: +148/-13
  • Offline Offline
  • Posts: 1396
    • View Profile
Re: NRS v1.4.10
« Reply #15 on: January 26, 2015, 11:59:33 am »

Running 1.4.10 with old nxt-default.properties will result in 1-2 peers at most, no wonder download gets stuck. When installing a new release, always use the default properties file that came with it.
- of course I always rewrite the old nxt-default.properties with the new one. Only nxt.properties remains untouched. But only 1.4.10 results in 4 peers and fork.
Logged
Welcome to the Nxt generation of crypto!   Magis quam Moneta (More than a Coin)
"Do not worry, it is an attack" (c) Jean-Luc

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Karma: +816/-81
  • Offline Offline
  • Posts: 1610
    • View Profile
Re: NRS v1.4.10
« Reply #16 on: January 26, 2015, 12:16:30 pm »

The database does not depend on jetty in any way, the rescan should complete normally even if you had a mix of jetty libraries. If you delete the lib folder and unpack again, keeping the nxt_db, should be fine.
Logged
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322

rkfg

  • Jr. Member
  • **
  • Karma: +1/-0
  • Offline Offline
  • Posts: 33
    • View Profile
Re: NRS v1.4.10
« Reply #17 on: January 26, 2015, 12:21:05 pm »

I use this update.sh script:
Code: [Select]
#!/bin/sh
rm -rf classes/
rm -rf lib/
rm -rf html/
cp -r /path/to/nxt/git/classes/ .
cp -r /path/to/nxt/git/lib/ .
cp -r /path/to/nxt/git/html/ .
Works quite fine. Also, I only recently realized that custom settings should go to nxt.properties. Maybe it's good to create a dummy file with a comment inside like "# place any changed settings here and always update nxt-default.properties". I know, it's written in nxt-default.properties itself at the top but it hits the blind spot somehow. Maybe not emphasized enough. Having a dummy file won't hurt I guess.
Logged

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Karma: +816/-81
  • Offline Offline
  • Posts: 1610
    • View Profile
Re: NRS v1.4.10
« Reply #18 on: January 26, 2015, 12:43:42 pm »

You also need to copy conf, where nxt-default.properties and logging-default.properties are. Having a dummy file will not work, it will end up overwriting the custom nxt.properties for those who unpack on top of existing installation.
Logged
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Karma: +816/-81
  • Offline Offline
  • Posts: 1610
    • View Profile
Re: NRS v1.4.10
« Reply #19 on: January 26, 2015, 12:49:29 pm »

I don't see a reason why 1.4.10 would go into a fork, I have been running it on two nodes since yesterday. The one critical bugfix in it is that some transactions can fail signature verification and end up stuck in the unconfirmed pool, thus breaking forging. The other fix is a performance optimization, 1.4.10 takes 2 min to rescan 5000 blocks after 330000, 1.4.9 takes 10 min.
Logged
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322
Pages: [1] 2 3  All
 

elective-stereophonic
elective-stereophonic
assembly
assembly