Skip to main content

Questions tagged [rocks-db]

1 vote
1 answer
65 views

I see that the DB weights (Rocks or Parity) are directly imported as constants in the runtime code. This means that whenever the runtime is built, it will use those constants. Why was this approach ...
lime's user avatar
  • 121
2 votes
1 answer
65 views

In my parachain that I forked from substrate-node-template, github dependabot give me following security alert: "rocksdb vulnerable to out-of-bounds read" and the suggested solution is to ...
Syed Kamran's user avatar
1 vote
1 answer
138 views

At the moment building the Substrate repository requires RocksDB library librocksdb-sys and all its native dependencies to be pulled in, but it also supports testing out the "faster and more ...
Luke Schoen's user avatar
  • 2,376
0 votes
1 answer
101 views

In the Substrate CLI why can we limit the memory that the RocksDB database cache can use if we choose to use it here, but we're not given the option to limit the memory that ParityDB uses if we choose ...
Luke Schoen's user avatar
  • 2,376
1 vote
1 answer
66 views

When syncing a new node from scratch it takes several days just to transfer and validate the polkadot chain. Comparing two runs reveals there are no simulates at all with the sst files. Is there an ...
Simson's user avatar
  • 1,275
7 votes
1 answer
313 views

in the substrate-node-template case , I don't want to compile rocks-db at all. how it would be possible compile parity-db instead of rocks-db?
kayvan jam's user avatar
3 votes
1 answer
346 views

I followed this tutorial https://docs.substrate.io/tutorials/get-started/build-local-blockchain/. I got the below error when run cargo build --release. How can I fix it? cargo build -v --release ...
kayvan jam's user avatar
0 votes
2 answers
371 views

I use the substrate-developer-hub/substrate-node-template version: polkadot-v0.9.26 for practice. When I run cargo build --release I got error: invalid output constraint '=@ccz' in asm : [tag_type] &...
gfan's user avatar
  • 161
5 votes
1 answer
299 views

Is there any best practice how to count the weights in on_initialize correctly? I read through the Polkadot and Substrate on_initialize weight calculations and couldn't always figure out: When to ...
Chralt's user avatar
  • 563
2 votes
1 answer
114 views

Is there a command or an easy way to rollback the changes to a node's RocksDb to force the node to go back in its history and start fresh from previous block numbers? For example if the node has seen ...
Alex Sed's user avatar
  • 600
1 vote
2 answers
529 views

Getting this error while building substrate-node-template, Command uses: cargo build --release error: failed to run custom build command for librocksdb-sys v0.6.1+6.28.2 MacBook Air 2017, MacOS ...
user2556's user avatar
4 votes
1 answer
156 views

I'm looking for a how-to-guide, or an example that runs the substrate-node-template using parity-db instead of rockdb.
Pablo Buitrago's user avatar
3 votes
2 answers
1k views

My build was working last week now I can't build rocksdb for some reason. I made sure that I went though the install steps again in case I was missing something. Here's the rest of the out: error: ...
Christian Pavilonis's user avatar