mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
put back owners_before and a bugfix in tx model
This commit is contained in:
parent
9bb8b33d72
commit
e2e3ecb9f4
@ -141,7 +141,6 @@ definitions:
|
|||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
required:
|
required:
|
||||||
- amount
|
- amount
|
||||||
- language
|
|
||||||
- condition
|
- condition
|
||||||
- public_keys
|
- public_keys
|
||||||
properties:
|
properties:
|
||||||
@ -150,8 +149,6 @@ definitions:
|
|||||||
description: |
|
description: |
|
||||||
Integral amount of the asset represented by this condition.
|
Integral amount of the asset represented by this condition.
|
||||||
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.
|
||||||
language:
|
|
||||||
type: string
|
|
||||||
condition:
|
condition:
|
||||||
description: |
|
description: |
|
||||||
Describes the condition that needs to be met to spend the output. Has the properties:
|
Describes the condition that needs to be met to spend the output. Has the properties:
|
||||||
@ -181,10 +178,11 @@ definitions:
|
|||||||
condition.
|
condition.
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
required:
|
required:
|
||||||
|
- owners_before
|
||||||
- fulfillment
|
- fulfillment
|
||||||
properties:
|
properties:
|
||||||
owners_before:
|
owners_before:
|
||||||
"$ref": "#/definitions/owners_list"
|
"$ref": "#/definitions/public_keys"
|
||||||
description: |
|
description: |
|
||||||
List of public keys of the previous owners of the asset.
|
List of public keys of the previous owners of the asset.
|
||||||
fulfillment:
|
fulfillment:
|
||||||
@ -211,18 +209,20 @@ definitions:
|
|||||||
- 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:
|
||||||
type: 'object'
|
anyOf:
|
||||||
description: |
|
- type: 'object'
|
||||||
Reference to the output that is being spent.
|
description: |
|
||||||
additionalProperties: false
|
Reference to the output that is being spent.
|
||||||
required:
|
additionalProperties: false
|
||||||
- idx
|
required:
|
||||||
- txid
|
- idx
|
||||||
properties:
|
- txid
|
||||||
idx:
|
properties:
|
||||||
"$ref": "#definitions/offset"
|
idx:
|
||||||
txid:
|
"$ref": "#/definitions/offset"
|
||||||
"$ref": "#definitions/sha3_hexdigest"
|
txid:
|
||||||
|
"$ref": "#/definitions/sha3_hexdigest"
|
||||||
|
- type: 'null'
|
||||||
metadata:
|
metadata:
|
||||||
anyOf:
|
anyOf:
|
||||||
- type: object
|
- type: object
|
||||||
|
Loading…
x
Reference in New Issue
Block a user