elective-stereophonic
elective-stereophonic
NRS v1.7.5
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 ... 9  All

Author Topic: NRS v1.7.5  (Read 43258 times)

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Karma: +816/-81
  • Offline Offline
  • Posts: 1610
    • View Profile
NRS v1.7.5
« on: January 25, 2016, 12:20:23 pm »

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

Release 1.7.5

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

sha256:

4b29107dede6fc3f576d9a56ecd4b1580e6131ed995775647d07b9347df31e54  nxt-client-1.7.5.zip

https://bitbucket.org/JeanLucPicard/nxt/downloads/nxt-client-1.7.5.jar

sha256:

d426f614f9407e0b0da3a73fbaf84b5ce2f0a2ad5326a1fa80567ecc9e42eb29  nxt-client-1.7.5.jar

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

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

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


Change log:

Code cleanup and removal of logic no longer needed after the 1.7 hard fork has
been passed. Added checkpoint at block 622000.

Peers running versions older than 1.7 are now blacklisted.

Allow disabling of specific API or groups of API using the nxt.disabledAPIs and
nxt.disabledAPITags properties, each taking a list of API request names, or API
tag names, separated with ';'. For example:

nxt.disabledAPIs=startForging; startShuffler
nxt.disabledAPITags=Create Transaction; Tagged Data

will disable the startForging and startShuffler API, and all API that are listed
under the Create Transaction or Tagged Data tabs on the API test page.

The enabled/disabled status of each API or APITag is exposed in getConstants.

The client UI hides menus related to disabled API tags and the "Send NXT",
"Send Currency" and "Send Message" buttons are hidden automatically when
their corresponding API is disabled.

The getAccountLedger API has been fixed to always apply the firstIndex,
lastIndex pagination to the final list of entries matching the query, rather
than to all entries for the given account or based on block height.

Use fixed shuffling transaction timestamps. To prevent timestamp correlation
attacks, all shufflers now use the same transaction timestamp, set to the last
block timestamp.

Performance optimizations. Account public keys are now cached in memory. This
cache currently takes around 12 MB at most, and can be disabled by setting
nxt.enablePublicKeyCache=false.

Back button added to the transaction info, account info, block info and ledger
info modals. Use the back button to return to the previous info modal.

Updated H2 to version 1.4.191. The MVStore storage engine is disabled by default
as it is still in beta, PageStore continues to be used. As this version no
longer accepts implicitly relative jdbc URLs, if you have configured a custom db
location in nxt.properties, make sure to prefix the path with ./ if it is not
absolute, e.g. nxt.dbUrl=jdbc:h2:./nxt_db/nxt... instead of
nxt.dbUrl=jdbc:h2:nxt_db/nxt... . If unpacking on top of existing installation,
delete the old lib folder first.

Token generation is now supported when using the "Remember Passphrase" option
and the NRS.signBytes() method now uses the remembered passphrase in case the
passphrase parameter is not specified.

The transition effect displayed when hiding the left menu was disabled since
it is causing UI rendering problems under certain conditions.

"Switch Account" button added to the account info dialog. Clicking it would
switch the wallet to this account.

"Refresh Search Index" option added to the "Settings" menu. Use it to rebuild
the search index in case you are no longer getting correct search results.

Added UI for issuing singleton asset.

run.bat now works on Windows XP and Windows 2003. Database, configuration
files and logs are stored in the roaming folder under the user folder and
tray icon is operational.

Nodes that update from version older than 1.7.3e to this release after the hard
fork block will have blocks after 621000 deleted, to make sure they switch to
the 1.7.4 fork.


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

iQIcBAEBCgAGBQJWpfu4AAoJENqvaxkWiP4Z6UsP/1hsvVZP/IIp6BPog5va+leY
sAx0pzAXxdKJrINRtYT6DkkX7GwxIhV6T/UOzGqZpVhx73OdGQvHnSI9zmSnCynW
MbCp+saHDchC2N+6ezv2wTqd3wiR2RXGWON+FlU3gAE8ivCU/2eEFGiWfzCUwRST
FpYm7C2aWnJgiYgjI27TKam8Fu1bDgyzHdy3VGaZtfHaRy0b1ivK4975jG9rkUHf
MghnwqKJ4VDcdQ/LM922hTk3OUoWizeyVwa+IR7eg6B9V3xgN1wfhzWFUXx9N0DU
l0+XvbP5yqBf5OsH147TVAMpV1WTo2Ohi+tQbmb3WE3SA+ZXzAAqQVbd/O6NEzNp
gBFXhgnCKBHYL8f+aDHLD/RsRH1C7bZoKhOVN7HoouCYqhKwK3n67WzU2o/fNDvf
DohWJx1aJz+qKxmwaJikNIYiVul6KEO0xl2v0brTtSOr0EQfSdbAre2r4jZ888PI
WWA1xwgh1AIWhRHVXwrumwYpR21zUt4o7OSKMgur+QIl3bhLZQxwk36MhU1PLK+U
Hydt+Bwv81lOTm1BFaIkpTwZ13rCreNKmt0dHnAHtm6B6nNKUq/ubv03DQa2UuXX
oE9qnOxBJr0mznOnVW7Sc4JYs1IY9bZDaR3qvlu1WPGlgnPciwLXDlxY7ne+rsaa
sq3GA2eT/JYwt4RQ53uh
=Dm4t
-----END PGP SIGNATURE-----
Logged
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322

qq2536007339

  • Hero Member
  • *****
  • Karma: +42/-9
  • Offline Offline
  • Posts: 514
    • View Profile
Re: NRS v1.7.5
« Reply #1 on: January 25, 2016, 12:28:09 pm »

Great work,thanks for listen to fix run.bat.I really like the Back button and switch account button,it's so convenient now.
« Last Edit: January 26, 2016, 08:31:43 am by qq2536007339 »
Logged
你送我阿朵,我是要的。ARDOR-DJ68-PG7W-4JEU-2LU5T

youyou

  • Sr. Member
  • ****
  • Karma: +44/-46
  • Offline Offline
  • Posts: 472
    • View Profile
Re: NRS v1.7.5
« Reply #2 on: January 25, 2016, 12:32:11 pm »

thx J-L
Logged

martismartis

  • Hero Member
  • *****
  • Karma: +73/-10
  • Offline Offline
  • Posts: 1237
    • View Profile
Re: NRS v1.7.5
« Reply #3 on: January 25, 2016, 12:39:02 pm »

DELETED, problem solved
« Last Edit: January 25, 2016, 01:48:39 pm by martismartis »
Logged

blackyblack1

  • Hero Member
  • *****
  • Karma: +165/-82
  • Offline Offline
  • Posts: 1764
    • View Profile
Re: NRS v1.7.5
« Reply #4 on: January 25, 2016, 12:46:23 pm »

I saw my NRS 1.7.5 crashing. The reason was I had changed database path in nxt.properties. Here is a hint how to fix it.

With the new H2 engine the configuration format is changed:

Use

# Database connection JDBC url to use with the test network, if isTestnet=true.
nxt.dbDir=./nxt_db/nxt

to change the default blockchain path.
Logged

farl4bit

  • Global Moderator
  • Hero Member
  • *****
  • Karma: +210/-45
  • Offline Offline
  • Posts: 3464
    • View Profile
    • Blockchain Twitter
Re: NRS v1.7.5
« Reply #5 on: January 25, 2016, 02:03:24 pm »

Another update, respect guys!  ;D


Logged

testdruif

  • Full Member
  • ***
  • Karma: +71/-1
  • Offline Offline
  • Posts: 223
    • View Profile
Re: NRS v1.7.5
« Reply #6 on: January 25, 2016, 02:20:57 pm »

