mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 07:25:10 +00:00
fix typo in high-througput/README.md (#1073)
Signed-off-by: geekya215 <geekya215@gmail.com>
This commit is contained in:
parent
c04253d554
commit
9ee0aac2ae
1 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue