diff options
Diffstat (limited to 'content/transaction_docs.md')
-rw-r--r-- | content/transaction_docs.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/transaction_docs.md b/content/transaction_docs.md index 3b4c2a1..3c556b4 100644 --- a/content/transaction_docs.md +++ b/content/transaction_docs.md | |||
@@ -29,7 +29,7 @@ Since there are many ways to convert an object to JSON, we enforce the following | |||
29 | - The order of fields should be exactly as shown above. | 29 | - The order of fields should be exactly as shown above. |
30 | - All keys and string values must be enclosed with quotation marks (`"`). | 30 | - All keys and string values must be enclosed with quotation marks (`"`). |
31 | 31 | ||
32 | Here's an example demostrating how your JSON string should look like: | 32 | Here's an example on how your JSON string should look like: |
33 | ```json | 33 | ```json |
34 | {"source":"bar","target":"baz","amount":2,"timestamp":"2021-04-18T21:49:00"} | 34 | {"source":"bar","target":"baz","amount":2,"timestamp":"2021-04-18T21:49:00"} |
35 | ``` | 35 | ``` |
@@ -39,7 +39,7 @@ Here's an example demostrating how your JSON string should look like: | |||
39 | - You cannot create multiple transactions with the same `source`/`target` pair. | 39 | - You cannot create multiple transactions with the same `source`/`target` pair. |
40 | - 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 your account. | 40 | - 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 your account. |
41 | - The amount of Gradecoin that will be generated is given by `tx_traffic_reward` field of [`/config`](/config). | 41 | - The amount of Gradecoin that will be generated is given by `tx_traffic_reward` field of [`/config`](/config). |
42 | - For example, if `tx_traffic_reward` is 1 and you send 2 coins, only 1 coin will be deduced from your account since you will be given 1 coin for generating traffic. The target will receive 2 coins. | 42 | - For example, if `tx_traffic_reward` is 1, and you send 2 coins, only 1 coin will be deduced from your account since you will be given 1 coin for generating traffic. The target will receive 2 coins. |
43 | - On the other hand, transactions have to be processed which requires valuable CPU power. So, an amount named `tx_gas_fee` of [`/config`](/config) is deducted from the user on every transaction proposal to cover the cost. | 43 | - On the other hand, transactions have to be processed which requires valuable CPU power. So, an amount named `tx_gas_fee` of [`/config`](/config) is deducted from the user on every transaction proposal to cover the cost. |
44 | - Don't worry if your transaction goes unaccepted! Transactions do not disappear until they are committed into the ledger with a block. | 44 | - Don't worry if your transaction goes unaccepted! Transactions do not disappear until they are committed into the ledger with a block. |
45 | - Every transaction has a unique ID generated using the `source`, `target` and `timestamp` fields. | 45 | - Every transaction has a unique ID generated using the `source`, `target` and `timestamp` fields. |