Libraries for CITA
This repository is a collection of crates used by microservices in CITA.
Crates below are extracted from Parity:
- rlp
Same as CITA
Libraries for CITA (https://github.com/citahub/cita)
License: Apache License 2.0
to 0.2.2
error[E0432]: unresolved import `self::hashable::HASH_NULL_RLP`
--> /home/kaikai/.cargo/git/checkouts/cita-common-1aad419f3e80ba17/6e6ac14/cita-merklehash/src/lib.rs:27:9
|
27 | pub use self::hashable::HASH_NULL_RLP as HASH_NULL;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `HASH_NULL_RLP` in the root
error[E0599]: no method named `crypt_hash` found for type `std::vec::Vec<u8>` in the current scope
--> /home/kaikai/.cargo/git/checkouts/cita-common-1aad419f3e80ba17/6e6ac14/cita-merklehash/src/lib.rs:43:18
|
43 | stream.out().crypt_hash()
| ^^^^^^^^^^
topic_to_string
, id_to_key
, de_cmd_id
, display_cmd
).PublisherSubModule.ClassType
).Origin
and OperateType
directly).Fix all large_enum_variant lint code in cita-common.
$ cargo version
cargo 1.38.0-nightly (677a180f4 2019-07-08)
$ rustc --version
rustc 1.38.0-nightly (69656fa4c 2019-07-13)
$ rustup --version
rustup 1.19.0 (2af131cf9 2019-09-08)
cargo run --example query_height http://MY_ADDR:PORT
Compiling futures-cpupool v0.1.8 (registry `https://mirrors.ustc.edu.cn/crates.io-index/`)
error: failed to run custom build command for `openssl v0.9.24 (registry `https://mirrors.ustc.edu.cn/crates.io-index/`)`
Caused by:
process didn't exit successfully: `/home/flyq/workspaces/cita/cita-common/target/debug/build/openssl-aa083da41679e6c3/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Unable to detect OpenSSL version', /home/flyq/.cargo/registry/src/mirrors.ustc.edu.cn-b63e9dae659fc205/openssl-0.9.24/build.rs:16:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
warning: build failed, waiting for other jobs to finish...
error: build failed
RT
The rlp should not be the part of merklehash, we should provide a more abstract way.
https://github.com/cryptape/cita-common/blob/develop/merklehash/src/lib.rs#L39
This could be removed directly.
https://github.com/cryptape/cita-common/blob/develop/merklehash/src/lib.rs#L185
This should be implemented by Fn parameter.
https://github.com/cryptape/cita-common/blob/develop/merklehash/src/lib.rs#L115
What about this one?
I run cargo build
and get some errors, the version is e07ebc3
, even when I copied env.sh
from CITA and run ./env.sh
to use docker.
关联 pubsub 与 三种 mq 实现 的 channel
Since we put lots of crates in this repository, and we update this repository too often recently, so it will be a hard job.
I think we should split this big job into several jobs:
Used by cita-types
:
0.3.2
-> 0.5.2
warning: use of deprecated item 'ethereum_types::clean_0x': out of scope for fixed-hash
In cita-secp256k1, using a specify commit id secp256k1 library.
eth-secp256k1 = { git = "https://github.com/paritytech/rust-secp256k1", rev = "6370d63adf4e8c91e2eae9225eef4b4e0294c5d0" }
Is it possible to use rust-bitcoin/rust-secp256k1
instead?
amqp havn't updated for a long time.
lapin looks good.
I consider we could move kvdb
in a separate crate. What about removing the avl
or moving to another repo firstly, because it is written base on the trie, it's not well designed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.