From 81ebd267c89011ca65cd5cfe382e10fabd9017ac Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 19 Apr 2021 18:21:06 +0300 Subject: Moving site to separate repo --- site/content/block_docs.md | 43 ------------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 site/content/block_docs.md (limited to 'site/content/block_docs.md') diff --git a/site/content/block_docs.md b/site/content/block_docs.md deleted file mode 100644 index 92880b6..0000000 --- a/site/content/block_docs.md +++ /dev/null @@ -1,43 +0,0 @@ -+++ -title = "Blocks" -description = "Block Documentation" -weight = 10 -+++ - -A block that was proposed to commit Transactions in `transaction_list` to the -ledger with a nonce that made `hash` valid; 6 zeroes at the left hand side of the -hash (24 bytes). - -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. - -# Requests - -## GET -A HTTP `GET` request to [/block](/block) endpoint will return the latest mined block. - -## POST - -A HTTP `POST` request with Authorization using JWT will allow you to propose your own blocks. - -# Fields -``` -transaction_list: [array of Fingerprints] -nonce: unsigned 32-bit integer -timestamp: ISO 8601 T