github.com/muhammedhassanm/blockchain@v0.0.0-20200120143007-697261defd4d/sawtooth-core-master/docs/source/cli/poet.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 .. _poet-cli-reference-label: 17 18 **** 19 poet 20 **** 21 22 The ``poet`` command initializes the Proof of Elapsed Time (PoET) consensus 23 mechanism for Sawtooth by generating enclave setup information and creating a 24 Batch for the genesis block. For more information, see 25 :doc:`/architecture/poet`. 26 27 The ``poet`` command provides subcommands for configuring a node to use 28 Sawtooth with the PoET consensus method. 29 30 .. literalinclude:: output/poet_usage.out 31 :language: console 32 33 poet registration 34 ================= 35 36 The ``poet registration`` subcommand provides a command to work with 37 the PoET validator registry. 38 39 .. literalinclude:: output/poet_registration_usage.out 40 :language: console 41 42 poet registration create 43 ======================== 44 45 The ``poet registration create`` subcommand creates a batch to enroll 46 a validator in the network's validator registry. It must be run from 47 the validator host wishing to enroll. 48 49 .. literalinclude:: output/poet_registration_create_usage.out 50 :language: console 51 52 poet enclave 53 ============ 54 55 The ``poet enclave`` subcommand generates enclave setup information. 56 57 .. literalinclude:: output/poet_enclave_usage.out 58 :language: console 59 60 .. Licensed under Creative Commons Attribution 4.0 International License 61 .. https://creativecommons.org/licenses/by/4.0/