Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
keeping LevelUp in title is probably still helpful
Link
eth
  • 86.5k
  • 53
  • 287
  • 411

How to use Nodejs/LevelUp to read Blocks from local LevelDb database files (.ldb)?

How to use Nodejs/Javascript and LevelUp to read Blocks from local gethLevelDb database files (.ldb)?

Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Add formatting for future viewers
Source Link
Shane Fontaine
  • 18.3k
  • 20
  • 56
  • 83

Here's what I've been able to get going to far. I can open the blockchain database but I can't seem to create a valid blockchain object (nor call the blockchain.getBlock()blockchain.getBlock() function successfully). I'm running against the local database files for my geth.exe node running against mainnet.

Here's what I've been able to get going to far. I can open the blockchain database but I can't seem to create a valid blockchain object (nor call the blockchain.getBlock() function successfully). I'm running against the local database files for my geth.exe node running against mainnet.

Here's what I've been able to get going to far. I can open the blockchain database but I can't seem to create a valid blockchain object (nor call the blockchain.getBlock() function successfully). I'm running against the local database files for my geth.exe node running against mainnet.

Bumped by Community user
Bumped by Community user
Bumped by Community user