Pages:
Author

Topic: [ANN][YAC] YACoin ongoing development - page 70. (Read 379983 times)

sr. member
Activity: 406
Merit: 250
One does not simply mine Bitcoins
here's a beta version of the API reference, feel free to make a pull request Smiley
https://github.com/saironiq/electrum-server/blob/master/README-API.md

also, i'm open to suggestions for new api methods if you need them.

you can test the API at electrum.unsha.net
ports: 50001 (tcp), 50002 (ssl), 8081 (http), 8082 (https)
and the brand new webocket interfaces: 8008 (websocket), 8009 (ssl websocket)

i wanna see some great new services built upon this api! Tongue

you can run your own electrum server (clone at https://github.com/saironiq/electrum-server), however, you need to apply this patch to yacoind first: https://github.com/saironiq/yacoin/commit/801d5756072bbe087cf009ad8490aff17aeb664f

Can you post an example of http request to "getdifficulty"?. I cant seem to work it out.
it's json-rpc. simply make a get or post request with data set to the actual request

eg. with curl:

Code:
curl -d '{"method": "blockchain.mempool.get", "id": 0, "params": []}' -H 'Cookie: SESSION=YOU-GET-THIS-FROM-SERVER-AFTER-FIRST-REQUEST' electrum.unsha.net:8081

the session cookie is quite important as the server will not neccessarily return the answer right away. if it doesn't, you just send an empty message ("[]" is a good example, an empty array) and the server sends you all the queued responses.
legendary
Activity: 1537
Merit: 1005
here's a beta version of the API reference, feel free to make a pull request Smiley
https://github.com/saironiq/electrum-server/blob/master/README-API.md

also, i'm open to suggestions for new api methods if you need them.

you can test the API at electrum.unsha.net
ports: 50001 (tcp), 50002 (ssl), 8081 (http), 8082 (https)
and the brand new webocket interfaces: 8008 (websocket), 8009 (ssl websocket)

i wanna see some great new services built upon this api! Tongue

you can run your own electrum server (clone at https://github.com/saironiq/electrum-server), however, you need to apply this patch to yacoind first: https://github.com/saironiq/yacoin/commit/801d5756072bbe087cf009ad8490aff17aeb664f

Can you post an example of http request to "getdifficulty"?. I cant seem to work it out.
hero member
Activity: 809
Merit: 501
Don't forget to vote in the 10,000 YAC Meme Contest...

http://forum.yacoin.org/index.php?topic=661
You may post original page with all memes to. I dont see any vote who chose this 3 memes from all.

Fixed. The link to the thread with all of the memes submitted: http://forum.yacoin.org/index.php?topic=631
sr. member
Activity: 406
Merit: 250
One does not simply mine Bitcoins
here's a beta version of the API reference, feel free to make a pull request Smiley
https://github.com/saironiq/electrum-server/blob/master/README-API.md

also, i'm open to suggestions for new api methods if you need them.

you can test the API at electrum.unsha.net
ports: 50001 (tcp), 50002 (ssl), 8081 (http), 8082 (https)
and the brand new webocket interfaces: 8008 (websocket), 8009 (ssl websocket)

i wanna see some great new services built upon this api! Tongue

you can run your own electrum server (clone at https://github.com/saironiq/electrum-server), however, you need to apply this patch to yacoind first: https://github.com/saironiq/yacoin/commit/801d5756072bbe087cf009ad8490aff17aeb664f
full member
Activity: 145
Merit: 101
Don't forget to vote in the 10,000 YAC Meme Contest...

http://forum.yacoin.org/index.php?topic=661
You may post original page with all memes to. I dont see any vote who chose this 3 memes from all.
legendary
Activity: 1918
Merit: 1012
★Nitrogensports.eu★
stats&graphs page is suspended until further notice (until i get some good explorer up and running)

the yac raffle if cancelled (it's not like millions of people used it anyway)

I did really like the stats/graphs - I referenced them often.  I'm happy to hear they'll be back.  Smiley

And the raffle was kind of tucked away.  I forgot it was there most of the time.  But, it would be nice to have some kind of 'lottery' or 'dice' game for YAC.
sr. member
Activity: 406
Merit: 250
One does not simply mine Bitcoins
http://explore.grokonet.com/ Is there any API for this block explorer?

Official explorer has been dead for ages
well, technically it's dead only since today. the motivation behind this decision is:
* it was running too damn slow to be of any use anyway
* the benefits of running that server didn't justify the cost (over $20/mo for something that's constantly moving through the thin line called "working/broken")
* some of the stat-generating cron jobs actually didn't even have a chance to complete as they were getting killed due to an out-of-memory condition

as a replacement, i'm running a (much cheaper but working and fast) new explorer at http://yacoin.unsha.net (it sucks, looking for javascript devs) along with enhanced electrum api. i'm documenting the original api (as it has no official docs that i'm aware of) and also my changes to it, the finished docs shoud be available later today.

as a quick fix for the coin mining comparison sites, here's a quick doc for the relevant api calls (for difficulty, hashrate, block reward, coin supply, block height and latest block; respectively):
Code:
$ echo '{"method": "blockchain.net.difficulty", "id": 0, "params": []}' | nc electrum.unsha.net 50001
{"id": 0, "result": 0.01548104}

$ echo '{"method": "blockchain.net.hashrate", "id": 0, "params": []}' | nc electrum.unsha.net 50001
{"id": 0, "result": 1108192.9181497758}

$ echo '{"method": "blockchain.net.blockreward", "id": 0, "params": []}' | nc electrum.unsha.net 50001
{"id": 0, "result": 50070000}

$ echo '{"method": "blockchain.net.coinsupply", "id": 0, "params": []}' | nc electrum.unsha.net 50001
{"id": 0, "result": 23037887792452}

$ echo '{"method": "blockchain.numblocks.subscribe", "id": 0, "params": []}' | nc electrum.unsha.net 50001
{"id": 0, "result": 576149}

$ echo '{"method": "blockchain.headers.subscribe", "id": 0, "params": []}' | nc electrum.unsha.net 50001
{"id": 0, "result": {"nonce": 17688, "prev_block_hash": "64c2a300de2372657c571ba01ccb4b2d666a62af3ad59b93253463316906eee9", "hash": "0000000bf3aaa90904defe5e2dc559da69e25205ceddad92ccdb58bfd7cc5948", "timestamp": 1401618292, "merkle_root": "a563c45d9fee71a9a4c0083d8bdbb0b1850986018c0e2df0d760fcc97a0da41b", "block_height": 576149, "difficulty": 0.01547291, "mint": 50080000, "size": 291, "totalsent": 50080000, "numtx": 1, "utxo_root": "4a3aeb6ed04606ff7c374fa36777cf8201e6058ab79b359de4ebe05a078f6ab9", "version": 3, "bits": 490774731}}

stats&graphs page is suspended until further notice (until i get some good explorer up and running)

the yac raffle if cancelled (it's not like millions of people used it anyway)
legendary
Activity: 1537
Merit: 1005
http://explore.grokonet.com/ Is there any API for this block explorer?

Official explorer has been dead for ages
hero member
Activity: 693
Merit: 500
Now 11 hours later the block time is 3min and there are 616 blocks to go. There will be 30 hours before the difficulty drop (to 0.005). Difficulty has (hopefully temporarily ) reached escape velocity.. this has better not become the beginning of vicious difficulty cycles:  difficulty drops to the floor when retargetting -> miners dive in and mine like there is no tomorrow -> difficulty goes through the roof and retarget-> miners leave and mining almost stops  -> slow confirmation time -> difficulty drops to floor -> long wait -> repeat

difficulty adjusts every block, and it will be on a downward plummet for a day or two.  Look at what it did for NF=14 - it was a veritable roller coaster of ups and downs, but no huge swings that it couldn't come back from...

Yeah, I think most mining pools use the litecoin difficulty adjustment calculations (because it is already built into the pool 'template').  I find myself looking at it quite often, but then I have to remind myself YAC adjusts each block.  It would be nice to see the actually next block estimated difficulty in pools though...

ahhh, i see what you're looking at.  I do see that on the pool, and it may actually be fairly accurate as to WHAT the diff will wind up as, but it's going to lower by a fraction every block.  I usually just look at one of my miners to see what it is... we've gone from a reported 1.08k diff to 1.02k in less than a day.  Would I like it to adjust faster, probably, but it's also not going  to skyrocket from really high hashrate for short periods of time either.
hero member
Activity: 516
Merit: 500
CAT.EX Exchange
YAC has a maximum difficulty adjustment of 1% per block.  So it takes a little while for the difficulty to even out.

In previous N-factor increases, it usually took 1-3 days for the difficulty to stabilize.

That is good.   Smiley
legendary
Activity: 1918
Merit: 1012
★Nitrogensports.eu★
Now 11 hours later the block time is 3min and there are 616 blocks to go. There will be 30 hours before the difficulty drop (to 0.005). Difficulty has (hopefully temporarily ) reached escape velocity.. this has better not become the beginning of vicious difficulty cycles:  difficulty drops to the floor when retargetting -> miners dive in and mine like there is no tomorrow -> difficulty goes through the roof and retarget-> miners leave and mining almost stops  -> slow confirmation time -> difficulty drops to floor -> long wait -> repeat

difficulty adjusts every block

How come the block time is almost 3 min for so long ? It should go back to ~1min soon after the N change, right?

YAC has a maximum difficulty adjustment of 1% per block.  So it takes a little while for the difficulty to even out.

In previous N-factor increases, it usually took 1-3 days for the difficulty to stabilize.
hero member
Activity: 809
Merit: 501
WindMaster needs to update the OP! Add the cryptoaltex and groko's block explorer.

You know I added cryptoaltex to the OP weeks ago?  Even then, at least in my opinion, there's really not enough volume or orders on the orderbook there to really justify being listed..



Ugh, I'm an idiot, obviously. Thanks, Windmaster. Have you tested your 1gb cards with the new NFactor? You may want to add http://brookspool.bounceme.net/ to the list of pools?
sr. member
Activity: 347
Merit: 250
WindMaster needs to update the OP! Add the cryptoaltex and groko's block explorer.

You know I added cryptoaltex to the OP weeks ago?  Even then, at least in my opinion, there's really not enough volume or orders on the orderbook there to really justify being listed..


hero member
Activity: 812
Merit: 1000
Diff takes a while to readjust after an N factor change...usual stuff.
I'll start mining on 3 r7 240s now, maybe 4 cpu cores too.
hero member
Activity: 516
Merit: 500
CAT.EX Exchange
Now 11 hours later the block time is 3min and there are 616 blocks to go. There will be 30 hours before the difficulty drop (to 0.005). Difficulty has (hopefully temporarily ) reached escape velocity.. this has better not become the beginning of vicious difficulty cycles:  difficulty drops to the floor when retargetting -> miners dive in and mine like there is no tomorrow -> difficulty goes through the roof and retarget-> miners leave and mining almost stops  -> slow confirmation time -> difficulty drops to floor -> long wait -> repeat

difficulty adjusts every block

How come the block time is almost 3 min for so long ? It should go back to ~1min soon after the N change, right?
hero member
Activity: 809
Merit: 501
My apologies everyone... just a reminder of all the crazy psychopaths out there who try so hard to feel important. Report Thiago1 to the moderator, and he should be banned.
legendary
Activity: 1918
Merit: 1012
★Nitrogensports.eu★
Now 11 hours later the block time is 3min and there are 616 blocks to go. There will be 30 hours before the difficulty drop (to 0.005). Difficulty has (hopefully temporarily ) reached escape velocity.. this has better not become the beginning of vicious difficulty cycles:  difficulty drops to the floor when retargetting -> miners dive in and mine like there is no tomorrow -> difficulty goes through the roof and retarget-> miners leave and mining almost stops  -> slow confirmation time -> difficulty drops to floor -> long wait -> repeat

difficulty adjusts every block, and it will be on a downward plummet for a day or two.  Look at what it did for NF=14 - it was a veritable roller coaster of ups and downs, but no huge swings that it couldn't come back from...

Yeah, I think most mining pools use the litecoin difficulty adjustment calculations (because it is already built into the pool 'template').  I find myself looking at it quite often, but then I have to remind myself YAC adjusts each block.  It would be nice to see the actually next block estimated difficulty in pools though...
hero member
Activity: 693
Merit: 500
Now 11 hours later the block time is 3min and there are 616 blocks to go. There will be 30 hours before the difficulty drop (to 0.005). Difficulty has (hopefully temporarily ) reached escape velocity.. this has better not become the beginning of vicious difficulty cycles:  difficulty drops to the floor when retargetting -> miners dive in and mine like there is no tomorrow -> difficulty goes through the roof and retarget-> miners leave and mining almost stops  -> slow confirmation time -> difficulty drops to floor -> long wait -> repeat

difficulty adjusts every block, and it will be on a downward plummet for a day or two.  Look at what it did for NF=14 - it was a veritable roller coaster of ups and downs, but no huge swings that it couldn't come back from...
hero member
Activity: 516
Merit: 500
CAT.EX Exchange
I think this will be the most profitable cpu coin once the difficulty adjusts.

I can almost see botnets on the horizon.

Quote from: mhps
Network difficulty is still set to the old N (0.017). According to coinmine.pl there will be 24hours before the difficulty drop (to 0.01).

Now 11 hours later the block time is 3min and there are 616 blocks to go. There will be 30 hours before the difficulty drop (to 0.005). Difficulty has (hopefully temporarily ) reached escape velocity.. this has better not become the beginning of vicious difficulty cycles:  difficulty drops to the floor when retargetting -> miners dive in and mine like there is no tomorrow -> difficulty goes through the roof and retarget-> miners leave and mining almost stops  -> slow confirmation time -> difficulty drops to floor -> long wait -> repeat
hero member
Activity: 693
Merit: 500
My question is... will the R7 240 4gb be as obsolete, as the 2gb now seems to be, by the next NFactor change??? The new NVidia 880 might be the only hope for gpu mining YAC at that point, and it wouldn't even come out for a couple months after that NFactor change allegedly.

Nope, it will still be rocking around LG=5 or LG=6.  It just happens to be a good combination of low power and high memory... almost like an OpenCL ASIC that can drive your monitor too... Tongue
Pages:
Jump to: