|
abctc
Legendary
Offline
Activity: 1792
Merit: 1038
|
|
December 11, 2013, 07:56:07 AM |
|
Thank you! Figured out my mistake. I should write neither localhost, nor 127.0.0.0, but 127.0.0. 1
|
██████████████████████████████████████████████████ ████████████████████████████████████████████████████ ██████████████████████████████████████████████████████ ████████████████████████████████████████████████████████ ████████████████████████████████████████████████████████ ████████████████████████████████████████████████████████████████████ ████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████ ████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ████████████████████████████████████████████████████████████████████ | , the Next platform. Magis quam Moneta (More than a Coin) |
|
|
|
superresistant
Legendary
Offline
Activity: 2156
Merit: 1131
|
|
December 11, 2013, 08:44:18 AM |
|
This worked perfectly. Thanks a lot. Here is what to do if you are lost : - Remove .nxt files from nxt folder. - Download https://dl.dropboxusercontent.com/u/67242472/nxtfiles.zip and put the new .nxt files in the nxt folder. - Lauch the nxt client from a bat file containing a command line. My command line on Windows 8 using java 64 bits is : "C:\Program Files\Java\jre7\bin\java.exe" -Xms512m -Xmx1024m -jar start.jar- Wait about one hour and check if the blocks.nxt file is not growing any more. Mine stopped growing at about 4660Ko. - Open your web browser and go to http://localhost:7874/- Click on the lock icon and type your password to open your account.
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
December 11, 2013, 08:52:01 AM |
|
- Wait about one hour and check if the blocks.nxt file is not growing any more.
Did it take 1 hour to download the blockchain?
|
|
|
|
superresistant
Legendary
Offline
Activity: 2156
Merit: 1131
|
|
December 11, 2013, 09:02:18 AM |
|
- Wait about one hour and check if the blocks.nxt file is not growing any more.
Did it take 1 hour to download the blockchain? Well, I'm not sure. I was doing something else in the meantime. I did the same yesterday and it was not working when I waited less than 15 minutes.
|
|
|
|
freigeist
|
|
December 11, 2013, 09:13:10 AM |
|
- Wait about one hour and check if the blocks.nxt file is not growing any more.
Did it take 1 hour to download the blockchain? Well, I'm not sure. I was doing something else in the meantime. I did the same yesterday and it was not working when I waited less than 15 minutes. Hello. I see by the posts that a lot of users have problems with this blockchain download and then they try to open the client interface before the download has been completed which gives them errors. Is it possible to know the size of the blockchain in advance and put some kind of notification (message) in the command line output like "Please wait! Downlaoding blockchain.... 5% of 100%" or something similar.
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
December 11, 2013, 09:25:50 AM |
|
Is it possible to know the size of the blockchain in advance and put some kind of notification (message) in the command line output like "Please wait! Downlaoding blockchain.... 5% of 100%" or something similar.
I'm going to let to unlock accounts without waiting for the full blockchain.
|
|
|
|
superresistant
Legendary
Offline
Activity: 2156
Merit: 1131
|
|
December 11, 2013, 10:17:12 AM |
|
I'm going to let to unlock accounts without waiting for the full blockchain.
Good idea.
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
December 11, 2013, 10:33:05 AM |
|
Full blockchain downloading took almost half an hour to complete jumping from one node to another (which adds a little overhead) on 1 Mbps connection.
There r 2 options for optimization: - Switch to binary protocol instead of JSON-based (~3x improvement, I prefer to stick to JSON until we get some alt-clients, JSON greatly lowers entry threshold for new programmers) - Add GZIP compression (~10x improvement)
Or we can leave it as is for the time being.
Any suggestions?
|
|
|
|
Jean-Luc
|
|
December 11, 2013, 10:54:39 AM |
|
Full blockchain downloading took almost half an hour to complete jumping from one node to another (which adds a little overhead) on 1 Mbps connection.
There r 2 options for optimization: - Switch to binary protocol instead of JSON-based (~3x improvement, I prefer to stick to JSON until we get some alt-clients, JSON greatly lowers entry threshold for new programmers) - Add GZIP compression (~10x improvement)
Or we can leave it as is for the time being.
Any suggestions?
I also prefer to keep it JSON, and add a gzip filter on top. But why is it so slow to begin with? My blocks.nxt file takes 4.6M and transactions.nxt 0.5M. Is it because it is downloading it in way too many small pieces, one block at a time, and makes a new connection each time? If so, I would thing the biggest performance boost would come from downloading it in batches, many blocks in one go, rather than trying to compress each block download separately.
|
|
|
|
ImmortAlex
|
|
December 11, 2013, 10:59:02 AM |
|
- Add GZIP compression (~10x improvement) I think this can be selectable via request parameter. In Java GZIP is part of standard library and is not a problem at all. But right now traffic is not a problem. It download full blockchain incredibly slow even on very good internet connection. Block by block, 0.5s for each.
|
|
|
|
ImmortAlex
|
|
December 11, 2013, 11:01:00 AM |
|
JSON greatly lowers entry threshold for new programmers ... and badly documented API cut off inexperienced noobs
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
December 11, 2013, 11:04:44 AM |
|
Full blockchain downloading took almost half an hour to complete jumping from one node to another (which adds a little overhead) on 1 Mbps connection.
There r 2 options for optimization: - Switch to binary protocol instead of JSON-based (~3x improvement, I prefer to stick to JSON until we get some alt-clients, JSON greatly lowers entry threshold for new programmers) - Add GZIP compression (~10x improvement)
Or we can leave it as is for the time being.
Any suggestions?
I also prefer to keep it JSON, and add a gzip filter on top. But why is it so slow to begin with? My blocks.nxt file takes 4.6M and transactions.nxt 0.5M. Is it because it is downloading it in way too many small pieces, one block at a time, and makes a new connection each time? If so, I would thing the biggest performance boost would come from downloading it in batches, many blocks in one go, rather than trying to compress each block download separately. Blocks r feeded in 128 Kb chunks (4 blocks min). I put in todo list to check why it's so slow.
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
December 11, 2013, 11:05:55 AM |
|
In Java GZIP is part of standard library and is not a problem at all.
This can be a problem for non-Java clients.
|
|
|
|
ImmortAlex
|
|
December 11, 2013, 11:11:10 AM |
|
This can be a problem for non-Java clients. Is GZIP not a part of HTTP standard? I'm even thinking that it can be released transparently through any HTTP client library, isn't it? And I don't believe that in 21st century anyone will write client using pure OS API anyway... In worst case you can always add parameter to request, to switch gzip on/off, or use different port for compressed traffic.
|
|
|
|
Sharky444
|
|
December 11, 2013, 11:12:46 AM |
|
Full blockchain downloading took almost half an hour to complete jumping from one node to another (which adds a little overhead) on 1 Mbps connection.
There r 2 options for optimization: - Switch to binary protocol instead of JSON-based (~3x improvement, I prefer to stick to JSON until we get some alt-clients, JSON greatly lowers entry threshold for new programmers) - Add GZIP compression (~10x improvement)
Or we can leave it as is for the time being.
Any suggestions?
I would compress.
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
December 11, 2013, 11:23:56 AM |
|
NEWSOn the 3rd of January the source code of basic features will be published for peer review. BCNext decided to make it more interesting to do a review, so the code will contain 3 security flaws - serious, critical and fatal ones. The 1st person who reports one of these flaws in a special thread will get a reward (1'000, 10'000 and 100'000 NXT accordingly). There will be SHA256 hashes of flaw descriptions published, the descriptions will be revealed after the flaws r reported. If some unreported ones left after 3 months, BCNext may decide to reveal them at any time. PS: This has a nice side-effect, copycats have to wait for full disclosure or do their own research.
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
December 11, 2013, 11:25:39 AM |
|
This can be a problem for non-Java clients. Is GZIP not a part of HTTP standard? I'm even thinking that it can be released transparently through any HTTP client library, isn't it? And I don't believe that in 21st century anyone will write client using pure OS API anyway... In worst case you can always add parameter to request, to switch gzip on/off, or use different port for compressed traffic. Aye, I'm going to add a parameter or just increment "protocol" value.
|
|
|
|
salsacz
|
|
December 11, 2013, 11:31:59 AM |
|
I think we should watch Quark, their strategy and reaction of people about it's premining thing:
"I agree that Quark is out of control, but only because of it's currency supply curve. Early blocks accounted for 90%+ of the total currency supply, mined in a very short period. A multimillion USD market cap is scary with such rapid reward halving in the coin by design. Quark was intentionally designed for severe wealth inequality. 90%+ of the currency supply goes to creators/early miners, and this has already occurred. This is important to note for cryptotraders who might see this as an opportunity to "ride the wave" and will further inflate this bubble. The only opportunity this coin provided was for the early miners (if that was even made possible by the creators) and that opportunity is long gone. PSA- Always consider the following when trying to weed out pump & dump altcoins: Age of coin Total coins in existence now Total currency supply If it's really new and 90%+ mined already, seems a prime candidate for market manipulation and dumping.
PSA- Always consider the following when trying to weed out pump & dump altcoins: Age of coin Total coins in existence now Total currency supply"
|
|
|
|
salsacz
|
|
December 11, 2013, 11:34:37 AM |
|
- Add GZIP compression (~10x improvement) I think this can be selectable via request parameter. In Java GZIP is part of standard library and is not a problem at all. But right now traffic is not a problem. It download full blockchain incredibly slow even on very good internet connection. Block by block, 0.5s for each. it took me 3 hours a few days ago
|
|
|
|
|