Bitcoin Forum
April 25, 2024, 06:32:09 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 [391] 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 ... 2557 »
  Print  
Author Topic: NXT :: descendant of Bitcoin - Updated Information  (Read 2761527 times)
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
December 25, 2013, 05:24:32 PM
 #7801


This is not true. I generated two hallmarks with different dates and both are valid


Is there such possibility CfB?

Only if there is a bug in software. Let's check together:

Code:
		boolean analyzeHallmark(String realHost, String hallmark) {

if (hallmark == null) {

return true;

}

try {

byte[] hallmarkBytes = convert(hallmark);

ByteBuffer buffer = ByteBuffer.wrap(hallmarkBytes);
buffer.order(ByteOrder.LITTLE_ENDIAN);

byte[] publicKey = new byte[32];
buffer.get(publicKey);
int hostLength = buffer.getShort();
byte[] hostBytes = new byte[hostLength];
buffer.get(hostBytes);
String host = new String(hostBytes, "UTF-8");
if (host.length() > 100 || !host.equals(realHost)) {

return false;

}
int weight = buffer.getInt();
if (weight <= 0 || weight > 1000000000) {

return false;

}
int date = buffer.getInt();
buffer.get();
byte[] signature = new byte[64];
buffer.get(signature);

byte[] data = new byte[hallmarkBytes.length - 64];
System.arraycopy(hallmarkBytes, 0, data, 0, data.length);

if (Crypto.verify(signature, data, publicKey)) {

this.hallmark = hallmark;

long accountId = Account.getId(publicKey);
Account account = accounts.get(accountId);
if (account == null) {

return false;

}
LinkedList<Peer> groupedPeers = new LinkedList<>();
int validDate = 0;

synchronized (peers) {

this.accountId = accountId;
this.weight = weight;
this.date = date;

for (Peer peer : peers.values()) {

if (peer.accountId == accountId) {

groupedPeers.add(peer);
if (peer.date > validDate) {

validDate = peer.date;

}

}

}

long totalWeight = 0;
for (Peer peer : groupedPeers) {

if (peer.date == validDate) {

totalWeight += peer.weight;

} else {

peer.adjustedWeight = 0;
peer.updateWeight();

}

}

for (Peer peer : groupedPeers) {

peer.adjustedWeight = 1000000000L * peer.weight / totalWeight;
peer.updateWeight();

}

}

return true;

}

} catch (Exception e) { }

return false;

}
1714026729
Hero Member
*
Offline Offline

Posts: 1714026729

View Profile Personal Message (Offline)

Ignore
1714026729
Reply with quote  #2

1714026729
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714026729
Hero Member
*
Offline Offline

Posts: 1714026729

View Profile Personal Message (Offline)

Ignore
1714026729
Reply with quote  #2

1714026729
Report to moderator
klee
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000



View Profile
December 25, 2013, 05:26:39 PM
 #7802

Hi guys, I am back at last (Christmas, family etc).
The war is raging I see!

What is the latest files/version I am lost - my client is stopped..


https://bitcointalk.org/index.php?topic=345619.msg4137380#msg4137380
Thanks!
davethetrousers
Full Member
***
Offline Offline

Activity: 196
Merit: 100



View Profile
December 25, 2013, 05:27:05 PM
 #7803

Good news on NXT on RaspPi:

The server is running quite smoothly on the Oracle SE Embedded JRE. Startup time is down to less than 1 minute (vs. >7min on openJDK7), shutting down takes close to half a minute now. The web client is responsive and fast, unlocking an address takes 1-2 seconds, though.

I used conservative settings, imho. This is what I ran, and what was output:

