doc images

This commit is contained in:
diminator
2016-05-26 09:49:12 +02:00
parent 37c698529f
commit e0c4827eb3
2 changed files with 12 additions and 4 deletions

View File

@@ -129,7 +129,9 @@ The locking script is refered to as a `condition` and a corresponding `fulfillme
Since a transaction can have multiple outputs with each its own (crypto)condition, each transaction input should also refer to the condition index `cid`.
![BigchainDB transactions connecting fulfillments with conditions](./_static/tx_single_condition_single_fulfillment_v1.png)
<p align="center">
<img width="70%" height="70%" src ="./_static/tx_single_condition_single_fulfillment_v1.png" />
</p>
```python
@@ -379,7 +381,9 @@ With BigchainDB it is possible to send multiple assets to someone in a single tr
The transaction will create a `fulfillment` - `condition` pair for each input, which can be refered to by `fid` and `cid` respectively.
![BigchainDB transactions connecting multiple fulfillments with multiple conditions](./_static/tx_multi_condition_multi_fulfillment_v1.png)
<p align="center">
<img width="70%" height="70%" src ="./_static/tx_multi_condition_multi_fulfillment_v1.png" />
</p>
```python
# Create some assets for bulk transfer
@@ -1011,7 +1015,9 @@ BigchainDB and cryptoconditions provides escrow out-of-the-box, without the need
A threshold condition is used to represent the escrow, since BigchainDB transactions cannot have a _pending_ state.
![BigchainDB escrow conditions and fulfillments](./_static/tx_escrow_execute_abort.png)
<p align="center">
<img width="70%" height="70%" src ="./_static/tx_escrow_execute_abort.png" />
</p>
The logic for switching between `execute` and `abort` conditions is conceptually simple:
@@ -1026,7 +1032,9 @@ else:
The above switch can be implemented as follows using threshold cryptoconditions:
![Cryptoconditions escrow conditions and fulfillments](./_static/cc_escrow_execute_abort.png)
<p align="center">
<img width="100%" height="100%" src ="./_static/cc_escrow_execute_abort.png" />
</p>
The small circle on the threshold conditions denotes an inversion of the fulfillment: