Jump to content




Krist - Minable currency that works across servers (paste updated)


  • You cannot reply to this topic
1697 replies to this topic

#1161 Lemmmy

  • Members
  • 218 posts

Posted 11 February 2016 - 05:56 PM

Posted Image

Posted Image


Preview of what's in store for Krist.

Edited by Lemmmy, 11 February 2016 - 06:06 PM.


#1162 Tron

  • Members
  • 63 posts
  • LocationMinecraftia

Posted 11 February 2016 - 06:50 PM

View PostLemmmy, on 11 February 2016 - 05:56 PM, said:

Preview of what's in store for Krist.

Wow, looks nice!

Is is a mining pool api?

Edited by luker2009, 11 February 2016 - 06:51 PM.


#1163 Lemmmy

  • Members
  • 218 posts

Posted 11 February 2016 - 07:10 PM

View Postluker2009, on 11 February 2016 - 06:50 PM, said:

View PostLemmmy, on 11 February 2016 - 05:56 PM, said:

Preview of what's in store for Krist.

Wow, looks nice!

Is is a mining pool api?

Nope, much more. It should hopefully be right in time for the 1 year anniversary of Krist (this Saturday).

#1164 bauen1

  • Members
  • 102 posts
  • LocationIn your Computer

Posted 12 February 2016 - 11:54 AM

View PostLemmmy, on 11 February 2016 - 07:10 PM, said:

View Postluker2009, on 11 February 2016 - 06:50 PM, said:

View PostLemmmy, on 11 February 2016 - 05:56 PM, said:

Preview of what's in store for Krist.

Wow, looks nice!

Is is a mining pool api?

Nope, much more. It should hopefully be right in time for the 1 year anniversary of Krist (this Saturday).
So does it include a mining pool api?

#1165 apemanzilla

  • Members
  • 1,421 posts

Posted 12 February 2016 - 12:12 PM

View Postbauen1, on 12 February 2016 - 11:54 AM, said:

View PostLemmmy, on 11 February 2016 - 07:10 PM, said:

View Postluker2009, on 11 February 2016 - 06:50 PM, said:

View PostLemmmy, on 11 February 2016 - 05:56 PM, said:

Preview of what's in store for Krist.

Wow, looks nice!

Is is a mining pool api?

Nope, much more. It should hopefully be right in time for the 1 year anniversary of Krist (this Saturday).
So does it include a mining pool api?

You'll find out in a few days.

#1166 bauen1

  • Members
  • 102 posts
  • LocationIn your Computer

Posted 12 February 2016 - 12:35 PM

View Postapemanzilla, on 12 February 2016 - 12:12 PM, said:

View Postbauen1, on 12 February 2016 - 11:54 AM, said:

View PostLemmmy, on 11 February 2016 - 07:10 PM, said:

View Postluker2009, on 11 February 2016 - 06:50 PM, said:

View PostLemmmy, on 11 February 2016 - 05:56 PM, said:

Preview of what's in store for Krist.

Wow, looks nice!

Is is a mining pool api?

Nope, much more. It should hopefully be right in time for the 1 year anniversary of Krist (this Saturday).
So does it include a mining pool api?

You'll find out in a few days.
Hopefully before my holidays end :)
Edit:
So we get WebSocket connection with authentication support ? AWSOME :D
And API Documentation !!!
And in node js. :D
Love it already :wub:

Edited by bauen1, 13 February 2016 - 02:49 PM.


#1167 Lemmmy

  • Members
  • 218 posts

Posted 13 February 2016 - 05:16 PM

Posted Image

One more preview.

As a word of warning, there may or may not be some minor downtime to Krist when this is released. But it should be nothing compared to the regular downtime, and hey, maybe after this there won't be any anymore.

As well as this, WebSockets will most likely not be available immediately. We will try and get them out as soon as possible, though!

Edited by Lemmmy, 13 February 2016 - 05:17 PM.


#1168 apemanzilla

  • Members
  • 1,421 posts

Posted 14 February 2016 - 03:15 AM

The Krist homepage is looking pretty new....

#1169 sci4me

  • Members
  • 225 posts
  • LocationEarth

Posted 14 February 2016 - 03:17 AM

Hey, a new website exists: http://klottery.sci4me.com/ ...

#1170 Tron

  • Members
  • 63 posts
  • LocationMinecraftia

Posted 14 February 2016 - 03:30 AM

Little bit of a bug report: Schrodinger's cat is not returned as either alive or dead by the API (Please fix this very important bug!)

#1171 Lemmmy

  • Members
  • 218 posts

Posted 14 February 2016 - 03:42 AM

Posted Image


There have been some major improvements to Krist. Over the past few weeks I have been developing a brand new Krist server, written in Node.JS from scratch. With this server comes many new features, along with more updates to come.

New Server
As mentioned, this is a complete rewrite of the old server. It is more modular, uses a less stupid language, and is certainly less ugly (trust me, you did not want to see the old code). You can browse the new source code at my GitHub. The new server is hosted in London on my DigitalOcean droplet, and is much faster compared to the old one.

The new server:
  • Is faster
  • Is properly maintained
  • Doesn't go down every 5 hours
  • Doesn't use XAMPP (uses NGINX)
  • Doesn't use PHP (uses Node.JS)
New API
The biggest change is that there is a new API. Don't worry, the old one still exists and is documented at 3d6's profile. The API URL is still http://krist.ceriat.net.

The new API:
  • Uses HTTP verbs (GET/POST for CC, with PUT/DELETE as alternatives)
  • Uses HTTP status code responses (?cc will return 200 no matter what, so that you can recieve the errors from CC)
  • Uses JSON responses
  • Is RESTful in general
  • Is properly documented
  • Supports HTTPS
  • No longer uses SQLite (yay, no more db locking!)
