Reword some transaction schema descriptions based on feedback

This commit is contained in:
Brett Sun 2016-12-16 11:59:44 +01:00 committed by Scott Sadler
parent f4257030fc
commit 02002bd5f8

View File

@ -91,7 +91,7 @@ definitions:
transaction has outputs but no inputs, so a dummy input is created. 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 conditions in outputs of earlier transactions. an input that meets the conditions of an earlier transaction's outputs.
A ``GENESIS`` transaction is a special case transaction used as the A ``GENESIS`` transaction is a special case transaction used as the
sole member of the first block in a BigchainDB ledger. sole member of the first block in a BigchainDB ledger.
@ -169,7 +169,7 @@ definitions:
public_keys: public_keys:
"$ref": "#/definitions/public_keys" "$ref": "#/definitions/public_keys"
description: | description: |
List of public keys associated with asset control. List of public keys associated with the conditions on an output.
input: input:
type: "object" type: "object"
description: description:
@ -202,9 +202,9 @@ definitions:
type_id: type_id:
type: integer type: integer
description: | description: |
Fulfillment of an `Output.condition`_, or put a different way, this is a Fulfillment of an `Output.condition`_, or, put a different way, a payload
payload that satisfies an output condition in order to spend that satisfies the condition of a previous output to prove that the
the associated asset. creator(s) of this transaction have control over the listed 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: