witnet-rust
witnet-rust copied to clipboard
Open source Rust implementation of the Witnet decentralized oracle protocol, including full node and wallet backend 👁️🦀
The getBalance method is implemented by iterating over all the existing Unspent Transaction Outputs (UTXOs). This was good enough when the UTXO set was stored in memory, but with the...
witnet-rust currently uses version 0.13.0 of the rocksdb crate, released on 14 Nov 2019. Trying to update that crate to any other version results in this error in github actions:...
Because it uses a `i8` counter internally, so it overflows on more than 127 equal elements: https://github.com/witnet/witnet-rust/blob/c3b1d86ca229ebf8fe5651bfb35d8db9c902eb54/rad/src/reducers/mode.rs#L10 This affects all radon scripts, as well as the tally validation logic. In...
After moving the UTXO set away from memory (#2159), the biggest memory usage is from the `block_chain` field from `ChainState`, which is a map from block epoch to block hash:...
The following radon script, which uses opcode 119 is valid, and equivalent to `[StringParseJSONMap]`: ``` 81 # array(1) 18 77 # unsigned(119) ``` And the following script, which uses opcode...
So I cd in a file directory called `data_structures`, run cargo build and I get this error. ``` Compiling witnet_data_structures v0.3.2 (/Users/kalebamarante/witnet-rust/data_structures) error: failed to run custom build command for...
So multi-dimensional retrievals can be composed as an array of sources, and data arrays overstep to tally phase, where a mode array reducer may be applied there (for instance).
**Problem:** The mechanism of Superblocks implies that a committee of miners randomly selected from the Active Reputation Set (aka ARS, the group of nodes that mined a block or solved...
> Stack overflow in rustc_serialize when parsing deeply nested JSON | Details | | | ------------------- | ---------------------------------------------- | | Package | `rustc-serialize` | | Version | `0.3.24` | |...