Krist - Minable currency that works across servers (paste updated)
#461
Posted 18 May 2015 - 06:57 PM
#462
Posted 19 May 2015 - 01:49 AM
EDIT: It now works and upon connection sends "LastBlock:<lastblock>" and then "Work:<getwork>" I don't really think I have anything left to add now, but if anyone has a suggestion I might be able to add it.
Edited by luker2009, 19 May 2015 - 02:09 AM.
#463
Posted 19 May 2015 - 02:12 AM
Yevano, on 18 May 2015 - 06:57 PM, said:
luker2009, on 19 May 2015 - 01:49 AM, said:
EDIT: Made it work, now I'm making it give you the work and block upon connection.
This is a great invention thing, but it's a sizable fraction of what the node handles anyways right now!
You should only really need to do getwork calls like once a minute - it's changed like fifty times, ever.
Do you plan on releasing a miner that utilizes this technology? A modification of the one you made in the CC mining days maybe?
#464
Posted 19 May 2015 - 02:17 AM
cossacksson, on 19 May 2015 - 02:12 AM, said:
This is a great invention thing, but it's a sizable fraction of what the node handles anyways right now!
You should only really need to do getwork calls like once a minute - it's changed like fifty times, ever.
Do you plan on releasing a miner that utilizes this technology? A modification of the one you made in the CC mining days maybe?
I'll lower getwork to once a minute (EDIT: lowered.), should I lower lastblock to 2 or 5 times a second?
As for making a miner, I'll eventually modify Yevano's miner to use the websocket system.
EDIT: Ok that's weird... one of my getwork requests (That happen once every minute) returned the ceriat.net/krist page. Is this just a glitch or is my 10 lastblock requests a second too fast for it?
Edited by luker2009, 19 May 2015 - 03:05 AM.
#465
Posted 19 May 2015 - 07:09 AM
#466
Posted 19 May 2015 - 01:28 PM
luker2009, on 19 May 2015 - 02:17 AM, said:
cossacksson, on 19 May 2015 - 02:12 AM, said:
This is a great invention thing, but it's a sizable fraction of what the node handles anyways right now!
You should only really need to do getwork calls like once a minute - it's changed like fifty times, ever.
Do you plan on releasing a miner that utilizes this technology? A modification of the one you made in the CC mining days maybe?
I'll lower getwork to once a minute (EDIT: lowered.), should I lower lastblock to 2 or 5 times a second?
As for making a miner, I'll eventually modify Yevano's miner to use the websocket system.
EDIT: Ok that's weird... one of my getwork requests (That happen once every minute) returned the ceriat.net/krist page. Is this just a glitch or is my 10 lastblock requests a second too fast for it?
I don't think more than 1 request per second is necessary or particularly safe; a better idea might be to make my server contact yours when a block is found?
#467
Posted 19 May 2015 - 01:45 PM
kornichen, on 07 March 2015 - 10:34 AM, said:
Already have a BungeeCord Proxy Plugin,
#468
Posted 19 May 2015 - 02:02 PM
cossacksson, on 19 May 2015 - 01:28 PM, said:
Ok I lowered it to once per second.
I'm not saying your way wouldn't work (It probably would work.) but if your server can contact mine wouldn't it be possible to instead contact the miners of new blocks?
#469
Posted 19 May 2015 - 02:10 PM
luker2009, on 19 May 2015 - 02:02 PM, said:
cossacksson, on 19 May 2015 - 01:28 PM, said:
Ok I lowered it to once per second.
I'm not saying your way wouldn't work (It probably would work.) but if your server can contact mine wouldn't it be possible to instead contact the miners of new blocks?
Well, that would be a lot of requests. I was thinking about just waiting to respond to ?lastblock calls until a new block is actually found.
#470
Posted 19 May 2015 - 02:15 PM
cossacksson, on 19 May 2015 - 02:10 PM, said:
luker2009, on 19 May 2015 - 02:02 PM, said:
cossacksson, on 19 May 2015 - 01:28 PM, said:
Ok I lowered it to once per second.
I'm not saying your way wouldn't work (It probably would work.) but if your server can contact mine wouldn't it be possible to instead contact the miners of new blocks?
Well, that would be a lot of requests. I was thinking about just waiting to respond to ?lastblock calls until a new block is actually found.
Might be best to make a ?newblock for that though, new miners will need the previous block.
#471
Posted 19 May 2015 - 02:56 PM
luker2009, on 19 May 2015 - 02:15 PM, said:
cossacksson, on 19 May 2015 - 02:10 PM, said:
luker2009, on 19 May 2015 - 02:02 PM, said:
cossacksson, on 19 May 2015 - 01:28 PM, said:
Ok I lowered it to once per second.
I'm not saying your way wouldn't work (It probably would work.) but if your server can contact mine wouldn't it be possible to instead contact the miners of new blocks?
Well, that would be a lot of requests. I was thinking about just waiting to respond to ?lastblock calls until a new block is actually found.
Might be best to make a ?newblock for that though, new miners will need the previous block.
And ?getworklong too.
#472
Posted 19 May 2015 - 06:13 PM
Demystify, on 19 May 2015 - 07:09 AM, said:
My miner is a command line program. You'll have to open up command line in the folder where the jar is located and run "java -jar YTCIKristMiner.jar <args>". The first time you run it you can leave the args blank and the program will tell you what the arguments are.
Also, the program is compiled for Java 8 so if you get some weird error about a class version you need to update your Java.
#473
Posted 19 May 2015 - 06:40 PM
Yevano, on 19 May 2015 - 06:13 PM, said:
Demystify, on 19 May 2015 - 07:09 AM, said:
My miner is a command line program. You'll have to open up command line in the folder where the jar is located and run "java -jar YTCIKristMiner.jar <args>". The first time you run it you can leave the args blank and the program will tell you what the arguments are.
Also, the program is compiled for Java 8 so if you get some weird error about a class version you need to update your Java.
#474
Posted 19 May 2015 - 06:52 PM
#475
Posted 19 May 2015 - 09:05 PM
#476
Posted 19 May 2015 - 09:10 PM
Joelahughes, on 19 May 2015 - 09:05 PM, said:
#477
Posted 19 May 2015 - 10:37 PM
#478
Posted 20 May 2015 - 01:02 AM
Joelahughes, on 19 May 2015 - 10:37 PM, said:
I'm curious about this as well. I bring my tablet to school everyday, and I often want to check on my balance.
BTW: Yevano's miner definitely works for me. Grims didn't give me any blocks. +1 to you, Yevano!
#479
Posted 20 May 2015 - 01:35 AM
#480
Posted 20 May 2015 - 10:15 AM
cossacksson, on 18 May 2015 - 06:44 PM, said:
Eleven leading zeroes, by kanavi35hk. Congratulations!
That's pretty crazy.
Edit: Is there any way to know what was the value of the block I mined to get that?
Something like ?getblock=68309
Edited by Anavrins, 21 May 2015 - 02:43 AM.
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users











