Open xiaohua0921 opened 6 years ago
what are you trying to do?
In the client log file , I find the value of latency always is 0 . I think it is Incorrect . So I want to find the reason of error .
After testing for different number of threads , I found when the number of threads is 1 , all transactions can return an effective hash value,but when the number of threads is other values , there have many transactions return a NULL value . I run blockbench in virtual machine,and I only distribute one cores per machine . May be I should distribute more core to solve this problem ?
Sorry , I modify the above statement ,I have distributed 2 cores per machine . And I try to test run blockbench with two peer , four threads per peer . But there still have this problem , when exec the request , the return hash value is null .
I found there have value " : " in pendingtx , so I look over the code " (*pendingtx_)[txn_hash] = start_time; " . I print the txn_hash , and found the following problem :
I randomly choose fromaddresses to deploy smart contracts and send transactions , but in this image , you can find the txn_hash is null in somtimes by same address . I can't understand it.