debris
  • Member for 5 years, 11 months
  • Last seen more than a month ago
Is searching data stored in event logs prohibitively slow?
Accepted answer
23 votes

I will try to anwser your question. I worked on bloom filters in cpp-ethereum and Parity. will retrieving event logs become prohibitively slow as the blockchain becomes larger? Not necessarily. ...

View answer
Database used for Parity
Accepted answer
13 votes

I'm one of parity devs. We use Rocksdb. It's a key-value database developed by Facebook. We chose it mostly because of it's performance. In our benchmarks it was faster than LevelDB From their ...

View answer
Encoding/Decoding contract ABI data
10 votes

If the question is about abi params, you can take a look at these two web3.js files: https://github.com/ChainSafe/web3.js/blob/0.20.7/test/coder.encodeParam.js https://github.com/ChainSafe/web3.js/...

View answer
web3: are event/filter results guaranteed to be sorted by block number?
Accepted answer
5 votes

I'm one of parity client developers and I can assure you that the ordering is defined (both in parity an geth) and you can safely rely on it. I see that it is not mentioned in the docs, so they need ...

View answer
Can a miner compromise an EVM that runs a smart contract?
Accepted answer
3 votes

For example, there is a private storage variable which cannot be seen by any user during the execution of the smart contract. It's not possible to have any kind of 'private' data on a public ...

View answer
Can I add leading zeroes at will when building an RLP-encoded transaction?
Accepted answer
3 votes

You can't. RLP can't have leading zeros. It is designed to encode values in a shortest way, so redundant leading zeros make RLP not canonical. What's more, transaction's RLP starts with payload ...

View answer
parity stable build from source
1 votes

Version v1.7.11 was actually stable. -unstable part of the name is a bug and we've recently fixed it. Version v1.7.12 should display the version properly.

View answer
can not open parity after remove some old sst files
1 votes

sst files are a part of the database - article. Unfortunately, this means that you needs to sync parity from scratch. Please remove the database entirely and sync again. If you have very limited space,...

View answer
Parity Config File
Accepted answer
1 votes

I see that you are using hdd, so please make sure that you are using parity 1.8.6. Earlier versions of parity are unable to sync on hdd. Regarding your question, please take a look at this awesome ...

View answer
Parity 1.6.3 issue building with multirust
1 votes

We have updated our homebrew scripts, so they no longer build parity from source. We have also changed our organization (and tap) name, so you may need to set up our homebrew tap again: brew untap ...

View answer
Using Rust to call Geth's RPC interface
0 votes

You can also use rust-web3 library. It allows you to content to either geth or parity clients through http and ipc. Using the rpc is as simple as extern crate web3; use web3::futures::Future; fn ...

View answer