541
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information
|
on: December 01, 2013, 01:12:36 AM
|
first basic block statistics. transaction and account statistics in progress with a daily breakdown. i am trying to understand the baseTarget algo to include a mining-calculator based on balance, basetarget and block creation timediffs.
----------------------------------------------- num_blocks 5371 num_blockEmpty 4685 num_blockFee 686 num_blockFeeRatio 12.772295661888 % sum_totalFee 48313 avg_feeBlock 70.427113702624
sum_transactions 1.083 avg_transactionsBlock 1.5787172011662 num_transactionsHigh 73
sum_baseTarget 5944541135038 num_baseTargetHigh 44643016547 num_baseTargetLow 2589259730 avg_baseTarget 110678479520.35 -----------------------------------------------
not bad for nxt start, +12% of all blocks with transaction fees and the average fee is 70 nxt/transaction block. mined 48.313 nxt so far.
|
|
|
545
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information
|
on: November 30, 2013, 09:08:49 PM
|
much better and more stable, just run a second complete blockchain scan from genesis without any problems. as said, each request invokes the above mentioned pattern but ist seems it doesn't hurt the client. (well, pointer execptions are normally a serious thing but it looks like the client don't care much about ;-)
Looking forward to see the code that creates more errors but do things much better. Now I think BCNext is a genius! BTW, I found another way to scan the blockchain. Get last block via getState and scan backwards using previousBlock. Don't need to worry about orphans or branches. yes, this makes sense, latest as soon the blockchain reached a critical size, making a root traverse to expensive.
|
|
|
546
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information
|
on: November 30, 2013, 08:52:21 PM
|
testing, getting flooded by this error pattern for each request but it works! 5: java.nio.channels.AsynchronousCloseException 4: java.lang.NullPointerException 4: java.lang.NullPointerException 4: java.lang.NullPointerException great!, ~7.000 serial requests in a row (the whole blockchain + transactions). with 0.2.17 at ~500 the client stopped responding. thanks, this makes things much easier. More errors but more stable? Confirm plz. much better and more stable, just run a second complete blockchain scan from genesis without any problems. as said, each request invokes the above mentioned pattern but ist seems it doesn't hurt the client. (well, pointer execptions are normally a serious thing but it looks like the client don't care much about ;-) edit: tomorrow i will do some benchmarks for massive serial and concurrent request while watching the memory and sockets.
|
|
|
547
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information
|
on: November 30, 2013, 08:43:30 PM
|
testing, getting flooded by this error pattern for each request but it works! 5: java.nio.channels.AsynchronousCloseException 4: java.lang.NullPointerException 4: java.lang.NullPointerException 4: java.lang.NullPointerException great!, ~7.000 serial requests in a row (the whole blockchain + transactions). with 0.2.17 at ~500 the client stopped responding. thanks, this makes things much easier.
|
|
|
548
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information
|
on: November 30, 2013, 02:50:45 PM
|
just a quick note. after some benchmarks and monitoring i have seen a very high usage of tcpsockets. seems they are increasing fast but reducing very slow, which leads into an out of socks when using the api repetitive. on your vps you can check your limits like this:
cat /proc/user_beancounters | grep numtcpsock
perhaps this would explain some crashes, since many vps having small limits. another thing is a 100% cpu client usage from time to time for ~120 seconds. i guess the numtcpsock creating these problems, using my local machine without these limits the client runs stable even with and after 10.000 serial api request. the vps is freezing quickly with these numbers.
edit: my limits are 550 (soft(hard), set by the provider. the client breaking this limit quickly.
|
|
|
550
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information
|
on: November 30, 2013, 10:18:44 AM
|
We need more bootstrapping peers, the old ones went offline. Anyone wants to become a well-known peer with blue balloon next to its address?
Sure - if you help me out! What do we need to do? Owners of nodes that r accessible from the Internet should just PM me with their static IPs/domains. -> 87.230.14.1 question to the java pros here. with the latest version the nulllpointerexeptions are gone which is fine. but still having many ReadPendingException, ClosedChannelException, IOException and stuff like this, which leads into many freezes when using the api intense. already tested different socket libs (libcurl, native socket and even via piped wget commandline) and different java versions (openjdk/sun) to access the api with no difference. starting the client with bigger heap size doesn't work either. instead adding more features to the blockchain explorer i am busy coding workarounds for this which bothers me a little. (the last days i wished bcnext would have coded the client in plain ansi c instead java) the client is running on a lean debian server, so this shouldn't be the reason but a final check could be to change the os, perhaps the *java-diva* ;-) needs something different. any further ideas i could look into? edit: an api-errorcode listing would be nice to.
|
|
|
551
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information
|
on: November 29, 2013, 07:52:34 PM
|
What has become of the blockchain explorer? I have not been able to access for atleast 6 hours. Is it being updated or has there been a url change?
I imagine that IP was getting HAMMERED by all our requests. Would it be possible to build the common gateway into the .zip that is distributed out, that way if we can be our own block explorer (assuming the client is up to date on all blocks) yes, not many mining on the node but many account and transaction request. some seems made by fetching bots. therefore i will provide a json api, where users can connect to and get all the data directly.
|
|
|
552
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information
|
on: November 29, 2013, 07:48:11 PM
|
What has become of the blockchain explorer? I have not been able to access for atleast 6 hours. Is it being updated or has there been a url change?
it's online. i am testing currently a "reincarnation service", to restart the node when freeze. the new getState api is fine for this. until the client ist more mature, the explorer can be out of sync with the blockchain from time to time.
|
|
|
553
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information
|
on: November 29, 2013, 11:33:03 AM
|
perhaps the unclaimed account could be used as the working horse for small miners. getting some mined fee's, even in fraction would help adoption a lot.
miners could check the system or mner api to see the mining stats and pool creators could call the system for the actual payment queue. this way the system just delivers the logic without any account access of course.
ok, thus said, if there is a demand for this later let me know.
|
|
|
554
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information
|
on: November 29, 2013, 11:10:53 AM
|
what about this?
i could built a trusted mining system, where any trusted stakeholder could register and declare an account number as pool mining. the small miners can see which mining accounts are available and connected with which stakeholder. based on this they can decide to use the pool-account.
i could write the analyzer and earning/payout logic for each registered account, delivering stats about the mining process etc. would this make sense?
edit: of course, the best would a client built-in solution but don't know what's on the dev roadmap now and the next month.
|
|
|
555
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information
|
on: November 29, 2013, 10:45:44 AM
|
i was thinking again about a pool using the new getStake api with a unique identifier to prevent trustated mining but i think cfb is right here, without major changes to the client this isn't possible.
besides the exchange i see the pool as a very important feature to nxt. as said before, the absolute earnings/accounts are not relevant but there has to be some numbers for small miners.
as soon the blockexplorer is finished (need to be rocksolid first) i can take a look how trusted mining could be archive in a safe way and how income and payment logic could be calculated if no one else is looking into this.
|
|
|
556
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information
|
on: November 28, 2013, 09:56:48 PM
|
Let me be the first to say that the exchange looks like a window to 1990s. I feel like I traveled through time when looking at it, lol.
that's right but i am sure under the hood you would find a rocksolid engine. whenever i see a gui like this, i know there is an old school coder at work. in most cases these devs producing much better code than script kiddies today. reduced said, design follows function ;-)
|
|
|
557
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information
|
on: November 28, 2013, 09:08:47 PM
|
Gentlemen (and the occasional Lady),DGEX has been relaunched as the first automated BTC <-> NXT trading exchange. Due to time resource restrictions, the site is initially enabled as an automated orderbook & transaction facility, with escrowish manual fulfillment of deposits and withdrawals. The site has been hacked up in a haste; although it's based on old and proven software, some bits and pieces necessarily remain that are not functioning optimally. We hope you'll let us know of any strangeness through the site's messaging page or on the DGEX Bitcointalk forum thread. Functionality will be adjusted and improved during the days and weeks ahead. Suggestions, co-operation proposals, bounties & tips are welcome! There are no trading fees nor any NXT transaction fees at least until the end of December. Bitcoin cashout fee of 0.9% is applied. If this is deemed too high by the community, alternative ways of compensating the transaction fees and other necessary costs can be considered. Although the exchange is run under a business company, I'm also working on community basis as a way of life and am generally very fair and flexible with arrangements that benefit all parties synergistically. Come and try it out, I'll be processing transactions for approx. another hour and then business hours from the North Europe are over for today Next project is the Next community portal / forum site with some excellent gimmicks, coming up within the next ~10 days at nextcoin.org. great GCInc., this is well done!
|
|
|
560
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: Nxt :: descendant of Bitcoin - Updated Information
|
on: November 28, 2013, 04:13:05 PM
|
very good, which ones where added? I'm waiting for the description and then I'll post in Nxt API thread. great, very usefull! just one thing, i have noticed that high frequent api access can freeze the node. i am using libcurl to interface the api, setting e.g. the noKeepAlive tag works better but this could be coincidence. does the client tcp-stack cleaning up the connection pool correctly? have seen many exceptions from worker threads. as said, not sure about this but perhaps you could have a look at this.
|
|
|
|