ooibc88 / blockbench

BLOCKBENCH: A Framework for Analyzing Private Blockchains. Blockbench contains workloads for measuring the data processing performance, and workloads for understanding the performance of different layers of Blockchain systems.
https://www.comp.nus.edu.sg/~dbsystem/fabricsharp/#/blockbench
Apache License 2.0
392 stars 174 forks source link

Hyperledger Analytics Q2 clarification #36

Closed jshaw29 closed 6 years ago

jshaw29 commented 6 years ago

Hello I'm trying to run the second analytic query for Hyperledger

The description for Q2 is

Q2: Compute the largest transaction value involving a given account between block i and block j

However when looking at the code for bench_q2.js it calls the QueryAccount function

The QueryAccount function only takes in two arguments, Account number and Block Number. Which is not what Q2 describes

When I change the function to RangeAccount, which a function that takes the correct arguments, the only answer every returned is -1 which means it's not searching through blocks i to j

Any help would be appreciated

Thank You