Nxt Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

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

Pages: 1 2 [3] 4 5 6  All

Author Topic: NRS v1.5.15  (Read 18766 times)

Riker

  • Core Dev
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1705
    • View Profile
  • Karma: +429/-42
Re: NRS v1.5.15
September 02, 2015, 06:25:44 am

Thx for response.I am in private no problem.I have download the nxt_db but he don't work.  :-\

Are you able to start the Java process ? If so please post your nxt.log or at least error messages you received.
If not, try to start the process from the command line by calling run.bat and post the console messages here.
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

atchoum6760

  • Full Member
  • ***
  • Offline Offline
  • Posts: 142
    • View Profile
  • Karma: +1/-0
Re: NRS v1.5.15
September 02, 2015, 07:00:33 am

ok i delete all files on appdata and roaming and now it work.

tks all for response.
« Last Edit: September 02, 2015, 07:09:30 am by atchoum6760 »

qq2536007339

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 481
    • View Profile
  • Karma: +41/-9
Re: NRS v1.5.15
September 02, 2015, 07:36:16 am

I start to explore http://127.0.0.1:7876/dbshell today,and I don't fully understand the ACCOUNT table.

Code: [Select]
> SHOW columns FROM ACCOUNT

FIELD               | TYPE        | NULL | KEY | DEFAULT

DB_ID               | BIGINT(19)  | NO   | PRI | (NEXT VALUE FOR PUBLIC.SYSTEM_SEQUENCE_ACA0359A_20FD_456F_AA1A_FF99CA65DE4C)

ID                  | BIGINT(19)  | NO   | UNI | NULL

CREATION_HEIGHT     | INTEGER(10) | NO   |     | NULL

KEY_HEIGHT          | INTEGER(10) | YES  |     | NULL

BALANCE             | BIGINT(19)  | NO   |     | NULL

UNCONFIRMED_BALANCE | BIGINT(19)  | NO   |     | NULL

FORGED_BALANCE      | BIGINT(19)  | NO   |     | NULL

HEIGHT              | INTEGER(10) | NO   | UNI | NULL

LATEST              | BOOLEAN(1)  | NO   |     | TRUE

ACTIVE_LESSEE_ID    | BIGINT(19)  | YES  |     | NULL


Seems the ID column is set to unique,but when I do this,I get many same ID,and some ID is minus value,which make no sense to me.

Code: [Select]
> SELECT * FROM ACCOUNT ORDER BY BALANCE DESC LIMIT 30

DB_ID   | ID                   | CREATION_HEIGHT | KEY_HEIGHT | BALANCE          | UNCONFIRMED_BALANCE | FORGED_BALANCE | HEIGHT | LATEST | ACTIVE_LESSEE_ID

1734091 | 4747512364439223888  | 0               | 3          | 5000005146874505 | 5000005146874505    | 47256282329670 | 511214 | TRUE   | 47475721164246888

1733209 | 4747512364439223888  | 0               | 3          | 5000005140731053 | 5000005140731053    | 47256282329670 | 510984 | FALSE  | 47475721164246888

1722481 | 4747512364439223888  | 0               | 3          | 5000005139047675 | 5000005139047675    | 47256282329670 | 507884 | FALSE  | 47475721164246888

1715630 | -3875458717449758022 | 30723           | 32212      | 2919601931666116 | 2919601931666116    | 3992783000000  | 506333 | FALSE  | 1480789515119544614

1731885 | -3875458717449758022 | 30723           | 32212      | 2919601931666116 | 2919601931666116    | 3992783000000  | 510790 | FALSE  | 1480789515119544614

1734062 | -3875458717449758022 | 30723           | 32212      | 2919601837809568 | 2919601837809568    | 3992783000000  | 511214 | TRUE   | 1480789515119544614

1732401 | -3875458717449758022 | 30723           | 32212      | 2919601831666116 | 2919601831666116    | 3992783000000  | 510951 | FALSE  | 1480789515119544614

1734082 | 2159498187382012684  | 12155           | 13213      | 2600002504809569 | 2600002504809569    | 3494200000000  | 511214 | TRUE   | null

1712005 | 2159498187382012684  | 12155           | 13213      | 2600002498666117 | 2600002498666117    | 3494200000000  | 505420 | FALSE  | null

1735076 | -8528302348794471116 | 226729          | 226729     | 2549584764149585 | 2549584764149585    | 2887300000000  | 511595 | TRUE   | null

1735002 | -8528302348794471116 | 226729          | 226729     | 2549582564149585 | 2549582564149585    | 2885100000000  | 511561 | FALSE  | null

1734987 | -8528302348794471116 | 226729          | 226729     | 2549582364149585 | 2549582364149585    | 2884900000000  | 511553 | FALSE  | null

1734971 | -8528302348794471116 | 226729          | 226729     | 2549582264149585 | 2549582264149585    | 2884800000000  | 511549 | FALSE  | null

1734860 | -8528302348794471116 | 226729          | 226729     | 2549582164149585 | 2549582164149585    | 2884700000000  | 511499 | FALSE  | null

1734839 | -8528302348794471116 | 226729          | 226729     | 2549581964149585 | 2549581964149585    | 2884500000000  | 511487 | FALSE  | null

1734699 | -8528302348794471116 | 226729          | 226729     | 2549581764149585 | 2549581764149585    | 2884300000000  | 511450 | FALSE  | null

1734556 | -8528302348794471116 | 226729          | 226729     | 2549581464149585 | 2549581464149585    | 2884000000000  | 511396 | FALSE  | null

1734548 | -8528302348794471116 | 226729          | 226729     | 2549581364149585 | 2549581364149585    | 2883900000000  | 511387 | FALSE  | null

1734542 | -8528302348794471116 | 226729          | 226729     | 2549581264149585 | 2549581264149585    | 2883800000000  | 511382 | FALSE  | null

1734528 | -8528302348794471116 | 226729          | 226729     | 2549580864149585 | 2549580864149585    | 2883400000000  | 511375 | FALSE  | null

1734521 | -8528302348794471116 | 226729          | 226729     | 2549580664149585 | 2549580664149585    | 2883200000000  | 511372 | FALSE  | null

1734484 | -8528302348794471116 | 226729          | 226729     | 2549580164149585 | 2549580164149585    | 2882700000000  | 511361 | FALSE  | null

1734408 | -8528302348794471116 | 226729          | 226729     | 2549579564149585 | 2549579564149585    | 2882100000000  | 511321 | FALSE  | null

1734161 | -8528302348794471116 | 226729          | 226729     | 2549579364149585 | 2549579364149585    | 2881900000000  | 511241 | FALSE  | null

1734146 | -8528302348794471116 | 226729          | 226729     | 2549579064149585 | 2549579064149585    | 2881600000000  | 511235 | FALSE  | null

1734137 | -8528302348794471116 | 226729          | 226729     | 2549578964149585 | 2549578964149585    | 2881500000000  | 511231 | FALSE  | null

1734130 | -8528302348794471116 | 226729          | 226729     | 2549578664149585 | 2549578664149585    | 2881200000000  | 511226 | FALSE  | null

1734119 | -8528302348794471116 | 226729          | 226729     | 2549578564149585 | 2549578564149585    | 2881100000000  | 511219 | FALSE  | null

1734041 | -8528302348794471116 | 226729          | 226729     | 2549578364149585 | 2549578364149585    | 2880900000000  | 511213 | FALSE  | null

1733925 | -8528302348794471116 | 226729          | 226729     | 2549578358006133 | 2549578358006133    | 2880900000000  | 511210 | FALSE  | null

Is anybody can explain to me why? Thanks in advance.
« Last Edit: September 02, 2015, 07:39:43 am by qq2536007339 »
你送我未来币,我是要的。NXT-DJ68-PG7W-4JEU-2LU5T

Riker

  • Core Dev
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1705
    • View Profile
  • Karma: +429/-42
Re: NRS v1.5.15
September 02, 2015, 08:42:55 am

Seems the ID column is set to unique,but when I do this,I get many same ID,and some ID is minus value,which make no sense to me.

Only one record per account would have the LATEST field set to TRUE. This is the row which represents the current account status. The other account rows (LATEST=FALSE) represent previous state of the ACCOUNT object which is restored in case the block in which the current account state was set is popped off by a better fork.
The id is represented in the database as signed long, therefore the minus sign. Use Long.toUnsignedString() to convert to the unsigned representation.
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

ScripterRon

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 457
    • View Profile
  • Karma: +72/-2
Re: NRS v1.5.15
September 02, 2015, 09:30:46 am

Seems the ID column is set to unique,but when I do this,I get many same ID,and some ID is minus value,which make no sense to me.

Only one record per account would have the LATEST field set to TRUE. This is the row which represents the current account status. The other account rows (LATEST=FALSE) represent previous state of the ACCOUNT object which is restored in case the block in which the current account state was set is popped off by a better fork.
The id is represented in the database as signed long, therefore the minus sign. Use Long.toUnsignedString() to convert to the unsigned representation.
In addition, the unique key is (id,height)
NXT-XM86-4ZNA-65L5-CDWUE

qq2536007339

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 481
    • View Profile
  • Karma: +41/-9
Re: NRS v1.5.15
September 02, 2015, 10:28:23 am

Thanks guys,I get it now, ;D
你送我未来币,我是要的。NXT-DJ68-PG7W-4JEU-2LU5T

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1610
    • View Profile
  • Karma: +816/-81
Re: NRS v1.5.15
September 03, 2015, 07:54:30 am

Note that the database schema is not guaranteed to remain the same. In 1.6.0 the account table has changed, it will no longer store zero balance accounts, and the key_height and creation_height columns are gone. Only the public_key table will always keep the public keys (or null, if not yet set) for all accounts, regardless of balance.
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1610
    • View Profile
  • Karma: +816/-81
Re: NRS v1.5.15
September 03, 2015, 08:00:19 am

revealedSecret is taking hexstring and presumably revealedSecretText is what the GUI is using
I realize this is not consistent with the other APIs, I will add a revealedSecretIsText boolean parameter (default false) to control whether revealedSecret is text or hex encoded binary, and leave revealedSecretText as an undocumented alternative way of supplying the text value.
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322

qq2536007339

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 481
    • View Profile
  • Karma: +41/-9
Re: NRS v1.5.15
September 03, 2015, 12:15:55 pm

Hi,guys!

I found a strange thing,when I open http://localhost:7876/nxt?requestType=getTransaction&transaction=4016189039045729226 ,I notice the timestamp is -929,as I know,this is wrong,but it's in NXT blockchain since height 8,seems will stay forever.
你送我未来币,我是要的。NXT-DJ68-PG7W-4JEU-2LU5T

LiQio

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 673
    • View Profile
    • NxtLoader for Windows
  • Karma: +50/-5
Re: NRS v1.5.15
September 03, 2015, 01:04:12 pm

Hi,guys!

I found a strange thing,when I open http://localhost:7876/nxt?requestType=getTransaction&transaction=4016189039045729226 ,I notice the timestamp is -929,as I know,this is wrong,but it's in NXT blockchain since height 8,seems will stay forever.

see here https://nxtforum.org/index.php?topic=85.msg99381#msg99381

Edit: and here https://bitcointalk.org/index.php?topic=345619.msg4090696#msg4090696

Edit2: seems like "blockTimestamp" is the relevant number
« Last Edit: September 03, 2015, 01:27:36 pm by LiQio »
NxtLoader for Windows | VPS 178.33.203.157 | NXT-7LUC-22LJ-5WJ4-22222

qq2536007339

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 481
    • View Profile
  • Karma: +41/-9
Re: NRS v1.5.15
September 04, 2015, 10:58:00 am

see here https://nxtforum.org/index.php?topic=85.msg99381#msg99381

Edit: and here https://bitcointalk.org/index.php?topic=345619.msg4090696#msg4090696

Edit2: seems like "blockTimestamp" is the relevant number

Thanks for your reply,but that explain is not enough for me.

I found another odd thing,transaction 5509621091207747158 didn't have a recipient,1 NXT is gone forever?

http://localhost:7876/nxt?requestType=getTransaction&transaction=5509621091207747158
你送我未来币,我是要的。NXT-DJ68-PG7W-4JEU-2LU5T

LiQio

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 673
    • View Profile
    • NxtLoader for Windows
  • Karma: +50/-5
Re: NRS v1.5.15
September 04, 2015, 11:07:34 am

That is a destroyed (= sent to the genesis account) NXT.

It is now null in the DB/API for performance reasons

https://nxtforum.org/nrs-releases/nrs-v1-2-1e
Quote
To improve database performance, transactions that do not have a recipient now
have null instead of the genesis account id as recipient in the transactions
table. Such transactions will also not have a recipient field in their JSON.
NxtLoader for Windows | VPS 178.33.203.157 | NXT-7LUC-22LJ-5WJ4-22222

qq2536007339

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 481
    • View Profile
  • Karma: +41/-9
Re: NRS v1.5.15
September 05, 2015, 12:57:20 am

That is a destroyed (= sent to the genesis account) NXT.

It is now null in the DB/API for performance reasons

https://nxtforum.org/nrs-releases/nrs-v1-2-1e
Quote
To improve database performance, transactions that do not have a recipient now
have null instead of the genesis account id as recipient in the transactions
table. Such transactions will also not have a recipient field in their JSON.

Thanks,that does explain why.
你送我未来币,我是要的。NXT-DJ68-PG7W-4JEU-2LU5T

qq2536007339

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 481
    • View Profile
  • Karma: +41/-9
Re: NRS v1.5.15
September 05, 2015, 07:51:59 am

That is a destroyed (= sent to the genesis account) NXT.

It is now null in the DB/API for performance reasons

https://nxtforum.org/nrs-releases/nrs-v1-2-1e
Quote
To improve database performance, transactions that do not have a recipient now
have null instead of the genesis account id as recipient in the transactions
table. Such transactions will also not have a recipient field in their JSON.

Since you know so much about NXT, ;),can I want ask you another question.

What's is EC BLOCK and why we need it in blockchain?
« Last Edit: September 05, 2015, 08:22:54 am by qq2536007339 »
你送我未来币,我是要的。NXT-DJ68-PG7W-4JEU-2LU5T

LiQio

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 673
    • View Profile
    • NxtLoader for Windows
  • Karma: +50/-5
Re: NRS v1.5.15
September 05, 2015, 03:55:51 pm

That is a destroyed (= sent to the genesis account) NXT.

It is now null in the DB/API for performance reasons

https://nxtforum.org/nrs-releases/nrs-v1-2-1e
Quote
To improve database performance, transactions that do not have a recipient now
have null instead of the genesis account id as recipient in the transactions
table. Such transactions will also not have a recipient field in their JSON.

Since you know so much about NXT, ;),can I want ask you another question.

What's is EC BLOCK and why we need it in blockchain?

Thanks, but I don't know a lot about NXT (I'm not smart enough)

EC is the abbreviation for Economic Clustering. This is about all I know.
Maybe you find out more using the search function of the forum, or check the release notes (folder changelogs of NXT releases) or wait until one of the smart guys answers  ;)

Some hints:
https://nxtforum.org/index.php?topic=5834.msg114591#msg114591
https://nxtforum.org/index.php?topic=8426.msg166148#msg166148
https://nxtforum.org/news-and-announcements/economic-clustering/
NxtLoader for Windows | VPS 178.33.203.157 | NXT-7LUC-22LJ-5WJ4-22222

qq2536007339

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 481
    • View Profile
  • Karma: +41/-9
Re: NRS v1.5.15
September 06, 2015, 02:27:55 am

Thanks, but I don't know a lot about NXT (I'm not smart enough)

EC is the abbreviation for Economic Clustering. This is about all I know.
Maybe you find out more using the search function of the forum, or check the release notes (folder changelogs of NXT releases) or wait until one of the smart guys answers  ;)

Some hints:
https://nxtforum.org/index.php?topic=5834.msg114591#msg114591
https://nxtforum.org/index.php?topic=8426.msg166148#msg166148
https://nxtforum.org/news-and-announcements/economic-clustering/

Thanks,and you are right,I should using the search function of the forum before ask question.
你送我未来币,我是要的。NXT-DJ68-PG7W-4JEU-2LU5T

martismartis

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1224
    • View Profile
  • Karma: +70/-10
Re: NRS v1.5.15
September 11, 2015, 09:03:40 am

