Skip to content

Releases: mobilecoinofficial/full-service

v2.10.2-pre.1

20 May 15:20
3f1ece3
Compare
Choose a tag to compare
v2.10.2-pre.1 Pre-release
Pre-release

What's Changed

✨ Exciting New Features

  • subaddress_to_spend_from transaction builder optional param` by @sugargoat in #971

🐛 Bug Fixes

  • mob-cli fix for passing port of full-service via env variable by @holtzman in #981

Other Changes

New Contributors

Full Changelog: v2.10.1...v2.10.2-pre.1

📦 Downloads

TestNet

MainNet

📝 Memo

Gitbook Documentation

TestNet

The download binaries were built with the following:

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

Running from Docker

The full-service docker image is pre-configured to use MobileCoin peer nodes and can be launched with the docker run command specifying only the full-service port to expose to the host. To persist the ledger and wallet databases across invocations, mount a volume into the container as /data. In the example below, the full-service databases are persisted in the working directory's testnet/fs-data subdirectory. full-service command-line arguments can be passed after the image specification to override the defaults built into the image.

docker run -it -p 127.0.0.1:9090:9090 \
    --volume $(pwd)/testnet/fs-data:/data \
    mobilecoin/full-service:v2.10.2-pre.1-testnet

Example local 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:

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

Running from Docker

The full-service docker image is pre-configured to use MobileCoin peer nodes and can be launched with the docker run command specifying only the full-service port to expose to the host. To persist the ledger and wallet databases across invocations, mount a volume into the container as /data. In the example below, the full-service databases are persisted in the working directory's mainnet/fs-data subdirectory. full-service command-line arguments can be passed after the image specification to override the defaults built into the image.

docker run -it -p 127.0.0.1:9090:9090 \
    --volume $(pwd)/mainnet/fs-data:/data \
    mobilecoin/full-service:v2.10.2-pre.1-mainnet

Example run command

Note: You will need the ingest-enclave.css included in the downloaded zip folder.

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

v2.10.1

22 Mar 01:06
4869d29
Compare
Choose a tag to compare

What's Changed

Bug Fixes

  • Fixed casting of txo.value to u64 where pmob values were displaying as negative numbers @holtzman in #967

Dependencies

  • Update mobilecoin/rust-sgx-base Docker tag to v0.0.33 by @renovate in #940

Other Changes

Full Changelog: v2.10.0...v2.10.1

📦 Downloads

TestNet

MainNet

📝 Memo

Gitbook Documentation

TestNet

The download binaries were built with the following:

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

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:

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

Example run command

Note: You will need the ingest-enclave.css included in the downloaded zip folder.

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

v2.10.1-pre.1

21 Mar 21:23
4869d29
Compare
Choose a tag to compare
v2.10.1-pre.1 Pre-release
Pre-release

What's Changed

Bug Fixes

  • Fixed casting of txo.value to u64 where pmob values were displaying as negative numbers @holtzman in #967

Dependencies

  • Update mobilecoin/rust-sgx-base Docker tag to v0.0.33 by @renovate in #940

Other Changes

Full Changelog: v2.10.0...v2.10.1-pre.1

v2.10.0

12 Feb 17:55
cdab8bf
Compare
Choose a tag to compare

Top Note

This is the first version of full-service to support DCAP attestation. Future deployments of MobileCoin Core (Consensus and Fog) v6.0 require updating full-service to v2.10.0 or newer.

What's Changed

Exciting New Features ✨

Dependencies

Other Changes

  • fix validate sender memo by using recipient subaddress by @holtzman in #944
  • fix validate_sender_memo to support authenticated sender memos with payment ids by @eranrund in #945
  • add additional codeowners by @holtzman in #946
  • uprev mbedtls and boring to build on apple silicon by @holtzman in #947
  • fixes to integration tests by @holtzman in #948
  • Remove command substitution in help message by @nick-mobilecoin in #953
  • uprev mobilecoin and ledger-mob submodules to mobilecoin v6 by @holtzman in #952
  • update ci and release workflows to use mco-dev-large-x64 runners by @holtzman in #957
  • bump version to 2.10.0 by @holtzman in #956
  • Chore/uprev ci tools by @holtzman in #959
  • add libusb-1.0 and libdbus-1-3 dynlibs to docker image runtime by @holtzman in #961

New Contributors

Full Changelog: v2.8.0...v2.10.0

📦 Downloads

TestNet

MainNet

📝 Memo

Gitbook Documentation

TestNet

The download binaries were built with the following:

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

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:

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

Example run command

Note: You will need the ingest-enclave.css included in the downloaded zip folder.

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

v2.10.0-pre.2

12 Feb 17:09
cdab8bf
Compare
Choose a tag to compare
v2.10.0-pre.2 Pre-release
Pre-release
add libusb-1.0 and libdbus-1-3 dynlibs to docker image runtime (#961)

v2.9.2

28 Nov 15:31
f07f6cd
Compare
Choose a tag to compare

What's Changed

Other Changes

Full Changelog: v2.9.1...v2.9.2

📦 Downloads

TestNet

MainNet

📝 Memo

Gitbook Documentation

TestNet

The download binaries were built with the following:

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

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:

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

Example run command

Note: You will need the ingest-enclave.css included in the downloaded zip folder.

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

v2.9.2-pre.0

28 Nov 00:06
f07f6cd
Compare
Choose a tag to compare
v2.9.2-pre.0 Pre-release
Pre-release
update default secure port to 443 for T3 URI (#938)

v2.9.1

22 Nov 03:24
68698f4
Compare
Choose a tag to compare

What's Changed

Exciting New Features ✨

Dependencies

Other Changes

Full Changelog: v2.8.0...v2.9.1

📦 Downloads

TestNet

MainNet

📝 Memo

Gitbook Documentation

TestNet

The download binaries were built with the following:

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

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:

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

Example run command

Note: You will need the ingest-enclave.css included in the downloaded zip folder.

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

v2.9.1-pre.0

22 Nov 02:24
68698f4
Compare
Choose a tag to compare
v2.9.1-pre.0 Pre-release
Pre-release
bump version to 2.9.1 (#937)

Co-authored-by: Brian Corbin <brian@mobilecoin.com>

v2.9.0

18 Nov 06:44
288978a
Compare
Choose a tag to compare

What's Changed

Exciting New Features ✨

Dependencies

Other Changes

Full Changelog: v2.8.0...v2.9.0

📦 Downloads

TestNet

MainNet

📝 Memo

Gitbook Documentation

TestNet

The download binaries were built with the following:

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

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:

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

Example run command

Note: You will need the ingest-enclave.css included in the downloaded zip folder.

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