pi@raspberrypi ~/nxt $ ../ejre1.7.0_45/bin/java -Xms320m -Xmx450m -jar start.jar
2013-12-25 16:48:58.450:INFO:oejs.Server:main: jetty-9.1.0.v20131115
2013-12-25 16:48:58.789:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:/home/pi/nxt/webapps/] at interval 0
[2013-12-25 16:49:01.485] Nxt 0.4.7e started.
[2013-12-25 16:49:01.496] "blockchainStoragePath" = "blockchain.nrs"
[2013-12-25 16:49:01.563] "myScheme" = "http"
[2013-12-25 16:49:01.566] "myPort" = "57874"
[2013-12-25 16:49:01.571] "myAddress" = ""
[2013-12-25 16:49:01.575] "shareMyAddress" = "true"
[2013-12-25 16:49:01.580] "myHallmark" = ""
[2013-12-25 16:49:01.584] "wellKnownPeers" = "109.230.224.65; 78.46.63.221; 95.85.22.142"
[2013-12-25 16:49:01.608] "maxNumberOfConnectedPublicPeers" = "5"
[2013-12-25 16:49:01.612] "connectTimeout" = "2000"
[2013-12-25 16:49:01.616] "readTimeout" = "5000"
[2013-12-25 16:49:01.620] "enableHallmarkProtection" = "true"
[2013-12-25 16:49:01.624] "pushThreshold" = "0"
[2013-12-25 16:49:01.628] "pullThreshold" = "0"
[2013-12-25 16:49:01.632] "allowedUserHosts" = "192.168.1.23; 127.0.0.1; localhost; 0:0:0:0:0:0:0:1;"
[2013-12-25 16:49:01.637] "allowedBotHosts" = "192.168.1.23; 127.0.0.1; localhost; 0:0:0:0:0:0:0:1;"
[2013-12-25 16:49:01.641] "blacklistingPeriod" = "300000"
[2013-12-25 16:49:01.645] "communicationLoggingMask" = "0"
[2013-12-25 16:49:01.651] Loading transactions...
[2013-12-25 16:49:16.831] ...Done
[2013-12-25 16:49:16.835] Loading blocks...
[2013-12-25 16:49:34.681] ...Done
[2013-12-25 16:49:34.692] Scanning blockchain...
[2013-12-25 16:49:53.493] ...Done
2013-12-25 16:49:53.828:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@4bbf80{/,file:/home/pi/nxt/webapps/root/,AVAILABLE}{/root}
2013-12-25 16:49:54.050:INFO:oejs.ServerConnector:main: Started ServerConnector@a5bce1{HTTP/1.1}{0.0.0.0:7874}
2013-12-25 16:49:56.921:INFO:oejs.ServerConnector:main: Started ServerConnector@664140{SSL-http/1.1}{0.0.0.0:7875}
--- here I sent SIGINT (Ctrl+C) to shut down the server ---
2013-12-25 17:01:37.402:INFO:oejs.ServerConnector:Thread-0: Stopped ServerConnector@a5bce1{HTTP/1.1}{0.0.0.0:7874}
2013-12-25 17:01:37.411:INFO:oejs.ServerConnector:Thread-0: Stopped ServerConnector@664140{SSL-http/1.1}{0.0.0.0:7875}
[2013-12-25 17:02:13.742] Nxt stopped.
2013-12-25 17:02:13.780:INFO:oejsh.ContextHandler:Thread-0: Stopped o.e.j.w.WebAppContext@4bbf80{/,file:/home/pi/nxt/webapps/root/,UNAVAILABLE}{/root}

I also set the DDoS protection to somewhat more aggressive settings (10 Req/s, 2s delay).

CPU and RAM usage are more modest than I had expected. The worst case CPU load while idle and synchronized - with the web client open and account unlocked - was 15-20%. Without the client open( still unlocked) it was less than 10% most of the time. There have been some peaks of full load from time to time, probably due to new blocks. RAM usage, which I saw as most critical, is not too bad either. I ran with 320M initial, which is way more than I even need. The mem area is only a third utilized. Are the SE Embedded data structures that much less space complex? Probably, that is a factor.

Running something else on the Pi while running the server should not be much of a problem. While I was testing, I cut back everything as much as possible (GPU RAM share, CLI only), but I think those modest utilization figures leave enough headroom for a GUI. If not, one can always use swap to mitigate.

Next thing I will do is making a ready-to-run-package for Pi users that they can put on their box.

Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
December 25, 2013, 05:27:25 PM
 #7804

my 3 public nodes are updated and working on 0.4.7e

CfB did you fix the last night problem with the "fake" transactions?

What do u mean "fake"?
laowai80
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
December 25, 2013, 05:27:50 PM
 #7805

Downloaded 0.4.7e to my home PC, installed from scratch, no blockchain.

Both of well known peers are in Blacklisted peers, stuck at genesis block Smiley
davethetrousers
Full Member
***
Offline Offline

Activity: 196
Merit: 100



View Profile
December 25, 2013, 05:29:18 PM
 #7806

