Comments (3)
Did you run "tx_gen.js" to generate 10K blocks (which should take a while) ?
@ijingo should be able to help.
from blockbench.
Yes I've been running it since I started the blockchain and it works with up to 2900 blocks but anything after it says not that many blocks have been minted. At the time of writing this comment I have 11300 blocks in my blockchain
from blockbench.
@ug93tad
Hi I found what the problem was
in bench_q1.js
var post_data = JSON.stringify({ "jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": ["0x"+block_num.toString(), true], "id":0 });
When you send the block parameters it converts the integer to a string and adds 0x to it. But it converts it into decimal when eth_getBlockByNumber expects a hexidecimal value
So when you you try to query block 10 000 the parameter it sends is actually 0x10000 which is too high.
When I change the parameters to "0x"+ block_num.toString(16)
which would convert 10 000 to 2710 which is the actual block I want to look at
it works
from blockbench.
Related Issues (20)
- missing token address in report resutls HOT 3
- DoNothing experiment in ethereum 2.0
- hyperledger/start-root.sh:.:4: no such file or directory: env.sh HOT 2
- etherstart-mining.sh geth connection refuse HOT 1
- Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease HOT 2
- Please compile the driver in .../src/macro/kvstore HOT 1
- How to send invalid transactions within smallbank?
- Fatal: Unable to attach to remote geth: connection refused HOT 2
- Can a computer be used as a node and a client at the same time HOT 1
- ./driver -db fabric-v1.4 -ops 1000 -threads 4 -txrate 100 -fp stat.txt -endpoint localhost:7041,localhost:7051 HOT 7
- Tendermint configuration
- Can blockbench be used to test the stale (orphan) block rate?
- Does ycsb execute other operations than insert ? (Fabric v2.2)
- A transaction sending problem in the latest version of Ethereum HOT 1
- When Ethereum experiment, the client has no target address
- What shall I do after I change configtx.yaml(Fabric v1.4) HOT 2
- How to adjust parameters in benchmark? HOT 2
- Saturation experience
- fabricv2.2 HOT 4
- Need help with implementing Quorum_raft
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blockbench.