One of my plugins is showing weird behaviour. (I don't know if I missed something somewhere?)

When connecting to an openapi node I can send out nxt via the "sendmoney api" at http://serverIP/test just fine.
But when trying to do the same via the plugin I receive the error "Could not validate unsigned bytes returned by the server"

The plugin has the below code to send nxt to somewhere

NRS.sendRequest("sendMoney", {"secretPhrase":<secret>,feeNQT:"100000000",deadline:"1440","recipient":<account>,amountNQT:<an amount>,"message":<a message>, "messageIsPrunable": "true"}

The NRS.sendRequest returns the error message received via the json return which states "Could not validate unsigned bytes returned by the server"

When running the plugin on a localhost node it works fine
When running the plugin on a remote host in the same lan it also works

Just seems to be an issue when using an openapi server.
Nothing is shown in the logs or in the console :(

I have checked with 2 different openapi servers and a number of different clients which all results in the same error.

Looking forward to your input!
Logged
**Necessity is the mother of invention**
NXT-NNGD-V8TN-3MZR-DWWBE
https://arguseyes.net

Riker

  • Core Dev
  • Hero Member
  • *****
  • Karma: +439/-42
  • Offline Offline
  • Posts: 1795
    • View Profile
Re: NRS v1.7.5
« Reply #7 on: January 25, 2016, 02:32:21 pm »

One of my plugins is showing weird behaviour. (I don't know if I missed something somewhere?)

When connecting to an openapi node I can send out nxt via the "sendmoney api" at http://serverIP/test just fine.
But when trying to do the same via the plugin I receive the error "Could not validate unsigned bytes returned by the server"

The plugin has the below code to send nxt to somewhere

NRS.sendRequest("sendMoney", {"secretPhrase":<secret>,feeNQT:"100000000",deadline:"1440","recipient":<account>,amountNQT:<an amount>,"message":<a message>, "messageIsPrunable": "true"}

The NRS.sendRequest returns the error message received via the json return which states "Could not validate unsigned bytes returned by the server"

When running the plugin on a localhost node it works fine
When running the plugin on a remote host in the same lan it also works

Just seems to be an issue when using an openapi server.
Nothing is shown in the logs or in the console :(

I have checked with 2 different openapi servers and a number of different clients which all results in the same error.

Looking forward to your input!

Try removing the message and messageIsPrunable parameters. If this works we'll take it from there.
Logged
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

taggartd

  • Jr. Member
  • **
  • Karma: +3/-0
  • Offline Offline
  • Posts: 66
    • View Profile
Re: NRS v1.7.5
« Reply #8 on: January 25, 2016, 02:36:57 pm »

I saw my NRS 1.7.5 crashing. The reason was I had changed database path in nxt.properties. Here is a hint how to fix it.

With the new H2 engine the configuration format is changed:

Use

# Database connection JDBC url to use with the test network, if isTestnet=true.
nxt.dbDir=./nxt_db/nxt

to change the default blockchain path.
Blackyblack1, for common user like me... Actually i have this in nxt.properties:
nxt.dbUrl=jdbc:h2:file:F:/nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE

I must change in:
nxt.dbDir=F:/nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE

??
Thanks
Logged

testdruif

  • Full Member
  • ***
  • Karma: +71/-1
  • Offline Offline
  • Posts: 223
    • View Profile
Re: NRS v1.7.5
« Reply #9 on: January 25, 2016, 02:47:51 pm »

Try removing the message and messageIsPrunable parameters. If this works we'll take it from there.

Unfortunatly that did not work. Still the same error message.
I opened up one of my servers with nxt.allowedBotHosts=* (that should be sufficient correct?)

When I browse to the server from the lan the plugin works (http://192.168.1.2:7876)
When I browse to the server from the wan the plugin gives the error message (http://myurl:7876)
When using http://myurl:7876/test and filling in all the parameters in the sendmoney api it works
Logged
**Necessity is the mother of invention**
NXT-NNGD-V8TN-3MZR-DWWBE
https://arguseyes.net

yassin54

  • Hero Member
  • *****
  • Karma: +240/-14
  • Offline Offline
  • Posts: 2503
  • I am Homer, Sorry my english is Bad!!
    • View Profile
Re: NRS v1.7.5
« Reply #10 on: January 25, 2016, 04:00:09 pm »

when i install my wallet, i have this:

capodieci

  • Hero Member
  • *****
  • Karma: +256/-19
  • Offline Offline
  • Posts: 1385
  • BlockchainZoo.com
    • View Profile
    • ZooBC - Advancing Blockchain Technology
Re: NRS v1.7.5
« Reply #11 on: January 25, 2016, 04:12:54 pm »

Awesomesauce!
Logged
- Decentralised Business Network: DeBuNe -
Will be implemented on
ZooBC.com - Join the forum ZooBC.org - By Blockchain Zoo

crimi

  • Hero Member
  • *****
  • Karma: +122/-11
  • Offline Offline
  • Posts: 863
    • View Profile
Re: NRS v1.7.5
« Reply #12 on: January 25, 2016, 04:14:52 pm »

when i install my wallet, i have this:

probably the run.bat is still running or "in use", so the installer cant delete it? try to close it or delete the old one manually.
Logged

yassin54

  • Hero Member
  • *****
  • Karma: +240/-14
  • Offline Offline
  • Posts: 2503
  • I am Homer, Sorry my english is Bad!!
    • View Profile
Re: NRS v1.7.5
« Reply #13 on: January 25, 2016, 04:20:24 pm »

when i install my wallet, i have this:

probably the run.bat is still running or "in use", so the installer cant delete it? try to close it or delete the old one manually.
i have all deleted and all it work  :)
Thanks  ;)

edit: I forgot, Thanks Jean-Luc and Riker!!  ;D ;D
« Last Edit: January 25, 2016, 06:08:05 pm by yassin54 »
Logged

Riker

  • Core Dev
  • Hero Member
  • *****
  • Karma: +439/-42
  • Offline Offline
  • Posts: 1795
    • View Profile
Re: NRS v1.7.5
« Reply #14 on: January 25, 2016, 06:02:26 pm »

Try removing the message and messageIsPrunable parameters. If this works we'll take it from there.

Unfortunatly that did not work. Still the same error message.
I opened up one of my servers with nxt.allowedBotHosts=* (that should be sufficient correct?)

When I browse to the server from the lan the plugin works (http://192.168.1.2:7876)
When I browse to the server from the wan the plugin gives the error message (http://myurl:7876)
When using http://myurl:7876/test and filling in all the parameters in the sendmoney api it works

Please place a breakpoint in nrs.server.js method NRS.verifyTransactionBytes starting at line 507.
Step in the code until you reach a "return false;" statement.
This will tell us which data failed validation. If the problem is not obvious then let me know which line returns the false value.
Logged
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

testdruif

  • Full Member
  • ***
  • Karma: +71/-1
  • Offline Offline
  • Posts: 223
    • View Profile
Re: NRS v1.7.5
« Reply #15 on: January 25, 2016, 06:59:04 pm »

Please place a breakpoint in nrs.server.js method NRS.verifyTransactionBytes starting at line 507.
Step in the code until you reach a "return false;" statement.
This will tell us which data failed validation. If the problem is not obvious then let me know which line returns the false value.

It appears to be here (when sending 1 nxt to one of my accounts)

if (transaction.amountNQT !== data.amountNQT) {
            return false;
        }

Local data:

data: Object
amountNQT: 100000000
deadline: "1440"
feeNQT: "100000000"
message: "Dividend from asset: SPEC(15622038886556621803)"
messageIsPrunable: "true"
publicKey: "88d51b86dfd33c0177e22736bead7c45a3019d714fb6ab01e082185421a74e20"
recipient: "13125632097824428491"
recipientRS: "NXT-NNGD-V8TN-3MZR-DWWBE"
__proto__: Object
pos: undefined
refHash: Array[32]
requestType: "sendMoney"
this: Object
transaction: Object
amountNQT: "100000000"
deadline: "1440"
ecBlockHeight: "624789"
ecBlockId: "3904178616198086227"
feeNQT: "100000000"
flags: 32
publicKey: "88d51b86dfd33c0177e22736bead7c45a3019d714fb6ab01e082185421a74e20"
recipient: "13125632097824428491"
referencedTransactionFullHash: ""
subtype: 0
timestamp: "68453987"
type: 0
version: 1
« Last Edit: January 25, 2016, 07:03:58 pm by testdruif »
Logged
**Necessity is the mother of invention**
NXT-NNGD-V8TN-3MZR-DWWBE
https://arguseyes.net

Riker

  • Core Dev
  • Hero Member
  • *****
  • Karma: +439/-42
  • Offline Offline
  • Posts: 1795
    • View Profile
Re: NRS v1.7.5
« Reply #16 on: January 25, 2016, 07:19:46 pm »

if (transaction.amountNQT !== data.amountNQT) {
    return false;
}

1. Try to enclose the amountNQT value for the sendRequest call in quotes
2. If this is not it, I need you to use the debugger to tell what's the value of data.amountNQT and the value of transaction.amountNQT
Logged
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

testdruif

  • Full Member
  • ***
  • Karma: +71/-1
  • Offline Offline
  • Posts: 223
    • View Profile
Re: NRS v1.7.5
« Reply #17 on: January 25, 2016, 07:24:08 pm »

1. Try to enclose the amountNQT value for the sendRequest call in quotes
2. If this is not it, I need you to use the debugger to tell what's the value of data.amountNQT and the value of transaction.amountNQT

I enclosed the amountNQT in the debug console and it went further.
Next "false" is on

if (transaction.type !== 0 || transaction.subtype !== 0) {
                    return false;
                }
Logged
**Necessity is the mother of invention**
NXT-NNGD-V8TN-3MZR-DWWBE
https://arguseyes.net

Riker

  • Core Dev
  • Hero Member
  • *****
  • Karma: +439/-42
  • Offline Offline
  • Posts: 1795
    • View Profile
Re: NRS v1.7.5
« Reply #18 on: January 25, 2016, 07:27:10 pm »

What are the values of these variables? Anyway suggest you fix the quotes in the code and try again
Logged
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

testdruif

  • Full Member
  • ***
  • Karma: +71/-1
  • Offline Offline
  • Posts: 223
    • View Profile
Re: NRS v1.7.5
« Reply #19 on: January 25, 2016, 07:49:16 pm »

What are the values of these variables? Anyway suggest you fix the quotes in the code and try again

When I add quotes to the amountnqt I get the error (var div = '"' + recalcdiv + '"';)

Incorrect amount&quot;value&quot;100000000.  is not numeric

it's a variable in NRS.sendRequest("sendMoney", {"secretPhrase":<secret>,feeNQT:"100000000",deadline:"1440","recipient":<account>,amountNQT:div,"message":<a message>, "messageIsPrunable": "true"}

How can I add quotes around that without breaking up the nrs.sendrequest?
Logged
**Necessity is the mother of invention**
NXT-NNGD-V8TN-3MZR-DWWBE
https://arguseyes.net
Pages: [1] 2 3 ... 9  All
 

elective-stereophonic
elective-stereophonic
assembly
assembly