Downloaded 0.4.7e to my home PC, installed from scratch, no blockchain.

Both of well known peers are in Blacklisted peers, stuck at genesis block Smiley

You can use my node 109.230.224.65, it is up to date and high-speed.

laowai80
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
December 25, 2013, 05:30:01 PM
 #7807

Downloaded 0.4.7e to my home PC, installed from scratch, no blockchain.

Both of well known peers are in Blacklisted peers, stuck at genesis block Smiley

You can use my node 109.230.224.65, it is up to date and high-speed.

No, I have my own nodes to sync.
I mean, if a new user downloads and installs it, they can't sync anything with default config.
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
December 25, 2013, 05:32:47 PM
 #7808

Good news on NXT on RaspPi:

The server is running quite smoothly on the Oracle SE Embedded JRE. Startup time is down to less than 1 minute (vs. >7min on openJDK7), shutting down takes close to half a minute now. The web client is responsive and fast, unlocking an address takes 1-2 seconds, though.

I used conservative settings, imho. This is what I ran, and what was output:

pi@raspberrypi ~/nxt $ ../ejre1.7.0_45/bin/java -Xms320m -Xmx450m -jar start.jar
2013-12-25 16:48:58.450:INFO:oejs.Server:main: jetty-9.1.0.v20131115
2013-12-25 16:48:58.789:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:/home/pi/nxt/webapps/] at interval 0
[2013-12-25 16:49:01.485] Nxt 0.4.7e started.
[2013-12-25 16:49:01.496] "blockchainStoragePath" = "blockchain.nrs"
[2013-12-25 16:49:01.563] "myScheme" = "http"
[2013-12-25 16:49:01.566] "myPort" = "57874"
[2013-12-25 16:49:01.571] "myAddress" = ""
[2013-12-25 16:49:01.575] "shareMyAddress" = "true"
[2013-12-25 16:49:01.580] "myHallmark" = ""
[2013-12-25 16:49:01.584] "wellKnownPeers" = "109.230.224.65; 78.46.63.221; 95.85.22.142"
[2013-12-25 16:49:01.608] "maxNumberOfConnectedPublicPeers" = "5"
[2013-12-25 16:49:01.612] "connectTimeout" = "2000"
[2013-12-25 16:49:01.616] "readTimeout" = "5000"
[2013-12-25 16:49:01.620] "enableHallmarkProtection" = "true"
[2013-12-25 16:49:01.624] "pushThreshold" = "0"
[2013-12-25 16:49:01.628] "pullThreshold" = "0"
[2013-12-25 16:49:01.632] "allowedUserHosts" = "192.168.1.23; 127.0.0.1; localhost; 0:0:0:0:0:0:0:1;"
[2013-12-25 16:49:01.637] "allowedBotHosts" = "192.168.1.23; 127.0.0.1; localhost; 0:0:0:0:0:0:0:1;"
[2013-12-25 16:49:01.641] "blacklistingPeriod" = "300000"
[2013-12-25 16:49:01.645] "communicationLoggingMask" = "0"
[2013-12-25 16:49:01.651] Loading transactions...
[2013-12-25 16:49:16.831] ...Done
[2013-12-25 16:49:16.835] Loading blocks...
[2013-12-25 16:49:34.681] ...Done
[2013-12-25 16:49:34.692] Scanning blockchain...
[2013-12-25 16:49:53.493] ...Done
2013-12-25 16:49:53.828:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@4bbf80{/,file:/home/pi/nxt/webapps/root/,AVAILABLE}{/root}
2013-12-25 16:49:54.050:INFO:oejs.ServerConnector:main: Started ServerConnector@a5bce1{HTTP/1.1}{0.0.0.0:7874}
2013-12-25 16:49:56.921:INFO:oejs.ServerConnector:main: Started ServerConnector@664140{SSL-http/1.1}{0.0.0.0:7875}
--- here I sent SIGINT (Ctrl+C) to shut down the server ---
2013-12-25 17:01:37.402:INFO:oejs.ServerConnector:Thread-0: Stopped ServerConnector@a5bce1{HTTP/1.1}{0.0.0.0:7874}
2013-12-25 17:01:37.411:INFO:oejs.ServerConnector:Thread-0: Stopped ServerConnector@664140{SSL-http/1.1}{0.0.0.0:7875}
[2013-12-25 17:02:13.742] Nxt stopped.
2013-12-25 17:02:13.780:INFO:oejsh.ContextHandler:Thread-0: Stopped o.e.j.w.WebAppContext@4bbf80{/,file:/home/pi/nxt/webapps/root/,UNAVAILABLE}{/root}

