github.com/muhammedhassanm/blockchain@v0.0.0-20200120143007-697261defd4d/sawtooth-core-master/validator/tests/test_scheduler/data/dependencies.yaml (about)

     1  # Copyright 2017 Intel Corporation
     2  #
     3  # Licensed under the Apache License, Version 2.0 (the "License");
     4  # you may not use this file except in compliance with the License.
     5  # You may obtain a copy of the License at
     6  #
     7  #     http://www.apache.org/licenses/LICENSE-2.0
     8  #
     9  # Unless required by applicable law or agreed to in writing, software
    10  # distributed under the License is distributed on an "AS IS" BASIS,
    11  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  # See the License for the specific language governing permissions and
    13  # limitations under the License.
    14  # -----------------------------------------------------------------------------
    15  
    16  
    17  
    18  # This yaml file has many txns with dependencies, and one txn with a
    19  # dependency outside the scheduler.
    20  
    21  
    22  
    23  ---
    24  - #--------------------- Batch 1
    25    -
    26      inputs:
    27        - a:sha
    28        - b:sha
    29      outputs:
    30        - b:sha
    31      addresses_to_set:
    32        - b:sha :
    33    -
    34      inputs:
    35        - b:sha
    36        - a:sha
    37      outputs:
    38        - d:sha
    39      addresses_to_set:
    40        - d:sha :
    41    -
    42      inputs:
    43        - b:sha
    44        - e:sha
    45      outputs:
    46        - f:sha
    47      addresses_to_set:
    48        - f:sha :
    49      valid: False
    50      name: morrison
    51  - #---------------------- Batch 2
    52    -
    53      inputs:
    54        - a:sha
    55      outputs:
    56        - g:sha
    57      addresses_to_set:
    58        - g:sha :
    59    -
    60      inputs:
    61        - e:sha
    62      outputs:
    63        - f:sha
    64      addresses_to_set:
    65        - f:sha :
    66      dependencies:
    67        - morrison
    68  - #----------------------- Batch 3
    69    -
    70      inputs:
    71        - f:sha
    72      outputs:
    73        - g:sha
    74      addresses_to_set:
    75        - g:sha :
    76    -
    77      inputs:
    78        - a:sha
    79      outputs:
    80        - ""
    81      addresses_to_set:
    82        - b:sha :
    83        - c:sha :
    84        - d:sha :
    85    -
    86      inputs:
    87        - a:sha
    88      outputs:
    89        - a:sha
    90      addresses_to_set:
    91        - a:sha :
    92      name: manzarek
    93    -
    94      inputs:
    95        - g:sha
    96      outputs:
    97        - g:sha
    98      addresses_to_set:
    99        - g:sha :
   100      valid: False
   101  
   102  - # ---------------------- Batch 4
   103    -
   104      inputs:
   105        - q:sha
   106      outputs:
   107        - q:sha
   108      addresses_to_set:
   109        - q:sha :
   110  - # --------------------- Batch 5
   111    -
   112      inputs:
   113        - z:sha
   114      outputs:
   115        - z:sha
   116      addresses_to_set:
   117        - z:sha :
   118      dependencies:
   119        - manzarek
   120    -
   121      inputs:
   122        - g:sha
   123      outputs:
   124        - ""
   125      addresses_to_set:
   126        - z:sha :
   127        - g:sha :
   128      name: krieger
   129  - #--------------------- Batch 6
   130    -
   131      inputs:
   132        - k:sha
   133      outputs:
   134        - k:sha
   135      addresses_to_set:
   136        - k:sha :
   137    -
   138      inputs:
   139        - l:sha
   140      outputs:
   141        - l:sha
   142      addresses_to_set:
   143        - l:sha :
   144  - # ------------------ Batch 7
   145    -
   146      inputs:
   147        - c:sha
   148      outputs:
   149        - c:sha
   150      addresses_to_set:
   151        - c:sha :
   152      name: densmore
   153      valid: False
   154  - # ------------------ Batch 8
   155    -
   156      inputs:
   157        - h:sha
   158      outputs:
   159        - h:sha
   160      addresses_to_set:
   161        - h:sha :
   162      dependencies:
   163        - krieger
   164        - densmore
   165  - # ----------------- Batch 9
   166    -
   167      inputs:
   168        - d:sha
   169      outputs:
   170        - d:sha
   171      addresses_to_set:
   172        - d:sha :
   173      dependencies:
   174        - densmore
   175  - # ---------------- Batch 10
   176    -
   177      inputs:
   178        - d:sha
   179        - h:sha
   180      outputs:
   181        - d:sha
   182      addresses_to_set:
   183        - d:sha :
   184      dependencies:
   185        - krieger
   186  - #------------------- Batch 11
   187    -
   188      inputs:
   189        - a:sha
   190      outputs:
   191        - a:sha
   192      addresses_to_set:
   193        - a:sha :
   194    -
   195      inputs:
   196        - b:sha
   197      outputs:
   198        - b:sha
   199      addresses_to_set:
   200        - b:sha :
   201    -
   202      inputs:
   203        - c:sha
   204      outputs:
   205        - c:sha
   206      addresses_to_set:
   207        - c:sha :
   208    -
   209      inputs:
   210        - d:sha
   211      outputs:
   212        - d:sha
   213      addresses_to_set:
   214        - d:sha :
   215      valid: False
   216  - # ---------------------- Batch 12
   217    -
   218      inputs:
   219        - a:sha
   220      outputs:
   221        - a:sha
   222      addresses_to_set:
   223        - a:sha :
   224      name: helm
   225    -
   226      inputs:
   227        - y:sha
   228      outputs:
   229        - y:sha
   230      addresses_to_set:
   231        - y:sha :
   232      valid: False
   233  - #----------------------- Batch 13
   234    -
   235      inputs:
   236        - u:sha
   237      outputs:
   238        - u:sha
   239      addresses_to_set:
   240        - u:sha :
   241      dependencies:
   242        - helm
   243  - # ---------------------- Batch 14
   244    -
   245      inputs:
   246        - u:sha
   247      outputs:
   248        - u:sha
   249      addresses_to_set:
   250        - u:sha :
   251  - # ------------------------ Batch 15
   252    -
   253      inputs:
   254        - e:sha
   255      outputs:
   256        - e:sha
   257      addresses_to_set:
   258        - e:sha :
   259      dependencies:
   260        - foooooooooooooooooooooooooooooooooooooooooooooooooooooo