My public node shuts down often. Log:
Code: [Select]
2015-09-10 18:38:21 FINE: Blacklisting 217.157.137.157 because of: java.net.UnknownHostException: zdani.szn.dk: unknown error
2015-09-10 18:38:24 INFO: Shutting down...
2015-09-10 18:38:19 INFO: Stopping background jobs...
2015-09-10 18:38:19 INFO: shutting down scheduledThreadPool
2015-09-10 18:38:21 INFO: ...Done
2015-09-10 18:38:22 FINE: Mapping deleted for port 7874
2015-09-10 18:38:22 INFO: shutting down sendingService
2015-09-10 18:38:22 INFO: shutting down peersService
2015-09-10 18:38:31 INFO: Database shutdown completed
2015-09-10 18:38:31 INFO: Nxt server 1.5.15 stopped.

What's could be wrong?

Riker

  • Core Dev
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1705
    • View Profile
  • Karma: +429/-42
Re: NRS v1.5.15
September 11, 2015, 09:38:20 am

My public node shuts down often. Log:
Code: [Select]
2015-09-10 18:38:21 FINE: Blacklisting 217.157.137.157 because of: java.net.UnknownHostException: zdani.szn.dk: unknown error
2015-09-10 18:38:24 INFO: Shutting down...
2015-09-10 18:38:19 INFO: Stopping background jobs...
2015-09-10 18:38:19 INFO: shutting down scheduledThreadPool
2015-09-10 18:38:21 INFO: ...Done
2015-09-10 18:38:22 FINE: Mapping deleted for port 7874
2015-09-10 18:38:22 INFO: shutting down sendingService
2015-09-10 18:38:22 INFO: shutting down peersService
2015-09-10 18:38:31 INFO: Database shutdown completed
2015-09-10 18:38:31 INFO: Nxt server 1.5.15 stopped.

What's could be wrong?

Something has triggerred the Java shutdown hook. Perhaps you started the server without nohup ?
Use the following command to start the server:
Code: [Select]
nohup ./run.sh &
If you are on Windows, run as a Windows service.
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

martismartis

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1224
    • View Profile
  • Karma: +70/-10
Re: NRS v1.5.15
September 11, 2015, 09:53:34 am

My public node shuts down often. Log:
Code: [Select]
2015-09-10 18:38:21 FINE: Blacklisting 217.157.137.157 because of: java.net.UnknownHostException: zdani.szn.dk: unknown error
2015-09-10 18:38:24 INFO: Shutting down...
2015-09-10 18:38:19 INFO: Stopping background jobs...
2015-09-10 18:38:19 INFO: shutting down scheduledThreadPool
2015-09-10 18:38:21 INFO: ...Done
2015-09-10 18:38:22 FINE: Mapping deleted for port 7874
2015-09-10 18:38:22 INFO: shutting down sendingService
2015-09-10 18:38:22 INFO: shutting down peersService
2015-09-10 18:38:31 INFO: Database shutdown completed
2015-09-10 18:38:31 INFO: Nxt server 1.5.15 stopped.

What's could be wrong?

Something has triggerred the Java shutdown hook. Perhaps you started the server without nohup ?
Use the following command to start the server:
Code: [Select]
nohup ./run.sh &
If you are on Windows, run as a Windows service.

I run public node on Android TV stick with Linux inside it.

Amalgamus

  • Full Member
  • ***
  • Offline Offline
  • Posts: 138
    • View Profile
  • Karma: +15/-1
Re: NRS v1.5.15
September 24, 2015, 03:00:09 pm

Since I deleted the wallet v1.5.12 to get the latest version about 3 days ago, nothing works and I can't get a NXT wallet anymore.
Luckily I was able to make transactions with the Jay client.
For the latest versions I would always click on "run" to get the blockchain from the start and could open my wallet anytime during the downloading of the blockchain. Now everytime I tried to open any wallet it gives me a connection error and do not recognize the localhost.
I suspected at first that it was coming from the firewall, but it doesn't work even when I disable the firewall.
To make things worse, even after the nrs downloads any amount of blocks if I stop it momentarily, it doesn't take into account all the downloading made before but starts again from the first block when I run it again.
If you can be of any help to get me a NXT wallet working I would really be grateful. But if your answer is too technical for my little brain, I am afraid I won't get anywhere.

Pages: 1 2 [3] 4 5 6  All