Skip to content

v2.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 02 Mar 18:21
· 246 commits to main since this release

What's Changed

Exciting New Features ✨

Other Changes

Full Changelog: v2.3.0...v2.4.0

📦 Downloads

TestNet

MainNet

📝 Memo

Gitbook Documentation

TestNet

The download binaries were built with the following on Linux:

CONSENSUS_TEST_SIGSTRUCT_URI=$(curl -s https://enclave-distribution.test.mobilecoin.com/production.json | grep consensus-enclave.css | awk '{print $2}' | tr -d \" | tr -d ,)
curl -O https://enclave-distribution.test.mobilecoin.com/${CONSENSUS_TEST_SIGSTRUCT_URI}

INGEST_TEST_SIGSTRUCT_URI=$(curl -s https://enclave-distribution.test.mobilecoin.com/production.json | grep ingest-enclave.css | awk '{print $2}' | tr -d \" | tr -d ,)
curl -O https://enclave-distribution.test.mobilecoin.com/${INGEST_TEST_SIGSTRUCT_URI}

RUSTFLAGS='-C target-cpu=penryn' SGX_MODE=HW IAS_MODE=PROD INGEST_ENCLAVE_CSS=$(pwd)/ingest-enclave.css CONSENSUS_ENCLAVE_CSS=$(pwd)/consensus-enclave.css cargo build --release --no-default-features -p mc-full-service

Example run command

mkdir -p ./testnet-dbs/
RUST_LOG=info,mc_connection=info,mc_ledger_sync=info ./full-service \
        --wallet-db ./testnet-dbs/wallet.db \
        --ledger-db ./testnet-dbs/ledger-db/ \
        --peer mc://node1.test.mobilecoin.com/ \
        --peer mc://node2.test.mobilecoin.com/ \
        --tx-source-url https://s3-us-west-1.amazonaws.com/mobilecoin.chain/node1.test.mobilecoin.com/ \
        --tx-source-url https://s3-us-west-1.amazonaws.com/mobilecoin.chain/node2.test.mobilecoin.com/ \
        --fog-ingest-enclave-css $(pwd)/ingest-enclave.css \
        --chain-id test

MainNet

The download binaries were built with the following on Ubuntu:

CONSENSUS_PROD_SIGSTRUCT_URI=$(curl -s https://enclave-distribution.prod.mobilecoin.com/production.json | grep consensus-enclave.css | awk '{print $2}' | tr -d \" | tr -d ,)
curl -O https://enclave-distribution.prod.mobilecoin.com/${CONSENSUS_PROD_SIGSTRUCT_URI}

INGEST_PROD_SIGSTRUCT_URI=$(curl -s https://enclave-distribution.prod.mobilecoin.com/production.json | grep ingest-enclave.css | awk '{print $2}' | tr -d \" | tr -d ,)
curl -O https://enclave-distribution.prod.mobilecoin.com/${INGEST_PROD_SIGSTRUCT_URI}

RUSTFLAGS='-C target-cpu=penryn' SGX_MODE=HW IAS_MODE=PROD INGEST_ENCLAVE_CSS=$(pwd)/ingest-enclave.css CONSENSUS_ENCLAVE_CSS=$(pwd)/consensus-enclave.css cargo build --release -p mc-full-service

Example run command

Note: You will need the ingest-enclave.css as obtained above.

mkdir -p ./mainnet-dbs/
RUST_LOG=info,mc_connection=info,mc_ledger_sync=info ./full-service \
        --wallet-db ./mainnet-dbs/wallet.db \
        --ledger-db ./mainnet-dbs/ledger-db/ \
        --peer mc://node1.prod.mobilecoinww.com/ \
        --peer mc://node2.prod.mobilecoinww.com/ \
        --tx-source-url https://ledger.mobilecoinww.com/node1.prod.mobilecoinww.com/ \
        --tx-source-url https://ledger.mobilecoinww.com/node2.prod.mobilecoinww.com/ \
        --fog-ingest-enclave-css $(pwd)/ingest-enclave.css \
        --chain-id main