v2.10.2-pre.2
Pre-releaseWhat'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