- Rust is installed the recommended way via command line (see rustup.rs)
- Corrosion source is downloaded from GitHub, built and installed (see corrosion build instructions https://github.com/corrosion-rs/corrosion#installation)
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABC0a3e7327bde7: Install dependencies for Chronik: Rust and Corrosion
On a Linux machine with docker:
- docker run -i -t bitcoinabc/bitcoin-abc-dev
- Run the commands added in this diff -> installs Rust and Corrosion successfully
- source $HOME/.cargo/env
- cargo --version results in version 1.61
- Test against experimental Chronik impl on GitHub: git clone https://github.com/raipay/bitcoin-abc.git && cd bitcoin-abc && git checkout chronik && mkdir build && cd build && cmake .. -GNinja -> Successfully run Corrosion and calls Rust
- ninja -> successfully builds bitcoind
- ./src/bitcoind -regtest -> runs Chronik, shows "Got BlockConnected 0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206" and "Added block 0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206 with 1 txs, height 0" in stdout
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- master
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 19466 Build 38665: Build Diff Build 38664: arc lint + arc unit
Event Timeline
contrib/utils/install-dependencies.sh | ||
---|---|---|
147 | Nit: Use tar xzf. From testing tar determines the type from the suffix but I couldn't find this behavior in the man pages (it's supposed to be option -a), so better do it explicitely |