Skip to content

Commit ee23940

Browse files
Zhangjiong Xuanmastersingh24
Zhangjiong Xuan
authored andcommitted
[FAB-6345] examples/configupdate some error.
Fix #FAB-6345's spelling error and format. Change-Id: I8fc634c198d5889f8e3e6d36b663e030be356871 Signed-off-by: Zhangjiong Xuan <[email protected]>
1 parent 2c40bd5 commit ee23940

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/configtxupdate/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ The standard usage is expected to be:
1313
4. `configtxlator` used to compute config update representation of changes to the config
1414
5. SDK submits signs and submits config
1515

16-
The `configtxlator` tool exposes a truly stateless REST API for interacting with configuration elements. These REST components support converting the native configuration format to/from a human readable JSON representation, as well as computing computing configuration updates based on the difference between two configurations.
16+
The `configtxlator` tool exposes a truly stateless REST API for interacting with configuration elements. These REST components support converting the native configuration format to/from a human readable JSON representation, as well as computing configuration updates based on the difference between two configurations.
1717

1818
Because the `configtxlator` service deliberately does not contain any crypto material, or otherwise secret information, it does not include any authorization or access control. The anticipated typical deployment would be to operate as a sandboxed container, locally with the application, so that there is a dedicated configtxlator process for each consumer of it.
1919

20-
## Buliding and running the configtxlator
20+
## Building and running the configtxlator
2121

2222
The `configtxlator` binary may be produced by executing `make configtxlator`.
2323

@@ -37,7 +37,7 @@ For instance, to decode a configuration block saved as `configuration_block.pb`,
3737
curl -X POST --data-binary @configuration_block.pb http://127.0.0.1:7059/protolator/decode/common.Block
3838
```
3939

40-
To convert the human readable JSON version of the proto message, simply post the JSON version to `http://$SERVER:$PORT/protolator/encode/<message.Name` where `<message.Name>` is again the fully qualified proto name of the message.
40+
To convert the human readable JSON version of the proto message, simply post the JSON version to `http://$SERVER:$PORT/protolator/encode/<message.Name>` where `<message.Name>` is again the fully qualified proto name of the message.
4141

4242
For instance, re-encode the block saved as `configuration_block.json`, run the command:
4343

@@ -57,7 +57,7 @@ For example, given the original config as the file `original_config.pb` and the
5757
curl -X POST -F channel=desiredchannel -F original=@original_config.pb -F updated=@updated_config.pb http://127.0.0.1:7059/configtxlator/compute/update-from-configs
5858
```
5959

60-
## Bootstraping example
60+
## Bootstrapping example
6161

6262
First build and start the `configtxlator`.
6363

@@ -102,7 +102,7 @@ Decode the genesis block into a human editable form.
102102
```
103103
curl -X POST --data-binary @genesis_block.pb http://127.0.0.1:7059/protolator/decode/common.Block > genesis_block.json
104104
```
105-
Edit the `genesis_block.json` file in your favorite JSON editor, or manipulate it programatically, here, we use the JSON CLI tool `jq`. For simplicity, we are editing the batch size for the channel, because it is a single numeric field, but any edits, including policy and MSP edits may be made here.
105+
Edit the `genesis_block.json` file in your favorite JSON editor, or manipulate it programmatically, here, we use the JSON CLI tool `jq`. For simplicity, we are editing the batch size for the channel, because it is a single numeric field, but any edits, including policy and MSP edits may be made here.
106106
```
107107
$ export MAXBATCHSIZEPATH=".data.data[0].payload.data.config.channel_group.groups.Orderer.values.BatchSize.value.max_message_count"
108108
# Display the old batch size

0 commit comments

Comments
 (0)