New Features
Webhooks
A new feature is webhooks. These are more important to developers. These send a HTTP request (GET or POST) to a specified URL whenever a block changes, a transaction is made or a name is registered. For each webhook you wish to register, you require to own a name (.kst domain). As well as this, there is a limit of 6 webhooks per hostname.

KristWallet will soon have support for webhooks.

To register a webhook, send a POST request to http://krist.ceriat.net/webhooks. The required POST parameters are:
  • privatekey - Your address's privatekey (not your KristWallet key!)
  • owner - Your address, used to verify that you are registering as the right address (so you don't waste any webhooks under the limit)
  • event - The event to listen to (transaction, block or name)
  • url - The URL to call when the event occurs
  • method - Optional, defaults to 'get', can be 'post'
  • addresses - Optional. Only valid for transaction or name events - a comma delimited list of Krist addresses to whitelist for this event. If this it not specified, it will occur for all addresses.
For further documentation, see the API docs. If you require further clarification, do not hesitate to ask.

Upcoming Features
Websockets
Websockets are currently being developed. These are a feature that are more important to developers. They will allow you to maintain a connection to Krist, and it will send events when a transaction is made, when the block changes etc. They are useful for many things, for example:
  • Miners - prevent having to constantly poll /work to know when the work has changed, and to submit blocks slightly faster.
  • Mining pools - similarly, to prevent constant polling and for faster data retrieval
  • Clientside event notification (sadly not possible in CC, yet)
  • And more!
Web Wallet
As well as this, I am working on a fully featured web Krist wallet. It will support local storage of Krist wallets, login remembering, system notifications etc. This will be fully clientside, and may also be downloadable as a desktop app (probably via Electron as much as I hate it).

There are many more features to come for Krist. I will most likely be taking over backend development from here on out, but 3d6 and many other great people are working on several other new Krist related things, so keep an eye out for those!

View Postluker2009, on 14 February 2016 - 03:30 AM, said:

Little bit of a bug report: Schrodinger's cat is not returned as either alive or dead by the API (Please fix this very important bug!)

Sorry about that, fixed that now.

P.S. Look at this speeeeed Posted Image

Edited by Lemmmy, 14 February 2016 - 04:03 AM.


#1172 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 14 February 2016 - 07:07 AM

But will it replace the original Krist, or work alongside it?

#1173 Lignum

  • Members
  • 558 posts

Posted 14 February 2016 - 08:11 AM

View PostCreator, on 14 February 2016 - 07:07 AM, said:

But will it replace the original Krist, or work alongside it?
It already has replaced the original Krist and is up and running on the usual URL (http://krist.ceriat.net).
EDIT: If you're talking about the API, the new node will provide both, however the legacy API is only there for backwards compatibility and will not have support for the new features.

Edited by Lignum, 14 February 2016 - 08:15 AM.


#1174 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 14 February 2016 - 09:13 AM

The documentation is amazing! Good job!

#1175 bauen1

  • Members
  • 102 posts
  • LocationIn your Computer

Posted 14 February 2016 - 11:17 AM

Goddamit i still have to do homework :(
Best Update ever. :D Edit: Oh wait i have to rewrite a hell lot of code on the mining pool thing

Edited by bauen1, 14 February 2016 - 12:55 PM.


#1176 ry00000

  • Members
  • 244 posts
  • LocationComputer, Base, SwitchCraft, Cube-earth, Blockiverse, Computer

Posted 14 February 2016 - 01:22 PM

Could somebody send some KST over to kpnzdzvw9b ? I need some to try out the new features in all of Krist's greatness.

#1177 ry00000

  • Members
  • 244 posts
  • LocationComputer, Base, SwitchCraft, Cube-earth, Blockiverse, Computer

Posted 14 February 2016 - 01:37 PM

WAT? there's an address called knoandroid. Who would ever want to NOT use Android?

ARGH.... only 2 MH/s on my PC! 2 minutes have passed and I've not even solved 1 block!!!

PS: what's the size of 1 block?

I'm currently mining block 000000000764.

UPDATE: now getting 2.5 MH/s with all 4 cores.

Which is STILL not good.

#1178 Lignum

  • Members
  • 558 posts

Posted 14 February 2016 - 01:43 PM

View Postry00000, on 14 February 2016 - 01:37 PM, said:

WAT? there's an address called knoandroid. Who would ever want to NOT use Android?

ARGH.... only 2 MH/s on my PC! 2 minutes have passed and I've not even solved 1 block!!!

PS: what's the size of 1 block?

I'm currently mining block 000000000764.

UPDATE: now getting 2.5 MH/s with all 4 cores.

Which is STILL not good.

You won't have much luck CPU mining. You need at least 500 MH/s, at which point it's still difficult. But no worries, we're working on ways to make getting Krist easier again (mining pools, faucets, etc...). As soon as the GPU miners start coming out, mining will be possible again, too.

#1179 timia2109

  • Members
  • 71 posts

Posted 14 February 2016 - 01:46 PM

HUGE PERFOMANCE! Good Job! And finaly JSON! :)

Let's rewrite my Android Version of the App ;)

#1180 sci4me

  • Members
  • 225 posts
  • LocationEarth

Posted 14 February 2016 - 01:52 PM

View Postry00000, on 14 February 2016 - 01:37 PM, said:

WAT? there's an address called knoandroid. Who would ever want to NOT use Android?

ARGH.... only 2 MH/s on my PC! 2 minutes have passed and I've not even solved 1 block!!!

PS: what's the size of 1 block?

I'm currently mining block 000000000764.

UPDATE: now getting 2.5 MH/s with all 4 cores.

Which is STILL not good.

I'm mining at ~72 MH/s with my crappy GPU and i have gotten 7 blocks in >8 hours...... so......





3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users