This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ opam install megaindex-deps | |
The following actions will be performed: | |
- install conf-m4 1 [required by ocamlfind] | |
- install ragel 6-git [required by tld] | |
- install ocamlbuild 0.12.0 [required by tld, sqlgg, mybuild, etc.] | |
- install conf-mariadb 1 [required by supertable] | |
- install conf-pkg-config 1.1 [required by ctypes, conf-zlib] | |
- install dune 1.5.1 [required by megaindex-deps] | |
- install conf-gmp 1 [required by conf-gmp-powm-sec, zarith] | |
- install conf-rocksdb 1 [required by ahrocksdb] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./target/debug/parity --config node1.toml | |
Loading config file from node1.toml | |
2018-10-02 01:17:48 Starting Parity-Ethereum/v2.2.0-unstable-f3b806b47-20181001/x86_64-linux-gnu/rustc1.30.0-nightly | |
2018-10-02 01:17:48 Keys path /tmp/parity1/keys/DemoPoA | |
2018-10-02 01:17:48 DB path /tmp/parity1/chains/DemoPoA/db/d0678730db7ea493 | |
2018-10-02 01:17:48 State DB configuration: fast | |
2018-10-02 01:17:48 Operating mode: active | |
2018-10-02 01:17:48 Configured for DemoPoA using AuthorityRound engine | |
2018-10-02 01:17:49 Public node URL: enode://f0b1bb7055af2f49799e2d188d8785b29a996126328303879eddac13bdf49b367cb707129deee8ff79f39a7d9df7f72442d64f7a7ac3d747acea67caff04149c@10.0.0.101:30301 | |
2018-10-02 01:18:24 0/25 peers 8 KiB chain 7 KiB db 0 bytes queue 448 bytes sync RPC: 0 conn, 0 req/s, 0 µs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./target/debug/parity --config node0.toml | |
Loading config file from node0.toml | |
2018-10-02 01:17:42 Starting Parity-Ethereum/v2.2.0-unstable-f3b806b47-20181001/x86_64-linux-gnu/rustc1.30.0-nightly | |
2018-10-02 01:17:42 Keys path /tmp/parity0/keys/DemoPoA | |
2018-10-02 01:17:42 DB path /tmp/parity0/chains/DemoPoA/db/d0678730db7ea493 | |
2018-10-02 01:17:42 State DB configuration: fast | |
2018-10-02 01:17:42 Operating mode: active | |
2018-10-02 01:17:43 Configured for DemoPoA using AuthorityRound engine | |
2018-10-02 01:17:44 Public node URL: enode://ac16e845a28509a01d38011208944ccc58d02570d39c441ca8d7095b524f5c5d688afaf12a5c55b8a5ad7673c415c85b4546501fc66b52b0c5d20d726538933d@10.0.0.101:30300 | |
2018-10-02 01:18:14 0/25 peers 8 KiB chain 7 KiB db 0 bytes queue 448 bytes sync RPC: 0 conn, 0 req/s, 244 µs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nick@nick-pc-lx1:~/src/parity-ethereum-<tmp>-$ ./target/debug/parity --config node0.toml | |
Loading config file from node0.toml | |
2018-10-01 17:23:37 Starting Parity-Ethereum/v2.2.0-unstable-f3b806b47-20181001/x86_64-linux-gnu/rustc1.30.0-nightly | |
2018-10-01 17:23:37 Keys path /tmp/parity0/keys/DemoPoA | |
2018-10-01 17:23:37 DB path /tmp/parity0/chains/DemoPoA/db/d0678730db7ea493 | |
2018-10-01 17:23:37 State DB configuration: fast | |
2018-10-01 17:23:37 Operating mode: active | |
2018-10-01 17:23:37 Configured for DemoPoA using AuthorityRound engine | |
2018-10-01 17:23:37 Public node URL: enode://b04fa5f41264e96892d1bcaee96c6146022873b82681491f61ab7111a94b31c518f2d213c8ab7e7a8c93e3c030053318fa2beff93a43aa5c9536b813d3f861fb@10.0.0.101:30300 | |
2018-10-01 17:24:07 0/25 peers 8 KiB chain 7 KiB db 0 bytes queue 448 bytes sync RPC: 0 conn, 0 req/s, 0 µs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// What sort of object can be passed as `user_data` during callback | |
// registration which can signal back to a parked futures task to wake up? | |
// | |
// Assume that the callback will come from another thread and that | |
// solutions involving constant repeated calls to `poll` to check | |
// whether or not the callback has already happened are too wasteful. | |
// | |
// This probably has something to do with unpark and unpark events | |
// associated with tasks but how do those work in a potentially | |
// multi-threaded scenario. Does tokio-core provide something that can |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//! An example demonstrating that glium has a problem using instancing when | |
//! the vertex buffer is a slice with a non-zero starting index. | |
//! | |
#[macro_use] extern crate glium; | |
use glium::{DisplayBuild, Surface}; | |
// Vertex Shader: | |
static VERTEX_SHADER_SRC: &'static str = r#" | |
#version 140 |