From 9ee0aac2ae3ac57e27c3210751922b735b0ea556 Mon Sep 17 00:00:00 2001 From: geekya215 Date: Fri, 14 Jul 2023 16:42:13 +0800 Subject: [PATCH] fix typo in high-througput/README.md (#1073) Signed-off-by: geekya215 --- high-throughput/README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/high-throughput/README.md b/high-throughput/README.md index 1314b56c..3e3f237b 100644 --- a/high-throughput/README.md +++ b/high-throughput/README.md @@ -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