mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
fix documentation issue in transaction schema file
This commit is contained in:
parent
27ad7b5092
commit
05e8d6e28e
@ -88,7 +88,7 @@ definitions:
|
|||||||
Type of the transaction:
|
Type of the transaction:
|
||||||
|
|
||||||
A ``CREATE`` transaction creates an asset in BigchainDB. This
|
A ``CREATE`` transaction creates an asset in BigchainDB. This
|
||||||
transaction has outputs but no inputs, so a dummy fulfillment is used.
|
transaction has outputs but no inputs, so a dummy input is created.
|
||||||
|
|
||||||
A ``TRANSFER`` transaction transfers ownership of an asset, by providing
|
A ``TRANSFER`` transaction transfers ownership of an asset, by providing
|
||||||
fulfillments to outputs conditions of earlier transactions.
|
fulfillments to outputs conditions of earlier transactions.
|
||||||
@ -146,7 +146,7 @@ definitions:
|
|||||||
amount:
|
amount:
|
||||||
type: integer
|
type: integer
|
||||||
description: |
|
description: |
|
||||||
Integral amount of the asset represented by this condition.
|
Integral amount of the asset represented by this output.
|
||||||
In the case of a non divisible asset, this will always be 1.
|
In the case of a non divisible asset, this will always be 1.
|
||||||
condition:
|
condition:
|
||||||
description: |
|
description: |
|
||||||
@ -202,9 +202,9 @@ definitions:
|
|||||||
type_id:
|
type_id:
|
||||||
type: integer
|
type: integer
|
||||||
description: |
|
description: |
|
||||||
Fulfillment of a condition_, or put a different way, this is a
|
Fulfillment of an `Output.condition`_, or put a different way, this is a
|
||||||
payload that satisfies a condition in order to spend the associated
|
payload that satisfies an output condition in order to spend
|
||||||
asset.
|
the associated asset.
|
||||||
- type: string
|
- type: string
|
||||||
pattern: "^cf:([1-9a-f][0-9a-f]{0,3}|0):[a-zA-Z0-9_-]*$"
|
pattern: "^cf:([1-9a-f][0-9a-f]{0,3}|0):[a-zA-Z0-9_-]*$"
|
||||||
fulfills:
|
fulfills:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user