From e01cfdbc00694b92192320a1061acea5904c7523 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sat, 23 Apr 2022 21:54:56 +0300 Subject: Config endpoint docs and new tx hash rule --- content/misc_docs.md | 3 +++ content/transaction_docs.md | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/content/misc_docs.md b/content/misc_docs.md index 695119b..47b5287 100644 --- a/content/misc_docs.md +++ b/content/misc_docs.md @@ -11,3 +11,6 @@ A fingerprint is a 256 bit 64 character hexadecimal user identifier for users. F ## Fingerprint Generation A user's finger print is generated via applying SHA256 sum of the user's public RSA key. + +# Config +The [/config](/config) endpoint will return the current parameters that Gradecoin uses. diff --git a/content/transaction_docs.md b/content/transaction_docs.md index f9e8947..72c1ef7 100644 --- a/content/transaction_docs.md +++ b/content/transaction_docs.md @@ -35,7 +35,8 @@ Or; without any whitespace, separated with `:` and `,`. # Transaction Rules - Transactions should be sent from your account (`source`) to any other account (`target`). +- No two transaction with the same `source`/`target` pair can appear on the pending transaction list [/transactions](/transaction). - Transactions generate traffic which is something we desperately need in Gradecoin, so for every transaction you send, some Gradecoin will be generated out of thin air and will appear on the target. - Don't worry if your transaction goes unaccepted! Transactions do not disappear until they are committed into the ledger with a block. -- Every transaction has a unique ID generated from the `source` and `target` fields. No two transaction with the same ID can appear on the pending transaction list [/transactions](/transaction) +- Every transaction has a unique ID generated using the `source`, `target` and `timestamp` fields. - Transactions have an upper amount limit. -- cgit v1.2.3-70-g09d2