fix typo in high-througput/README.md (#1073)

Signed-off-by: geekya215 <geekya215@gmail.com>
This commit is contained in:
geekya215 2023-07-14 16:42:13 +08:00 committed by GitHub
parent c04253d554
commit 9ee0aac2ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -145,7 +145,7 @@ Example: `go run app.go delete myvar`
The application provides two methods that demonstrate the advantages of this system by submitting many concurrent transactions to the smart contract: `manyUpdates` and `manyUpdatesTraditional`. The first function accepts the same arguments as `update-invoke.sh` but runs the invocation 1000 times in parallel. The final value, therefore, should be the given update value * 1000.
The second function, `manyUpdatesTraditional`, submits 1000 transactions that attempt to upddate the same key in the world state 1000 times.
The second function, `manyUpdatesTraditional`, submits 1000 transactions that attempt to update the same key in the world state 1000 times.
Run the following command to create and update `testvar1` a 1000 times:
```
@ -178,7 +178,11 @@ The transactions failed because multiple transactions in each block updated the
You can can examine the peer logs to view the messages generated by the rejected blocks:
`docker logs peer0.org1.example.com
```
docker logs peer0.org1.example.com
```
```
[...]
2020-10-28 17:37:58.746 UTC [gossip.privdata] StoreBlock -> INFO 2190 [mychannel] Received block [407] from buffer
2020-10-28 17:37:58.749 UTC [committer.txvalidator] Validate -> INFO 2191 [mychannel] Validated block [407] in 2ms