Releases: mobilecoinofficial/full-service
v2.10.5
What's Changed
✨ Exciting New Feature
🐛 Bug Fixes
- Only fail transaction logs for specified account. by @nick-mobilecoin in #1011
- Omit finalized txo logs from list_spendable() query by @nick-mobilecoin in #1009
- python cli status cmd should only display fees for tokens on chain by @holtzman in #1017
- calculate min_synced_block_index using local_block_height by @holtzman in #1018
- Fix transaction logs incorrectly marked successful by @nick-mobilecoin in #1027
- Fail transaction logs when input txos are consumed by @nick-mobilecoin in #1028
Other Changes
- ci/cd refactor: on-pr workflow by @jgreat in #1012
- CI/CD Refactor - Release Process by @jgreat in #1014
- add contents: write permission so we can create a release by @jgreat in #1015
- make path in tar consistent, fix missing artifact in release by @jgreat in #1016
- Consolidate logic for
sync_account_next_chunk()
by @nick-mobilecoin in https://github.com/mobilecoinofficial/full- - Update build tools by @jgreat in #1021
service/pull/1026 - update refresh job to upload ledger to us datacenter by @jgreat in #1023
Full Changelog: v2.10.4...v2.10.5
📦Downloads
TestNet
Binaries
Docker Images (amd64, arm64)
MainNet
Binaries
Docker Images (amd64, arm64)
Running full-service
full-service API Documentation
Running with Docker
The full-service
docker images are published for testnet
and mainnet
usage and are pre-configured to connect to MobileCoin peer nodes. See Setting Parameters as Environment Variables to customize the default configuration.
Block and Wallet data are stored in the /data
directory. You can mount a volume to persist data across container restarts.
full-service
docker image with the following command:
# TestNet Example
docker run -it -p 127.0.0.1:9090:9090 \
--volume $(pwd)/testnet/fs-data:/data \
mobilecoin/full-service:v2.10.5-testnet
# MainNet Example
docker run -it -p 127.0.0.1:9090:9090 \
--volume $(pwd)/testnet/fs-data:/data \
mobilecoin/full-service:v2.10.5-mainnet
Running with Binaries
Download the appropriate binary for your platform and network from the links above. Extract the tarball and run the binary with the following command:
# TestNet Example
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 Example
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.4
What's Changed
🐛 Bug Fixes
- fix list_spendable() to not return inflight txos by @nick-mobilecoin in #1008
- fix update_key_images() to not mark spent txos as unspent by @holtzman in #1007
Other Changes
Full Changelog: v2.10.3...v2.10.4
📦 Downloads
TestNet
- Linux TestNet
- MacOS-ARM64 TestNet
- MacOS-X64 TestNet
- Dockerhub X64 TestNet: mobilecoin/full-service:v2.10.4-testnet
MainNet
- Linux MainNet
- MacOS-ARM64 MainNet
- MacOS-X64 MainNet
- Dockerhub X64 MainNet: mobilecoin/full-service:v2.10.4-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.4-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.4-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.4-pre.0
What's Changed
Other Changes
- Fix list_spendable() to not return inflight txos by @nick-mobilecoin in #1008
- fix update_key_images to not mark spent txos as unspent by @holtzman in #1007
- bump version to 2.10.4 by @holtzman in #1010
Full Changelog: v2.10.3...v2.10.4-pre.0
v2.10.3
What's Changed
✨ Exciting New Features
- increase default valid block window for new tx to 100 by @holtzman in #1005
- New transaction_log_id derivation by @holtzman and @lnsiegel in #1001 and #1002
- Introduce webhook callback in account sync by @sugargoat and @holtzman in #998 and #999
- Add Require Spend Subaddress by @sugargoat and @holtzman in #989, #971, and #994
- add bip39_entropy as alternative to mnemonic for signer-service by @holtzman in #993
🐛 Bug Fixes
- fix for passing port of full-service via ENV by @holtzman in #981
- convert hex encloded account_id to AccountId instead of using zeros by @holtzman in #992
Other Changes
- Update function parameters when calling mobilecoind::UnspentTxOut by @holtzman in #970
- uprev mobilecoin and ledger-mob by @holtzman in #997
- updates to t3 API protobufs by @holtzman and @stevenspiel in #987 and #973
- uprev builder image to v0.0.36 by @holtzman in #985
- Update docker/dockerfile Docker tag to v1.7 by @renovate in #991
- Update ubuntu Docker tag to focal-20240427 by @renovate in #941
New Contributors
- @stevenspiel made their first contribution in #973
- @lnsiegel made their first contribution in #1001
Full Changelog: v2.10.1...v2.10.3
📦 Downloads
TestNet
- Linux TestNet
- MacOS-ARM64 TestNet
- MacOS-X64 TestNet
- Dockerhub X64 TestNet: mobilecoin/full-service:v2.10.3-testnet
MainNet
- Linux MainNet
- MacOS-ARM64 MainNet
- MacOS-X64 MainNet
- Dockerhub X64 MainNet: mobilecoin/full-service:v2.10.3-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.3-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.3-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.3-pre.0
What's Changed
- Increase default valid block window for new tx to 100 by @holtzman in #1005
- Unit tests for FS-154 New TransactionId Derivation by @lnsiegel in #1002
Full Changelog: v2.10.2-pre.6...v2.10.3-pre.0
📦 Downloads
TestNet
- Linux TestNet
- MacOS-ARM64 TestNet
- MacOS-X64 TestNet
- Dockerhub X64 TestNet: mobilecoin/full-service:v2.10.3-pre.0-testnet
MainNet
- Linux MainNet
- MacOS-ARM64 MainNet
- MacOS-X64 MainNet
- Dockerhub X64 MainNet: mobilecoin/full-service:v2.10.3-pre.0-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.3-pre.0-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.3-pre.0-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.2-pre.6
What's Changed
✨ Exciting New Features
- New transaction_log_id derivation by @lnsiegel and @holtzman in #1001
- webhook to notify client of new txos @sugargoat in #998
bip39_entropy
as alternative tomnemonic
forsigner-service
by @holtzman in #993require_spend_subaddress
account mode setting by @sugargoat in #989spend_subaddress
transaction builder optional param` by @sugargoat in #971- Alert: this param was called
subaddress_to_spend_from
in v2.10.2-pre.1. Update your code!
- Alert: this param was called
- update python test client for
require_spend_subaddress
by @holtzman in #994
🐛 Bug Fixes
- uprev mobilecoin submodule to improve serialization of
subaddress
when syncingview-only
account txos by @holtzman in #997 - convert hex encloded account_id to AccountId instead of using zeros by @holtzman in #992
- mob-cli fix for passing port of full-service via env variable by @holtzman in #981
Other Changes
- Update function parameters when calling mobilecoind::UnspentTxOut by @holtzman in #970
- bump version to 2.10.2 by @holtzman in #984
- updates to t3 API protobufs by @holtzman in #987
- update t3.proto to match t3 by @stevenspiel in #973
- uprev builder image to v0.0.36 by @holtzman in #985
- Update docker/dockerfile Docker tag to v1.7 by @renovate in #991
- Update ubuntu Docker tag to focal-20240427 by @renovate in #941
- Update help for --deposits-webhook-url by @holtzman in #999
New Contributors
- @stevenspiel made their first contribution in #973
- @lnsiegel made their first contribution in #1001
Full Changelog: v2.10.1...v2.10.2-pre.6
📦 Downloads
TestNet
- Linux TestNet
- MacOS-ARM64 TestNet
- MacOS-X64 TestNet
- Dockerhub X64 TestNet: mobilecoin/full-service:v2.10.2-pre.6-testnet
MainNet
- Linux MainNet
- MacOS-ARM64 MainNet
- MacOS-X64 MainNet
- Dockerhub X64 MainNet: mobilecoin/full-service:v2.10.2-pre.6-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.6-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.6-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.2-pre.5
What's Changed
✨ Exciting New Features
- webhook to notify client of new txos @sugargoat in #998
bip39_entropy
as alternative tomnemonic
forsigner-service
by @holtzman in #993require_spend_subaddress
account mode setting by @sugargoat in #989spend_subaddress
transaction builder optional param` by @sugargoat in #971- Alert: this param was called
subaddress_to_spend_from
in v2.10.2-pre.1. Update your code!
- Alert: this param was called
- update python test client for
require_spend_subaddress
by @holtzman in #994
🐛 Bug Fixes
- uprev mobilecoin submodule to improve serialization of
subaddress
when syncingview-only
account txos by @holtzman in #997 - convert hex encloded account_id to AccountId instead of using zeros by @holtzman in #992
- mob-cli fix for passing port of full-service via env variable by @holtzman in #981
Other Changes
- Update function parameters when calling mobilecoind::UnspentTxOut by @holtzman in #970
- bump version to 2.10.2 by @holtzman in #984
- updates to t3 API protobufs by @holtzman in #987
- update t3.proto to match t3 by @stevenspiel in #973
- uprev builder image to v0.0.36 by @holtzman in #985
- Update docker/dockerfile Docker tag to v1.7 by @renovate in #991
- Update ubuntu Docker tag to focal-20240427 by @renovate in #941
New Contributors
- @stevenspiel made their first contribution in #973
Full Changelog: v2.10.1...v2.10.2-pre.5
📦 Downloads
TestNet
- Linux TestNet
- MacOS-ARM64 TestNet
- MacOS-X64 TestNet
- Dockerhub X64 TestNet: mobilecoin/full-service:v2.10.2-pre.5-testnet
MainNet
- Linux MainNet
- MacOS-ARM64 MainNet
- MacOS-X64 MainNet
- Dockerhub X64 MainNet: mobilecoin/full-service:v2.10.2-pre.5-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.5-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.5-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.2-pre.4
What's Changed
✨ Exciting New Features
bip39_entropy
as alternative tomnemonic
forsigner-service
by @holtzman in #993require_spend_subaddress
account mode setting by @sugargoat in #989spend_subaddress
transaction builder optional param` by @sugargoat in #971- Alert: this param was called
subaddress_to_spend_from
in v2.10.2-pre.1. Update your code!
- Alert: this param was called
- update python test client for
require_spend_subaddress
by @holtzman in #994
🐛 Bug Fixes
- uprev mobilecoin submodule to improve serialization of
subaddress
when syncingview-only
account txos by @holtzman in #997 - convert hex encloded account_id to AccountId instead of using zeros by @holtzman in #992
- mob-cli fix for passing port of full-service via env variable by @holtzman in #981
Other Changes
- Update function parameters when calling mobilecoind::UnspentTxOut by @holtzman in #970
- bump version to 2.10.2 by @holtzman in #984
- updates to t3 API protobufs by @holtzman in #987
- update t3.proto to match t3 by @stevenspiel in #973
- uprev builder image to v0.0.36 by @holtzman in #985
- Update docker/dockerfile Docker tag to v1.7 by @renovate in #991
- Update ubuntu Docker tag to focal-20240427 by @renovate in #941
New Contributors
- @stevenspiel made their first contribution in #973
Full Changelog: v2.10.1...v2.10.2-pre.4
📦 Downloads
TestNet
- Linux TestNet
- MacOS-ARM64 TestNet
- MacOS-X64 TestNet
- Dockerhub X64 TestNet: mobilecoin/full-service:v2.10.2-pre.4-testnet
MainNet
- Linux MainNet
- MacOS-ARM64 MainNet
- MacOS-X64 MainNet
- Dockerhub X64 MainNet: mobilecoin/full-service:v2.10.2-pre.4-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.4-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.4-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.2-pre.3
What's Changed
✨ Exciting New Features
bip39_entropy
as alternative tomnemonic
forsigner-service
by @holtzman in #993require_spend_subaddress
account mode setting by @sugargoat in #989spend_subaddress
transaction builder optional param` by @sugargoat in #971- Alert: this param was called
subaddress_to_spend_from
in v2.10.2-pre.1. Update your code!
- Alert: this param was called
🐛 Bug Fixes
- convert hex encloded account_id to AccountId instead of using zeros by @holtzman in #992
- mob-cli fix for passing port of full-service via env variable by @holtzman in #981
Other Changes
- Update function parameters when calling mobilecoind::UnspentTxOut by @holtzman in #970
- bump version to 2.10.2 by @holtzman in #984
- updates to t3 API protobufs by @holtzman in #987
- update t3.proto to match t3 by @stevenspiel in #973
- uprev builder image to v0.0.36 by @holtzman in #985
New Contributors
- @stevenspiel made their first contribution in #973
Full Changelog: v2.10.1...v2.10.2-pre.3
📦 Downloads
TestNet
- Linux TestNet
- MacOS-ARM64 TestNet
- MacOS-X64 TestNet
- Dockerhub X64 TestNet: mobilecoin/full-service:v2.10.2-pre.3-testnet
MainNet
- Linux MainNet
- MacOS-ARM64 MainNet
- MacOS-X64 MainNet
- Dockerhub X64 MainNet: mobilecoin/full-service:v2.10.2-pre.3-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.3-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.3-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.2-pre.2
What's Changed
✨ Exciting New Features
require_spend_subaddress
account mode setting by @sugargoat in #989spend_subaddress
transaction builder optional param` by @sugargoat in #971- Alert: this param was called
subaddress_to_spend_from
in v2.10.2-pre.1. Update your code!
- Alert: this param was called
🐛 Bug Fixes
Other Changes
- Update function parameters when calling mobilecoind::UnspentTxOut by @holtzman in #970
- bump version to 2.10.2 by @holtzman in #984
- update t3.proto to match t3 by @stevenspiel in #973
- uprev builder image to v0.0.36 by @holtzman in #985
New Contributors
- @stevenspiel made their first contribution in #973
Full Changelog: v2.10.1...v2.10.2-pre.2
📦 Downloads
TestNet
- Linux TestNet
- MacOS-ARM64 TestNet
- MacOS-X64 TestNet
- Dockerhub X64 TestNet: mobilecoin/full-service:v2.10.2-pre.2-testnet
MainNet
- Linux MainNet
- MacOS-ARM64 MainNet
- MacOS-X64 MainNet
- Dockerhub X64 MainNet: mobilecoin/full-service:v2.10.2-pre.2-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.2-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.2-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