Author

Topic: NXT :: descendant of Bitcoin - Updated Information - page 2206. (Read 2761629 times)

legendary
Activity: 1792
Merit: 1038
what does it mean when my unlocked client is seeing new blocks (i see 24010 at 332%) but no countdown timer to forge next block?
- may be you opened your new account with freshly bought NXTs (they need to mature)?
hero member
Activity: 600
Merit: 500
Nxt-kit developer
Well, I guess you have valid points, but at this time since the blockchain is small, that'll do I guess.
Or maybe it's really best to copy the files.

For now, when there is a lot of blockchains and a few hosts, re-downloading it is good idea. You most probably get most popular chain.
In future, ofc, it is better to save previous one
full member
Activity: 168
Merit: 100
IDEX - LIVE Real-time DEX
Working on node infrastructure with a full redesign of nxtbase to support 100+. I won't open source my new management stuff for a bit, but here's a handy one for you VPSers running ubuntu.

Code:
$ sudo apt-get install --yes supervisor
$ sudo service supervisor restart

Then copy file like this to /etc/supervisor/conf.d/nrs.conf:
Code:
[program:nrs]
command=java -Xms$MIN -Xmx$MAX -jar start.jar
autostart=true
autorestart=true
stderr_logfile=/home/$USER/nxt/logs/stderr.log
stdout_logfile=/home/$USER/nxt/logs/stdout.log
user=$USER
directory=/home/$USER/nxt

Replace $MIN and $MAX with your memory limits. Replace $USER with your user. The run:
Code:
$ sudo supervisorctl reread
$ sudo supervisorctl update
$ sudo supervisorctl status

Now, what do you get for your efforts?

Restart on crash
Restart on reboot
handy commands for start/stop/restart/status (sudo supervisorctl CMD nrs).

Cool huh?
hero member
Activity: 907
Merit: 1003
Is it true that the only way for someone to get their first NXT coins would be to purhcase them or be given them? Since there is no proof of work system? I understand that you can forge more once you own some, but how do you get your initial NXT ?
member
Activity: 98
Merit: 10
if you have a node with 512 Mb RAM:
nohup java -Xms450m -Xmx480m -jar start.jar &

if you have a node with 1 GB RAM:
nohup java -Xms700m -Xmx900m -jar start.jar &

if you have a node with 2 GB RAM:
nohup java -Xms1500m -Xmx1800m -jar start.jar &

Ah, one more point on this guide - which otherwise I like, sorry I'm being picky Wink

If a server has 512MB RAM then a max heap size of 480MB is likely to be too large. There is the perm gem to think about (currently something like 20MB, but could go higher if more is added to the distribution), plus general memory used by the Java process itself, plus anything used by the OS and any other applications you have running. Setting a heap size such that Java needs to write to swap normally results in bad performance.

Same for the other values.


What values would you advise for the above cases? I am not a java expert, so any suggestions are welcome.
full member
Activity: 238
Merit: 100
what does it mean when my unlocked client is seeing new blocks (i see 24010 at 332%) but no countdown timer to forge next block?
sr. member
Activity: 378
Merit: 250
if you have a node with 512 Mb RAM:
nohup java -Xms450m -Xmx480m -jar start.jar &

if you have a node with 1 GB RAM:
nohup java -Xms700m -Xmx900m -jar start.jar &

if you have a node with 2 GB RAM:
nohup java -Xms1500m -Xmx1800m -jar start.jar &

Ah, one more point on this guide - which otherwise I like, sorry I'm being picky Wink

If a server has 512MB RAM then a max heap size of 480MB is likely to be too large. There is the perm gem to think about (currently something like 20MB, but could go higher if more is added to the distribution), plus general memory used by the Java process itself, plus anything used by the OS and any other applications you have running. Setting a heap size such that Java needs to write to swap normally results in bad performance.

Same for the other values.
hero member
Activity: 840
Merit: 1000
With the latest 0.4.4 release my client seems to have gotten stuck and isn't grabbing blocks. It just gets block 0 then seems to stall. There are no peers listed under active either. Tried deleting blocks.nxt, any other ideas?

Edit: Hmm, working now but took a few restarts
member
Activity: 98
Merit: 10
How to upgrade your NXT node guide.


It's a nice guide. But to reduce unnecessary traffic on other nodes shouldn't we aim to keep the existing block chain as part of the upgrade process?

