From de2c87c21f2846268501e8cdf1782ffb7a5b3909 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 25 Apr 2022 13:09:22 +0300 Subject: Document version endpoint --- content/_index.md | 8 ++++---- content/misc_docs.md | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/content/_index.md b/content/_index.md index da3b751..8fdc345 100644 --- a/content/_index.md +++ b/content/_index.md @@ -37,7 +37,6 @@ The first transactions of a block is called the `coinbase`. They are the **autho Gradecoin uses 2048 bit RSA keypairs. # Services - Please respect the system and others. Keep your request rate below a reasonable limit. Programming a bot is absolutely fine as long as it's not aggressively sending requests. @@ -75,6 +74,10 @@ I've trained them personally using state-of-the-art neural networks running on t - Making a GET request to this auxiliary endpoint will provide the current configuration of the Gradecoin network in JSON form. - The information about the individual fields can be found in the [misc Page](@/misc_docs.md). +## /version +- Shows the current version of Gradecoin. +- You can use this to compare the live version to the version on GitHub. + # Questions ## This all sound complicated! - I've drawn inspiration from [actual Bitcoin transactions](https://explorer.bitcoin.com/btc) and [warp](https://github.com/seanmonstar/warp/blob/master/examples/todos.rs). The system has only 3 interfaces. It's simple once you read everything over a couple of times. @@ -114,8 +117,5 @@ At the end of the _simulation_, your Gradecoin balance will be your grade. I wil If your favourite programming language is missing please let me know 🤷? -## Can my friends play? -Sure! They can get in contact with me until the end of the testnet phase. - ## How and or Why? - [Built](https://xkcd.com/2314/), [with](https://lofi.cafe/) [Rust](https://xkcd.com/2418/) diff --git a/content/misc_docs.md b/content/misc_docs.md index 222601b..7d7b73d 100644 --- a/content/misc_docs.md +++ b/content/misc_docs.md @@ -31,3 +31,6 @@ The [/config](/config) endpoint will return the current parameters that Gradecoi - Each key will be the fingerprint of a bot. - Each value will be another JSON object. Currently, it only contains one self-explanatory field: `starting_balance`. + +# Version +The [/version](/version) endpoint will return the current version that's currently live on this server. -- cgit v1.2.3-61-g4310