I also set the DDoS protection to somewhat more aggressive settings (10 Req/s, 2s delay).

CPU and RAM usage are more modest than I had expected. The worst case CPU load while idle and synchronized - with the web client open and account unlocked - was 15-20%. Without the client open( still unlocked) it was less than 10% most of the time. There have been some peaks of full load from time to time, probably due to new blocks. RAM usage, which I saw as most critical, is not too bad either. I ran with 320M initial, which is way more than I even need. The mem area is only a third utilized. Are the SE Embedded data structures that much less space complex? Probably, that is a factor.

Next thing I will do is making a ready-to-run-package for Pi users that they can put on their box.


That's great! Where could I buy a few thousands of these raspberries? For NXT or USD (not sure how long USD will be accepted so I prefer to get rid of dollars in the 1st place).
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
December 25, 2013, 05:34:11 PM
 #7809

Don't know much about coding... but doesn't this mean that whenever a Hallmark assignment is verified it will replace previous one?

Yes. This is how it's supposed to work.
ZeroTheGreat
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500


View Profile
December 25, 2013, 05:34:33 PM
 #7810

Good news on NXT on RaspPi:

Next thing I will do is making a ready-to-run-package for Pi users that they can put on their box.



AWESOME!   Grin
We'll need some mediacontent: NXT forger with RasPi vs Bitcoin miner with buzzing and hot farm-house  Grin
bitcoinpaul
Hero Member
*****
Offline Offline

Activity: 910
Merit: 1000



View Profile
December 25, 2013, 05:34:49 PM
 #7811

Next thing I will do is making a ready-to-run-package for Pi users that they can put on their box.

I smell revolution, guys! We need to market this...
klee
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000



View Profile
December 25, 2013, 05:35:47 PM
 #7812

11: java.util.ConcurrentModificationException


BTW I have a raps gathering dust atm  Grin
Ola
Sr. Member
****
Offline Offline

Activity: 311
Merit: 250


View Profile
December 25, 2013, 05:36:15 PM
 #7813

I wrote a new post at raspberrypi.org hopefully it gets approved. We need pouncer to get involved in this. Here is the post:

"Hi there, I am ola. I am working with several members of the nxt community to bootstrap a new decentralized, built from the bottom up, 100% proof of stake crypto currency called NXT, Pronounced 'Next'. The Nxt community needs the help of this community badly  :cry: . We are currently in the alpha stage testing the decentralized network and we are getting ddosed constantly...This problem will go away if we had several thousand nxt nodes set up on several computers. Your rasberrypi devices can help us accomplish just that  8-) . We are also not looking for a handout..We have a donation fund of ~460,000 nxt to reward those who help us by installing next node through our launch date Jan 3 2014 to Help bootstrap the network.

The fund is currently worth about ~$22,000 after only 3 weeks. It is expected that after a little while past the the launch date, the fund would most likely be worth several million dollars. and with some of these funds distributed to those of you who decide to help out, who knows you might find yourself with several thousand of dollars in extra cash Cheesy . Of course nothing is certain. But every evidence indicates this will be the case. Nxt Is only been in alpha for 3 weeks and already it is close to competing with the top crypto currencies like bitcoin see here, 5th on the map:

http://coinmarketcap.com/

Here is some nxt money from the fund:
https://docs.google.com/spreadsheet/ccc?key=0AgAGADgnQcrtdHRrV3V3Z1lzOXVEMWtqdElUaEtqV1E#gid=5

It is expected that nxt would eventually overtake bitcoin due to the extensive list of features it will be launching with, its superiority in transaction processing speed and eco-friendly forging process ("mining"). Take a look below to gain some insight:

Detailed feature sets:

- Decentralized DNS / Alias System (Starting at block 22000) ( this is already in effect and it raised the NXT market cap to > $20 million)
- Transparent Mining (Partially starting at block 25000) IN A COUPLE OF DAYS !
- Decentralized Asset Exchange / Colored Coins (Starting after block 30000) Jan 3 2014
     This also allows gateways to issue other currencies (fiat or crypto) on the Nxt network.