(At least, when it's a clean upgrade that isn't due to a corrupted block chain. I've sometimes seen NPEs in the logs which could only be fixed by starting from zero or from a known good partial block chain).

So - that would mean:
 - Graceful shutdown, rather than kill -9
 - Copying over the old block data after unzipping

Also, a 'verify shasum' step is optional but should be encouraged...


Well, I guess you have valid points, but at this time since the blockchain is small, that'll do I guess.
Or maybe it's really best to copy the files.
Let's ask CfB Smiley
sr. member
Activity: 378
Merit: 250
How to upgrade your NXT node guide.


It's a nice guide. But to reduce unnecessary traffic on other nodes shouldn't we aim to keep the existing block chain as part of the upgrade process?

(At least, when it's a clean upgrade that isn't due to a corrupted block chain. I've sometimes seen NPEs in the logs which could only be fixed by starting from zero or from a known good partial block chain).

So - that would mean:
 - Graceful shutdown, rather than kill -9
 - Copying over the old block data after unzipping

Also, a 'verify shasum' step is optional but should be encouraged...


full member
Activity: 378
Merit: 104
Thanks for the donations guys, i'll add 2-3 nodes tomorrow.
512mb vps are working well Smiley
legendary
Activity: 1344
Merit: 1001
Quote
in terms of mining, its still way to early to worry about it. there are very little paid transactions going out. I have 250k and have tried to be open for the past two weeks, but I have mined 2 blocks and earned 1nxt

Is anyone else having more luck?

To explain further, the NXT you earn from forging comes from transactions. The more transactions there are on the network the more NXT available for forgers to potentially grab.

Right now since it's a very new project the transaction volume is low. As network transaction volume increases forging will become more lucrative.

That is my understanding of it
sr. member
Activity: 602
Merit: 268
Internet of Value
Quote
in terms of mining, its still way to early to worry about it. there are very little paid transactions going out. I have 250k and have tried to be open for the past two weeks, but I have mined 2 blocks and earned 1nxt

Is anyone else having more luck?

I hit a block that paid 77 during a couple of hours after alias system launch. There was a block with more than 200K in fee.
sr. member
Activity: 602
Merit: 268
Internet of Value
Just trying to get some idea of sizing here and what is 'significant' in the world of NXT.  May be impossible to say right now with such crazy fluctuations; but what is a "big fish" in NXT?

I'm used to mining around 2 LTC/day.  If I have 10,000 NXT is that going to forge something worthwhile?  I'm hesitant to dump 1-2 more BTC in until everything stabilizes but I don't want to be a small player.

I have about 20k nxt,
mined for about 10 days and got nothing

Thanks...I'll consider that.  I spent 20 LTC to get my current 10k nxt; seems expensive but I want to get in early, no doubt..

in terms of mining, its still way to early to worry about it. there are very little paid transactions going out. I have 250k and have tried to be open for the past two weeks, but I have mined 2 blocks and earned 1nxt

http://87.230.14.1/nxt/nxt.cgi?action=3000&acc=15436509232181115695

Only when the transaction pick up that the forging income become relevant. It is proven at alias launch that even small stack at 50k-100k could have a chance of hitting a substantial block reward. Imagine even more transactions when Nxt network activity scales up as market for alias transfer and asset market begin to work properly.
Don't give up, the future is bright with Nxt.
legendary
Activity: 1372
Merit: 1000
Quote
in terms of mining, its still way to early to worry about it. there are very little paid transactions going out. I have 250k and have tried to be open for the past two weeks, but I have mined 2 blocks and earned 1nxt

Is anyone else having more luck?
sr. member
Activity: 336
Merit: 250
AKA jefdiesel
Just trying to get some idea of sizing here and what is 'significant' in the world of NXT.  May be impossible to say right now with such crazy fluctuations; but what is a "big fish" in NXT?

I'm used to mining around 2 LTC/day.  If I have 10,000 NXT is that going to forge something worthwhile?  I'm hesitant to dump 1-2 more BTC in until everything stabilizes but I don't want to be a small player.

I have about 20k nxt,
mined for about 10 days and got nothing

Thanks...I'll consider that.  I spent 20 LTC to get my current 10k nxt; seems expensive but I want to get in early, no doubt..

in terms of mining, its still way to early to worry about it. there are very little paid transactions going out. I have 250k and have tried to be open for the past two weeks, but I have mined 2 blocks and earned 1nxt

http://87.230.14.1/nxt/nxt.cgi?action=3000&acc=15436509232181115695
member
Activity: 98
Merit: 10
How to upgrade your NXT node guide.

Step 1) Log in to your node using Putty (user 'root' and pass that your received in the welcome email from your VPS company).

Step 2) Enter the following commands in the terminal:

