From 77b99f7d3a8747f562f2b8f1e8df551aafea1b28 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 15 Apr 2021 13:35:06 +0300 Subject: Remove lorems and inpsumses --- site/public/block-docs/index.html | 49 +++++++++++++++++++++++++++++++++++---- 1 file changed, 45 insertions(+), 4 deletions(-) (limited to 'site/public/block-docs/index.html') diff --git a/site/public/block-docs/index.html b/site/public/block-docs/index.html index 84a1463..7fd12c4 100644 --- a/site/public/block-docs/index.html +++ b/site/public/block-docs/index.html @@ -66,14 +66,55 @@ + +
+
+ +
+ Requests +
+ + +
+ - GET +
+ +
+ - POST +
+ + + +
+ Fields +
+ + +
+
+ +
Block Documentation
-

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod -tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At -vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd -ubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

+

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 algorithm, which produces 256 bit hashes. Hash/second is roughly 20x10^3 on my machine, a new block can be mined in around 4-6 minutes.

+

Requests

+

GET

+

A HTTP GET request to /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 <date>T<time>
+hash: String
+
+

ISO 8601 Reference

-- cgit v1.2.3-70-g09d2