Author

Topic: | Nxt | Blockchain Platform | Proof of Stake | Official - page 112. (Read 941430 times)

hero member
Activity: 770
Merit: 500
Little brother Ardor has a new updated testnet version.
Go try it out now and enjoy!

Ardor testnet v2.0.1e is up!
Updates include bugfixes and UI improvements.

Download the latest version today on https://www.ardorplatform.org.
hero member
Activity: 770
Merit: 500
Snapshot, the book about Nxt by @Nxter_org, is now in the northernmost public library in the world.
Svalbard - Longyearbyen

hero member
Activity: 770
Merit: 500
Nxt is in an academic article titled Scripting Smart Contracts for Distributed Ledger Technology blockchain
https://eprint.iacr.org/2016/1156.pdf
legendary
Activity: 1316
Merit: 1021
2009 Alea iacta est
Full Demo of builtin blockchain features - NRS client


https://demo.nxt.org/index.html
hero member
Activity: 770
Merit: 500
Bought my first 600k nxt and buying couple assets. This blockchain is the only one my friends been whispering about lately.

Be sure to run a node and start forging Wink

Do i have to run a node to forge? If i dont run a node and just forge does it still help the blockchain or no?

You can forge on a private node, this is still a node, just not a public one.
You help the blockchain when you forge. The more forging power, the more secure is the blockchain.

Starting the Nxt NRS client makes you forge. You need to have it open though to keep forging.

You can also run it on rasp Pi or Odroid and keep it 24/7 powered by solar panel with battery.

Also you can lease your balance to another forger.
sr. member
Activity: 378
Merit: 250
Bought my first 600k nxt and buying couple assets. This blockchain is the only one my friends been whispering about lately.

Be sure to run a node and start forging Wink

Do i have to run a node to forge? If i dont run a node and just forge does it still help the blockchain or no?

You can forge on a private node, this is still a node, just not a public one.
You help the blockchain when you forge. The more forging power, the more secure is the blockchain.
hero member
Activity: 785
Merit: 502
Bought my first 600k nxt and buying couple assets. This blockchain is the only one my friends been whispering about lately.

Be sure to run a node and start forging Wink

Do i have to run a node to forge? If i dont run a node and just forge does it still help the blockchain or no?
sr. member
Activity: 378
Merit: 250
Bought my first 600k nxt and buying couple assets. This blockchain is the only one my friends been whispering about lately.

Be sure to run a node and start forging Wink
hero member
Activity: 785
Merit: 502
Bought my first 600k nxt and buying couple assets. This blockchain is the only one my friends been whispering about lately.
hero member
Activity: 797
Merit: 500
Inver-Crypto
holding this coin, i think gonna recover this year... good work admin
sr. member
Activity: 1451
Merit: 258
Hopefully NXT can return to the expensive price at that time in 2014.
hero member
Activity: 770
Merit: 500
sr. member
Activity: 378
Merit: 250
this one worked with  1.11.2
Quote
nxt.dbUrl=jdbc:h2:/home/pi/usbdrv/nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;M$

and this one works with  1.11.3
Quote
nxt.dbUrl=jdbc:h2:/home/pi/usbdrv/nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;MV_STORE=FALSE

i checked nxt-default.properties and there the part at the end was different.

This is great, you added to the knowledge base of NXT node operations!
I never used that setting in my nodes.
hero member
Activity: 785
Merit: 502
Companies starting to get ready for Ardor i really am liking this Janus team and the nxt software. Does this community  support bigger projects like them or are they just marketing themselves so far?
legendary
Activity: 1498
Merit: 1117
thank you. but now the server just stops.

It complains about
nxt.dbUrl=jdbc:h2:/home/pi/usbdrv/nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;M$

I don't know what the correct format for that setting should be, but you may try to symlink the blockchain directory on the external drive instead of using this setting:

Code:
ln -s /home/pi/usbdrv/nxt_db /home/pi/nxt/nxt_db

you found the problem. after i deleted the line in nxt.properties it works.

BUT before the update it worked with this.
nxt.dbUrl=jdbc:h2:/home/pi/usbdrv/nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;M$

 Undecided

EDIT: You found the problem thank you. i cant read these logs. now i have found the solution.

this one worked with  1.11.2
Quote
nxt.dbUrl=jdbc:h2:/home/pi/usbdrv/nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;M$

and this one works with  1.11.3
Quote
nxt.dbUrl=jdbc:h2:/home/pi/usbdrv/nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;MV_STORE=FALSE

i checked nxt-default.properties and there the part at the end was different.
sr. member
Activity: 378
Merit: 250
thank you. but now the server just stops.

It complains about
nxt.dbUrl=jdbc:h2:/home/pi/usbdrv/nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;M$

I don't know what the correct format for that setting should be, but you may try to symlink the blockchain directory on the external drive instead of using this setting:

Code:
ln -s /home/pi/usbdrv/nxt_db /home/pi/nxt/nxt_db
legendary
Activity: 1498
Merit: 1117
thank you. but now the server just stops.