1) 'top' command, it will show a line similar to this for 'java' process:

2973 root       20   0 1166m 428m  10m S   0.0 41.8   9:57.51 java


2973 is your process ID.


press 'q' to exit top;

2) kill -9 2973      (kills the java process, enter your 'java' process ID number instead of 2973).

3) cd    (switch to your home directory);

4) rm nxt.zip   (delete the old nxt.zip file);

4a) rm -rf /root/nxt.old   (this removes the old nxt working directory if it's not the first upgrade you do);

5) mv nxt nxt.old   (rename the old nxt working directory);

6) wget http://download.nxtcrypto.org/nxt-client-0.8.9.zip

7) unzip nxt-client-0.8.9.zip

8 ) cat ~/nxt.old/webapps/root/WEB-INF/web.xml  
(this lists the contents of the old config file, copy-paste your myAddress and myHallmark parameters from it into a text file on your PC, if you hadn't saved them earlier.

9) nano conf/nxt-default.properties

a) in the section  ###PEER NETWORKING ###, find the following lines:

Code:
nxt.myAddress=
put IP address you got from the host.

It should look like:

nxt.myAddress=x.x.x.x

b)
Code:
nxt.myHallmark=
if you use a hallmark on your node, put your hallmark there (make sure no whitespace character is left in it when you copy-paste it)

press CTRL+X and then Y to save the file.

Code:
10) cd ~/nxt

11) nano run.sh

a) If your VPS has 512 MB RAM, replace the line:

java -Xmx1024M -cp nxt.jar:lib/*:conf nxt.Nxt

with

java -Xmx450M -cp nxt.jar:lib/*:conf nxt.Nxt

b) If your VPS has 1024 MB RAM, replace the line:

java -Xmx1024M -cp nxt.jar:lib/*:conf nxt.Nxt

with

java -Xmx800M -cp nxt.jar:lib/*:conf nxt.Nxt

-----

press CTRL+X and then Y to save the file.

12)
Code:
nohup ./run.sh &

13) run
Code:
top
 to show running processes, check that you see process 'java' running and using CPU and RAM, if it is, then press 'q' to enter 'top'.

14)
Code:
exit
full member
Activity: 196
Merit: 100
Got another high-speed, hallmarked public node up an running at 109.230.224.65 (Germany, Europe).

Feel free to use it in your XML config, if you so desire.
full member
Activity: 378
Merit: 104
Ok my 3 public nodes are up, running and perfectly synced
You can add them into your web.xml if you wish

95.85.46.233; 162.243.140.133; 146.185.129.54;

First one is 2GB Hallmarked, the second one and the third one are 512mb not hallmarked.
It seems this configuration is enough after the introduction of the Ddos protection.

I'll try to keep these running forever, or at least until i die.
If you want me to help more the network adding more and maintaining these 3, feel free to donate NXT to my address (in signature), i'll use them only for add/maintain vps.




who is your vps provider?  I wouldnt get them added to wellknownpeers unless they are at least 4GB-RAM. I upgraded the one of mine that I saw was added to wellknownpeers to 8GB-RAM. just to be safe.   Who is your provider?  Ill give you 10000NXT if you will upgrade your 3 VPSs to 4GB-RAM, thanks to klee I think it was who gave me some NXT to help with this function.

also, FYI I got this from digitalocean
Quote
There has been a response to your ticket:

Greetings,

All servers come with a 1Gb/sec. network interface. Plans start with 1TB per month and increase incrementally.
At this time traffic statistics are not yet available. Until these statistics are readily available to you, we will not process any charges for any additional transfer beyond your droplet plan.

Digitalocean.
4gb are useless looking the work, especially if they are not-hallmarked
now i'm paying 30$/months, 3 with 4gb will cost to me 120$/months, it's a bit too much i think
legendary
Activity: 1498
Merit: 1000
Nxt mentioned in Coindesk article. First ever media coverage?

Quote
Although many of the other cryptocurrencies are based on the Bitcoin protocol, not all are; the protocol for nxt, the cryptocurrency with the fourth-largest market cap, was written from scratch in Java.

http://www.coindesk.com/alternative-cryptocurrencies-thrive-bitcoins-shadow/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+CoinDesk+%28CoinDesk+-+The+Voice+of+Digital+Currency%29
Bubble incoming!

Are we ready for the next wave of zombies attack?
Jump to: