Nxt Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client 1.11.10 - NEW RELEASE: Ardor 2.0.5e TestNet - The Ignis ICO is over!! Ardor genesis snapshots will happen at Nxt block 1,630,000 (expected for 25th December)

Pages: 1 2 [3]  All

Author Topic: NRS v1.5.14  (Read 13361 times)

Riker

  • Core Dev
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1732
    • View Profile
  • Karma: +431/-42
Re: NRS v1.5.14
July 29, 2015, 08:22:51 pm

when I create a token (in "Nxt Token Generation / Validation"),
why do I have to wait for the blockchain to be fully downloaded?

Isn't that an offline keyphrase signing process?

Code: [Select]
Please wait until the blockchain has finished downloading.
Unfortunatly, the standard client automaticly blocks generating any transaction and obviously even token generation after being about a day offline...

I also think this is terrible, and wonder why this is...

Vapor Wallet allows offline transactions without having a copy of the blockchain, but doesn't (yet) support tokens (nor voting).

This is not difficult to fix, in fact we already have a patch in place to allow addPeer and blacklistPeer calls during blockchain download.
However, I don't like to start yet another multiple, if, and, and, and logic for APIs allowed during blockchain download.
We need to review the APIs one by one and report to the client a list of APIs which are safe to execute while the blockchain is downloading.
I created https://bitbucket.org/JeanLucPicard/nxt/issues/308/allow-api-execution-during-blockchain to track this.
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

TheCoinWizard

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 614
  • Learn by questioning everything!
    • View Profile
  • Karma: +97/-55
Re: NRS v1.5.14
July 29, 2015, 11:17:46 pm

when I create a token (in "Nxt Token Generation / Validation"),
why do I have to wait for the blockchain to be fully downloaded?

Isn't that an offline keyphrase signing process?

Code: [Select]
Please wait until the blockchain has finished downloading.
Unfortunatly, the standard client automaticly blocks generating any transaction and obviously even token generation after being about a day offline...

I also think this is terrible, and wonder why this is...

Vapor Wallet allows offline transactions without having a copy of the blockchain, but doesn't (yet) support tokens (nor voting).

This is not difficult to fix, in fact we already have a patch in place to allow addPeer and blacklistPeer calls during blockchain download.
However, I don't like to start yet another multiple, if, and, and, and logic for APIs allowed during blockchain download.
We need to review the APIs one by one and report to the client a list of APIs which are safe to execute while the blockchain is downloading.
I created https://bitbucket.org/JeanLucPicard/nxt/issues/308/allow-api-execution-during-blockchain to track this.
Sweet.

