From 91c3267f8186f302c4ad58b5a149f63eb36fa85c Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sat, 13 May 2023 16:19:49 +0300 Subject: Prepare for 2022s testnet --- content/_index.md | 19 ++++++------------- content/block_docs.md | 4 ---- 2 files changed, 6 insertions(+), 17 deletions(-) (limited to 'content') diff --git a/content/_index.md b/content/_index.md index 8fdc345..733fcbd 100644 --- a/content/_index.md +++ b/content/_index.md @@ -4,10 +4,10 @@ sort_by = "weight" +++ # Welcome to Gradecoin! -Blockchains are incredibly simple but they can seem very complicated. +Blockchains are incredibly simple, but they can seem very complicated. We will see how they work and practice programming _production grade_ cryptography code. -This server is the sandbox for PA1 and it iss currently running the Gradecoin application. +This server is the sandbox for PA1 and it is currently running the Gradecoin application. Gradecoin is the faux currency we will use to simulate a blockchain network. **At the end of the simulation, the amount of Gradecoin you hold will be your PA1 grade.** @@ -16,18 +16,11 @@ Craft [Transaction](@/transaction_docs.md) proposals and tag them using [JWTs](@ When there are enough transactions then you can propose [Blocks](@/block_docs.md). Blocks need to be _mined_ beforehand using Proof-of-work a.k.a. brute force. -Gradecoin offers 3 endpoints at [/register](/register), [/block](/block) and [/transaction](/transaction). You can only send GET requests to /block and /transaction without authorization. -The server is programmed in [RESTful](https://www.service-architecture.com/articles/web-services/representational_state_transfer_rest.html) architecture, there are no `DELETE`, `PUT` or `UPDATE` operations, though. - Gradecoin uses a Proof-of-work block accepting mechanism. It uses single round [Blake2s](https://www.blake2.net/) hashing which produces 256-bit (64 hexadecimal characters) output. The [target](https://wiki.bitcoinsv.io/index.php/Target) hash is _24 bits_ or _6 hexadecimal characters_ of 0. -> We're expecting you to use existing tools and implementations. Standards are hard. [Don't roll your own crypto](https://www.reddit.com/r/crypto/comments/2coqsy/dont_roll_your_own/). Feel free to ask questions. Collaborate. - -You might ask, - -> But if nobody has any Gradecoin then how do we have transactions? +> We're expecting you to use existing tools and implementations. [Don't roll your own crypto](https://www.reddit.com/r/crypto/comments/2coqsy/dont_roll_your_own/). Feel free to ask questions. Collaborate. -You get rewarded for your hard work during the authentication with some Gradecoin to start with! +You need to authenticate yourself to Gradecoin to begin with, and get rewarded for your hard work with some Gradecoin to start with! Then you can earn block rewards by proposing blocks, create some Gradecoins by generating traffic on the system, or transact with our new highly trained AI bots! # Coinbase @@ -66,7 +59,7 @@ Programming a bot is absolutely fine as long as it's not aggressively sending re > `Authorization`: The request header should have Bearer JWT.Token signed with student's private key ## /user -- Looking for people to conduct business with? Everyone is listed here! +- Looking for people to conduct business with? Everyone is listed on this page! 🤖👋 are bots who are very eager to transact with you. I've trained them personally using state-of-the-art neural networks running on thousands of TPUs. @@ -112,8 +105,8 @@ At the end of the _simulation_, your Gradecoin balance will be your grade. I wil - go - perl - python -- rust - random assortment of bash scripts +- rust If your favourite programming language is missing please let me know 🤷? diff --git a/content/block_docs.md b/content/block_docs.md index 7d4d6e5..807403c 100644 --- a/content/block_docs.md +++ b/content/block_docs.md @@ -15,10 +15,6 @@ The properties a valid hash should have will be explained in subsequent sections We are _mining_ using [blake2s](https://www.blake2.net/) algorithm, which produces 256 bit hashes. Hash/second is roughly {{ exp(num="20x10", exponent="3") }} on my machine, a new block can be mined in around 4-6 minutes. -{% tidbit() %} -We have seen blocks that came in within a minute during the testnet phase! -{% end %} - # Requests ## GET -- cgit v1.2.3-70-g09d2