thats the config:
Quote
nxt.myAddress=nxtpi.duckdns.org
nxt.apiServerHost=0.0.0.0
nxt.allowedBotHosts=*
nxt.keyStorePath=keystore
nxt.keyStorePassword= --------------------
nxt.apiSSL=true
nxt.dbUrl=jdbc:h2:/home/pi/usbdrv/nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;M$
nxt.myPlatform= ------------

here the output. i could not find the problem.
Quote
Initializing Nxt server version 1.11.3
javafx not supported
isHeadless=true
Runtime mode nxt.env.CommandLineMode
User home folder /home/pi/nxt
Loading nxt-default.properties from classpath
Loading nxt.properties from classpath
Loading logging-default.properties from classpath
2017-02-12 18:31:22 INFO: nxt.enableStackTraces = "true"
2017-02-12 18:31:23 INFO: nxt.enableLogTraceback = "false"
2017-02-12 18:31:23 INFO: logging enabled
2017-02-12 18:31:23 INFO: socksProxyHost not defined
2017-02-12 18:31:23 INFO: socksProxyPort not defined
2017-02-12 18:31:23 FINE: java.version = 1.8.0_121
2017-02-12 18:31:23 FINE: java.vm.version = 25.121-b13
2017-02-12 18:31:23 FINE: java.vm.name = Java HotSpot(TM) Client VM
2017-02-12 18:31:23 FINE: java.vendor = Oracle Corporation
2017-02-12 18:31:23 FINE: java.vm.vendor = Oracle Corporation
2017-02-12 18:31:23 FINE: java.home = /usr/local/java/jre
2017-02-12 18:31:23 FINE: java.library.path = /usr/java/packages/lib/arm:/lib:/usr/lib
2017-02-12 18:31:23 FINE: java.class.path = classes:lib/jetty-io-9.3.16.v20170120.jar:lib/lucene-queries-5.3.2.jar:lib/lucene-queryparser-5.3.2.jar:lib/javase-3.3.0.jar:lib/jetty-servlet-9.3.16.v20170120.jar:lib/jetty-continuation-9.3.16.v20170120.jar:lib/websocket-servlet-9.3.16.v20170120.jar:lib/json-simple-1.1.1.jar:lib/jetty-client-9.3.16.v20170120.jar:lib/javax.servlet-api-3.1.0.jar:lib/slf4j-api-1.7.22.jar:lib/tika-parsers-1.13.jar:lib/lucene-core-5.3.2.jar:lib/websocket-server-9.3.16.v20170120.jar:lib/jetty-proxy-9.3.16.v20170120.jar:lib/tika-core-1.13.jar:lib/bcprov-jdk15on-156.jar:lib/jetty-security-9.3.16.v20170120.jar:lib/jetty-server-9.3.16.v20170120.jar:lib/weupnp-0.1.4.jar:lib/lucene-analyzers-common-5.3.2.jar:lib/jetty-http-9.3.16.v20170120.jar:lib/websocket-api-9.3.16.v20170120.jar:lib/jetty-servlets-9.3.16.v20170120.jar:lib/jetty-util-9.3.16.v20170120.jar:lib/h2-1.4.193.jar:lib/websocket-common-9.3.16.v20170120.jar:lib/core-3.3.0.jar:lib/slf4j-jdk14-1.7.22.jar:lib/websocket-client-9.3.16.v20170120.jar:conf:addons/classes:addons/lib/*
2017-02-12 18:31:23 FINE: os.arch = arm
2017-02-12 18:31:23 FINE: sun.arch.data.model = 32
2017-02-12 18:31:23 FINE: os.name = Linux
2017-02-12 18:31:23 FINE: file.encoding = ANSI_X3.4-1968
2017-02-12 18:31:23 FINE: java.security.policy = null
2017-02-12 18:31:23 FINE: java.security.manager = null
2017-02-12 18:31:23 FINE: nxt.runtime.mode = null
2017-02-12 18:31:23 FINE: nxt.runtime.dirProvider = null
2017-02-12 18:31:23 FINE: availableProcessors = 1
2017-02-12 18:31:23 FINE: maxMemory = 648806400
2017-02-12 18:31:23 FINE: processId = 1290
2017-02-12 18:31:23 INFO: nxt.isTestnet = "false"
2017-02-12 18:31:23 INFO: nxt.isOffline = "false"
2017-02-12 18:31:23 INFO: nxt.isLightClient = "false"
2017-02-12 18:31:23 INFO: nxt.maxRollback = "800"
2017-02-12 18:31:23 INFO: nxt.forgingDelay = "20"
2017-02-12 18:31:23 INFO: nxt.forgingSpeedup = "3"
2017-02-12 18:31:23 INFO: nxt.maxPrunableLifetime = "7776000"
2017-02-12 18:31:23 INFO: nxt.includeExpiredPrunable = "true"
2017-02-12 18:31:23 INFO: nxt.correctInvalidFees = "false"
2017-02-12 18:31:23 INFO: nxt.statementLogThreshold = "10000"
2017-02-12 18:31:23 INFO: nxt.transactionLogThreshold = "15000"
2017-02-12 18:31:23 INFO: nxt.transactionLogInterval = "15"
2017-02-12 18:31:23 INFO: nxt.dbCacheKB = "0"
2017-02-12 18:31:23 INFO: nxt.dbUrl = "jdbc:h2:/home/pi/usbdrv/nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;M$"
2017-02-12 18:31:23 INFO: nxt.dbType = "h2"
2017-02-12 18:31:23 INFO: nxt.dbDir = "./nxt_db/nxt"
2017-02-12 18:31:23 INFO: nxt.dbParams = "DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;MV_STORE=FALSE"
2017-02-12 18:31:23 INFO: nxt.dbUsername = "sa"
2017-02-12 18:31:23 INFO: nxt.dbPassword = "{not logged}"
2017-02-12 18:31:23 INFO: nxt.maxDbConnections = "30"
2017-02-12 18:31:23 INFO: nxt.dbLoginTimeout = "70"
2017-02-12 18:31:23 INFO: nxt.dbDefaultLockTimeout = "60"
2017-02-12 18:31:23 INFO: nxt.dbMaxMemoryRows = "1000000"
2017-02-12 18:31:24 FINE: Database jdbc url set to jdbc:h2:/home/pi/usbdrv/nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;M$;MV_STORE=FALSE;CACHE_SIZE=250880 username sa
2017-02-12 18:31:28 INFO: nxt.useStrongSecureRandom = "false"
2017-02-12 18:31:29 SEVERE: org.h2.jdbc.JdbcSQLException: URL format error; must be "jdbc:h2:{ {.|mem:}[name] | [file:]fileName | {tcp|ssl}:[//]server[:port][,server2[:port]]/name }[;key=value...]" but is "jdbc:h2:/home/pi/usbdrv/nxt_db/nxt" [90046-193]
java.lang.RuntimeException: org.h2.jdbc.JdbcSQLException: URL format error; must be "jdbc:h2:{ {.|mem:}[name] | [file:]fileName | {tcp|ssl}:[//]server[:port][,server2[:port]]/name }[;key=value...]" but is "jdbc:h2:/home/pi/usbdrv/nxt_db/nxt" [90046-193]
   at nxt.db.BasicDb.init(BasicDb.java:147)
   at nxt.Db.init(Db.java:40)
   at nxt.Nxt$Init.(Nxt.java:343)
   at nxt.Nxt.init(Nxt.java:312)
   at nxt.Nxt.main(Nxt.java:299)
Caused by: org.h2.jdbc.JdbcSQLException: URL format error; must be "jdbc:h2:{ {.|mem:}[name] | [file:]fileName | {tcp|ssl}:[//]server[:port][,server2[:port]]/name }[;key=value...]" but is "jdbc:h2:/home/pi/usbdrv/nxt_db/nxt" [90046-193]

2017-02-12 18:31:46 INFO: Nxt server 1.11.3 stopped.
sr. member
Activity: 378
Merit: 250
hi

i have a headless node on a raspi. now i would like to update. but i don't want to mess up my running system.

how do i update to nrs-v1.11.3? i can connect to the raspi with ssh.

do i just have to save my nxt.properties?

then wget https://bitbucket.org/JeanLucPicard/nxt/downloads/nxt-client-1.11.3.zip
unzip nxt-client-1.11.3.zip
replace nxt.properties and start up again?

thanks for the help.

Code:
kill -15 `pidof java`
to safely shut down NXT. Give it a minute to exit. 'ps auxw | grep java' to make sure it's exited.

mv nxt nxt.old
wget https://bitbucket.org/JeanLucPicard/nxt/downloads/nxt-client-1.11.3.zip
unzip nxt-client-1.11.3.zip
cp nxt.old/conf/nxt.properties nxt/conf/
mv nxt.old/nxt_db nxt/
rm -rf nxt.old
legendary
Activity: 1498
Merit: 1117
hi

i have a headless node on a raspi. now i would like to update. but i don't want to mess up my running system.

how do i update to nrs-v1.11.3? i can connect to the raspi with ssh.

do i just have to save my nxt.properties?

then wget https://bitbucket.org/JeanLucPicard/nxt/downloads/nxt-client-1.11.3.zip
unzip nxt-client-1.11.3.zip
replace nxt.properties and start up again?

thanks for the help.
hero member
Activity: 770
Merit: 500
And with the new Nxt NRS mainnet client 1.11.3, the Nxt team also has Ardor testnet available now:
https://nxtforum.org/nrs-releases/ardor-v2-0-0e/


Enjoy your weekend!

It seems to me that after the NXT accrued all tokens Ardor for holding NXT, at this moment he long working NXT project is dead, and for Ardor, too, were not so good times, but now we see that ARDR slowly gets to his feet, can not be said about the NXT ...

Nxt is far from dead. See 2 posts above a new Nxt mainnet client version. New projects also on Nxt.
Constant updates and news.
Jump to: