github.com/muhammedhassanm/blockchain@v0.0.0-20200120143007-697261defd4d/sawtooth-core-master/docs/source/cli/sawnet.rst (about)

     1  ..
     2     Copyright 2017 Intel Corporation
     3  
     4     Licensed under the Apache License, Version 2.0 (the "License");
     5     you may not use this file except in compliance with the License.
     6     You may obtain a copy of the License at
     7  
     8         http://www.apache.org/licenses/LICENSE-2.0
     9  
    10     Unless required by applicable law or agreed to in writing, software
    11     distributed under the License is distributed on an "AS IS" BASIS,
    12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13     See the License for the specific language governing permissions and
    14     limitations under the License.
    15  
    16  .. _sawnet-reference-label:
    17  
    18  ******
    19  sawnet
    20  ******
    21  
    22  The ``sawnet`` command is used to interact with an entire
    23  network of Sawtooth nodes.
    24  
    25  .. literalinclude:: output/sawnet_usage.out
    26     :language: console
    27  
    28  
    29  sawnet compare-chains
    30  =====================
    31  
    32  The ``sawnet compare-chains`` subcommand compares chains across the specified
    33  nodes.
    34  
    35  .. literalinclude:: output/sawnet_compare-chains_usage.out
    36     :language: console
    37  
    38  sawnet peers
    39  ============
    40  
    41  .. literalinclude:: output/sawnet_peers_usage.out
    42     :language: console
    43  
    44  sawnet peers list
    45  =================
    46  
    47  The ``sawnet peers list`` subcommand displays the peers of the specified nodes.
    48  
    49  .. literalinclude:: output/sawnet_peers_list_usage.out
    50     :language: console
    51  
    52  sawnet peers graph
    53  ==================
    54  
    55  The ``sawnet peers graph`` subcommand displays a file called ``peers.dot``
    56  that describes the peering arrangement of the specified nodes.
    57  
    58  .. literalinclude:: output/sawnet_peers_graph_usage.out
    59     :language: console