It would be very nice to be able to use the official client anonymous offline :)
Thus I think adding one more condition is needed:
Code: [Select]
//(nrs.forms.js NRS.submitForm() line 205)
//isOffline from the nxt properties, I guess it might be NRS.isOffline, but I don't have a clue
            if (NRS.downloadingBlockchain && !NRS.isOffline) {

To allow working offline with relative anonymity, and without having to update the blockchain every time you switch account the user also needs to be able to set EC_block_height.
A relative easy way to implement this is to add it as an input field in the settings when isOffline...
More complex, yet better, would be to add it to all transactions under the advanced options
Welcome to the After Nxt Calendar era...
Which started in the year 222 of the French Republic, Frost month, on the fifth day of the first week, better known as the 2456621th Julian day,
even better known as 24 November 2013 at 12:00:00 UTC.

Titori2

  • Newbie
  • *
  • Offline Offline
  • Posts: 5
    • View Profile
  • Karma: +2/-0
Re: NRS v1.5.14
July 30, 2015, 07:48:23 pm

There isn't any error in the screenshot you posted. What exactly does not work?

It doesn't work at "Failed toi resolve peer address: nxt.hopto.org", when I had this nothing hapenned, then I wait 3 at 6 minutes then I have the text with "error "Maximum number of inbound connections exceeded"", and if I wait some hours like I did the rest appear.

Or I did something wrong, I put the new nxt folder on "programs" where the old one was, but I don't know if it was the right thing to do.
NXT address : NXT-6GY7-N6NT-RTM4-HN9VX

ScripterRon

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 457
    • View Profile
  • Karma: +72/-2
Re: NRS v1.5.14
July 30, 2015, 09:15:00 pm

There isn't any error in the screenshot you posted. What exactly does not work?

It doesn't work at "Failed toi resolve peer address: nxt.hopto.org", when I had this nothing hapenned, then I wait 3 at 6 minutes then I have the text with "error "Maximum number of inbound connections exceeded"", and if I wait some hours like I did the rest appear.

Or I did something wrong, I put the new nxt folder on "programs" where the old one was, but I don't know if it was the right thing to do.
Neither of those messages are error messages. 

"Failed to resolve peer address" means your DNS server was unable to resolve the address.  This is often temporary.  NRS continues normally.

"Maximum number of inbound connections exceeded" means the peer you are attempting to connect to has reached the maximum number of inbound connections that it allows.  This often happens for hallmarked peers because there are not enough hallmarked peers compared to the total number of Nxt peers in the network.  The default is for each NRS peer to connect to 20 hallmarked peers and there are approximately 80 hallmarked peers in the network (according to PeerExplorer).  My hallmarked peer typically has 450 inbound connections (I raised the maximum to 500 for my peer, the default maximum is 250).  Besides network bandwidth, the database load increases as the number of connections increases.  There are some enhancements in the works to reduce the database load for common peer requests (such as getting recent blocks).
NXT-XM86-4ZNA-65L5-CDWUE

MaWo

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 44
    • View Profile
    • NFD Coin
  • Karma: +14/-1
Re: NRS v1.5.14
August 01, 2015, 08:58:50 pm

I found this in my logfile from another node:

{"error":"nxt.NxtException$NotValidException: Peer sends invalid transactions: [java.lang.RuntimeException: org.h2.jdbc.JdbcSQLException: Połączenie nie zostało zamknięte\nIO Exception: \"java.io.IOException: Stream Closed\"; \"\/mnt\/DiskStation\/BitCoin\/nxt\/nxt_db\/nxt.h2.db\"; SQL statement:\nSELECT height FROM transaction WHERE id = ? [90031-176]]"}, ...

Feature request: Option to disable information disclosure.

altsheets

  • Full Member
  • ***
  • Offline Offline
  • Posts: 232
  • check out #AAssetNXT #AltFolio and #AssetGraphs
    • View Profile
    • AssetGraphs-v2 live examples
  • Karma: +31/-1
Re: NRS v1.5.14
August 04, 2015, 04:31:48 pm


Two tiny UI issues with translation, only problematic for people
who do not speak ANY English ( I just presented to such people  ;) ):

Language selection at login is sometimes inconsistent,
and "Plugins are disabled for th ..." is not translated.


It sometimes also happens after logout or logout and delete user data, but I could not reproduce it every time.


Try this in 1.5.14 with Firefox:

1) delete all cookies for localhost in   
    about:preferences#privacy ... remove individual cookies ... localhost ... remove all

2) http://localhost:7876 change to "Deutsch"
3) new tab http://localhost:7876

--> Now the dropdown is already "Deutsch" - but the text is still English.

The workaround is to change the language twice, of course.

4) login
5) "Plugins are disabled for th ..." is not translated yet.


It is the smallest possible issue, I know  :)
- but I thought it is still worthwhile reporting?

Thanks!
AltFolio | Newbium DataSite | AAssetNXT & -HZ | AssetGraphs | ABEE | Advice | assetparser.py & shareholders.py | bamm.py | PeerCrawler | Github e.g. ChainCountDown, ethjsre | ... much more

altsheets

  • Full Member
  • ***
  • Offline Offline
  • Posts: 232
  • check out #AAssetNXT #AltFolio and #AssetGraphs
    • View Profile
    • AssetGraphs-v2 live examples
  • Karma: +31/-1
Re: NRS v1.5.14
August 04, 2015, 04:38:25 pm

slightly bigger issue with translations:

Once the browser has cookied an account,
at opening a new http://localhost:7876 tab
I have no chance anymore to change the language,
unless I am logging in first, and then navigating
into the settings. Not 100% newbie friendly.

Suggestion:
Keep the language dropdown on the login page, always.
AltFolio | Newbium DataSite | AAssetNXT & -HZ | AssetGraphs | ABEE | Advice | assetparser.py & shareholders.py | bamm.py | PeerCrawler | Github e.g. ChainCountDown, ethjsre | ... much more

altsheets

  • Full Member
  • ***
  • Offline Offline
  • Posts: 232
  • check out #AAssetNXT #AltFolio and #AssetGraphs
    • View Profile
    • AssetGraphs-v2 live examples
  • Karma: +31/-1
Re: NRS v1.5.14
August 04, 2015, 05:03:34 pm

and here comes a BIG issue.

In a new installation, I cannot see any products in the marketplace.

It shows an overview (712 products available),
but when I click on a tag, e.g. "ebook [14]" the outcome is always:
Quote

Marketplace | Tag "ebook"
no products found


This is the environment, and what I did:

  • Windows 8, updated recently
  • User account (without admin rights)
  • installed the newest exe nxt-client-1.5.14.exe (111.005KB)
  • started it once, stopped again (to create the folders)
  • got the chain from peerexplorer
  • copied it into %APPDATA%
  • start ... nxt server
  • start ... nxt wallet
  • waited until fully synced
  • Firefox 39.0
  • deleted all the cookies
  • localhost:7876
  • login with passphrase
  • 77777777777777777777777
  • marketplace
  • accept
  • click on "ebook [14]"

result:

Quote

Marketplace | Tag "ebook"
no products found



I have already fiddled around a lot.
On my other machines, I see marketplace products no problem.

Can you perhaps list all the prerequisites for showing marketplace products - that could help me to isolate the reason for this bug?

Thx.

AltFolio | Newbium DataSite | AAssetNXT & -HZ | AssetGraphs | ABEE | Advice | assetparser.py & shareholders.py | bamm.py | PeerCrawler | Github e.g. ChainCountDown, ethjsre | ... much more

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1610
    • View Profile
  • Karma: +816/-81
Re: NRS v1.5.14
August 04, 2015, 10:26:51 pm

With this copying of blockchain downloaded from peerexplorer, probably the lucene index got corrupted or missing completely. You can rebuild it using the luceneReindex API under debug.
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322

altsheets

  • Full Member
  • ***
  • Offline Offline
  • Posts: 232
  • check out #AAssetNXT #AltFolio and #AssetGraphs
    • View Profile
    • AssetGraphs-v2 live examples
  • Karma: +31/-1
Re: NRS v1.5.14
August 05, 2015, 01:02:56 am

Thx a lot, Jean-Luc.

Does peerexplorer perhaps have to modify his script?
AltFolio | Newbium DataSite | AAssetNXT & -HZ | AssetGraphs | ABEE | Advice | assetparser.py & shareholders.py | bamm.py | PeerCrawler | Github e.g. ChainCountDown, ethjsre | ... much more

Titori2

  • Newbie
  • *
  • Offline Offline
  • Posts: 5
    • View Profile
  • Karma: +2/-0
Re: NRS v1.5.14
August 15, 2015, 02:41:34 pm

Ok, yes it works, but there is a few things wich aren't explain on the wiki and must be said if NXT will be more mainstream and user friendly ;)

The first time the instalation is beautifull, simple and you have two shortcuts on your desktop with NXT icon, one to launch the NXT server and the second to lauch the wallet.

But when you want to update the NRS client the problems begins, on the NXT FAQ I can read :


Quote
    If you're running the client, close the browser and stop the server window.
    Unzip the newly downloaded Nxt software .zip file overwriting the existing nxt folder.
    Start the Nxt software.
    Open your browser and access localhost:7876
    Unlock your account. Done!


Thirst thing, the first time I install NXT client the window I take in screenshot in my previous post just close by itself when the instalation is done, for this time I wait for hours but it never close, so I wana think the instalation have a problem, but no, it was complete, I have just to close it when it was complete (but when? I don't know, and I was waiting for hours).

Then the two old shorcuts don't work anymore, you have to use the new one, but their names change !!! The first time it was "NXT Server' and "NXT Wallet" on my desktop, now it's "nxt.exe" and "NXT_Wallet", and the icons also change, before it was two cute icons with a pretty NXT symbol, now it's just like two files with a lot of others files.


So, a little tutorial with this explanation will be good when we have to update the NRS client, because I think it's simple for guys who still knows how this kind of things works, but for me it was just like 3 hours just to understand this simple things.

Also, just changing the name of "nxt.exe" and "NXT_Wallet" by "NXT Server' and "NXT Wallet" and added the same icon as the shortcuts will be really helpfull to understand they are the same things.


It was a little hard for me to do this but being a noob is also a good thing, like this I find the things which aren't user friendly and I note them, when I have the time to do it I will create some tutorial to help the guys like me to understand those things, probably in french at first because english isn't my first language and I do some mispelling, but I'm sure that another french can translate it in english after  ;)

For now there is also only two others things, the blockchain you can download, there is no wallet.dat and no explicit tutotial to add it, and the first transaction you have to do if you want to have a numeric ID.
NXT address : NXT-6GY7-N6NT-RTM4-HN9VX
Pages: 1 2 [3]  All