aboutsummaryrefslogtreecommitdiffstats
path: root/content/misc_docs.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/misc_docs.md')
-rw-r--r--content/misc_docs.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/content/misc_docs.md b/content/misc_docs.md
index a318251..6cfb260 100644
--- a/content/misc_docs.md
+++ b/content/misc_docs.md
@@ -7,10 +7,10 @@ weight = 10
7# Fingerprint 7# Fingerprint
8## Definition 8## Definition
9 9
10A fingerprint is a 256 bit 64 character hexadecimal user identifier for users. Fingerprints are used in defining users in [transactions](@/transaction_docs.md) and [blocks](@/block_docs.md). 10Fingerprints are 256-bit, 64 character hexadecimal user identifiers. Fingerprints are used in defining users in [transactions](@/transaction_docs.md) and [blocks](@/block_docs.md).
11 11
12## Fingerprint Generation 12## Fingerprint Generation
13A user's finger print is generated via applying SHA256 sum of the user's public RSA key. 13A user's fingerprint is generated via applying SHA256 sum of the user's public RSA key.
14 14
15# Config 15# Config
16The [/config](/config) endpoint will return the current parameters that Gradecoin uses. 16The [/config](/config) endpoint will return the current parameters that Gradecoin uses.
@@ -19,7 +19,7 @@ The [/config](/config) endpoint will return the current parameters that Gradecoi
19- `url_prefix`: URL prefix for the network. All API commands will be served under this prefix. 19- `url_prefix`: URL prefix for the network. All API commands will be served under this prefix.
20 - For example, if url_prefix is `example`, register at `gradecoin.xyz/example/register`. 20 - For example, if url_prefix is `example`, register at `gradecoin.xyz/example/register`.
21 - It can be empty, in which case the endpoints are accessed directly from `/`. Example: `gradecoin.xyz/register`. 21 - It can be empty, in which case the endpoints are accessed directly from `/`. Example: `gradecoin.xyz/register`.
22- `preapproved_users`: The name of the CSV file that contains the list of users who can register. This doesn't concern you as an end-user. 22- `preapproved_users`: The name of the CSV file that contains the list of users who can register. Only relevant for the admins.
23- `block_transaction_count`: A valid block should have at least this many transactions. 23- `block_transaction_count`: A valid block should have at least this many transactions.
24- `hash_zeros`: Determines the number of zero hexadecimal characters a correct hash should start with. 24- `hash_zeros`: Determines the number of zero hexadecimal characters a correct hash should start with.
25- `register_bonus`: Initial registration bonus. This will determine your balance after registration. 25- `register_bonus`: Initial registration bonus. This will determine your balance after registration.
@@ -32,6 +32,5 @@ The [/config](/config) endpoint will return the current parameters that Gradecoi
32 - Each key will be the fingerprint of a bot. 32 - Each key will be the fingerprint of a bot.
33 - Each value will be another JSON object. Currently, it only contains one self-explanatory field: `starting_balance`. 33 - Each value will be another JSON object. Currently, it only contains one self-explanatory field: `starting_balance`.
34 34
35
36# Version 35# Version
37The [/version](/version) endpoint will return the current version that's currently live on this server. 36The [/version](/version) endpoint will return the current version that's currently live on this server.