- Decentralized Marketplace / Auction
- Decentralized Mixing Service
- Encrypted Messaging / Chat
- DDoS Protection - Project Kharon (in development)
- Voting


As you can see, its an impressive list of features for a currency / protocol to be launching with and there is much talk about nxt in several prominent crypto currency circles. If you would like to take the plunge to help out and be rewarded for your efforts, A guide has been written to help you accomplish this. See below:

Guide to installing nxt on raspberrypi
https://nextcoin.org/index.php/topic,1277.msg10730/topicseen.html#msg10730

If you don't know what these feature sets mean, what you need to know is that the world you used to know will no longer be the same in ~1 to 2 years...Spend 30 mins to browse the resources below to understand this world changing innovation

Detailed nxt overview
http://nxtcrypto.wikia.com/wiki/Nxt_Wiki
http://nxtcrypto.wikia.com/wiki/FAQ
http://en.wikipedia.org/wiki/Nxt

Videos
http://www.youtube.com/watch?v=7oAiCOWLtn4    nxt intro
http://www.youtube.com/watch?v=f8dLMoZLMzM  nxt intro
http://www.youtube.com/watch?v=w1FTzBjy_8Q    how forging works


If you manage to get your accounts up, respond with you nxt account addresses and you will be rewarded by several of the moderators coming to this forum post from the nxt community. Thank you guys. Smiley "

Nxter,Bitcoiner,Ether highlevel developer working to improve the world.
bitcoinpaul
Hero Member
*****
Offline Offline

Activity: 910
Merit: 1000



View Profile
December 25, 2013, 05:41:56 PM
 #7814


Perfect, Ola. Thanks!
klee
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000



View Profile
December 25, 2013, 05:42:20 PM
 #7815

11: java.util.ConcurrentModificationException


BTW I have a raps gathering dust atm  Grin


You lucky little...   Cheesy
I have bought it for Bitcoin offline wallet lmao!
starik69
Legendary
*
Offline Offline

Activity: 1367
Merit: 1000


View Profile
December 25, 2013, 05:42:33 PM
 #7816

Don't know much about coding... but doesn't this mean that whenever a Hallmark assignment is verified it will replace previous one?

Yes. This is how it's supposed to work.
I made third hallmark with today date and all three are
Code:
"valid":true
PGPpfKkx
Hero Member
*****
Offline Offline

Activity: 586
Merit: 501


View Profile
December 25, 2013, 05:43:06 PM
 #7817

ive sent a bunch of aliases and after their deadline nothing comes up they are not registered to me or to anyone.

when will be a good time to check again and then if not try to register them again? tomorrow?

will i receive my funds back from the requests that were somehow lost in limbo?

thanks
subhead
Member
**
Offline Offline

Activity: 75
Merit: 10


View Profile
December 25, 2013, 05:45:49 PM
 #7818

Downloaded 0.4.7e to my home PC, installed from scratch, no blockchain.

Both of well known peers are in Blacklisted peers, stuck at genesis block Smiley

You can use my node 109.230.224.65, it is up to date and high-speed.

i did this, restarted nxt and your node is also on the blacklisted list now containing three nodes and still stuck on genesis block.

EvilHumpty.com EU P2Pool LTC-DOGE-REDD-MOON
BTC: 1JJ4oUshc5KE7xZeDJXXVNHwFxrMct56Zj
LTC: LdZ85kmtnBRPWYCPgYRThQWS7GsHEn4PKn
brooklynbtc
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250

AKA jefdiesel


View Profile
December 25, 2013, 05:48:55 PM
 #7819

todays experiment,

set up a 8gb VPS at digital ocean

lets see how it fares


162.243.214.18

SN
S   U   P   E   R    N   E   T
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀   
Uniting cryptocurrencies, Rewarding talent, Sharing benefits..

Blockchain Technology.

Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
December 25, 2013, 05:49:47 PM
 #7820

ive sent a bunch of aliases and after their deadline nothing comes up they are not registered to me or to anyone.

when will be a good time to check again and then if not try to register them again? tomorrow?

will i receive my funds back from the requests that were somehow lost in limbo?

thanks


U did receive ur funds back. Next time send AS transaction with 24h deadline, squatting is over. U can do it now.
Pages: « 1 ... 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 [391] 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 ... 2557 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!