HomePhabricator

Install dependencies for Chronik: Rust and Corrosion

Description

Install dependencies for Chronik: Rust and Corrosion

Summary:

Test Plan:
On a Linux machine with docker:

  1. docker run -i -t bitcoinabc/bitcoin-abc-dev
  2. Run the commands added in this diff -> installs Rust and Corrosion successfully
  3. source $HOME/.cargo/env
  4. cargo --version results in version 1.61
  5. 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
  6. ninja -> successfully builds bitcoind
  7. ./src/bitcoind -regtest -> runs Chronik, shows "Got BlockConnected 0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206" and "Added block 0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206 with 1 txs, height 0" in stdout

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D11663

Details

Provenance
tobias_ruckAuthored on Jun 23 2022, 21:38
tobias_ruckPushed on Jun 24 2022, 13:49
Reviewer
Restricted Project
Differential Revision
D11663: Install dependencies for Chronik: Rust and Corrosion
Parents
rABC2b3fd80e90cd: [avalanche] Don't request compact proofs during IBD
Branches
Unknown
Tags
Unknown