TestNet Request Codes: Share Here!

I find it helpful to hang on to the central metaphor “MobileCoin is cash”. You can buy a used car with cash today but there’s paperwork required as part of the transaction that’s separate from the transfer of funds. Merchants could use subaddresses if they have high volume, or one time addresses if its more economical to watch the ledger with a short-lived cloud task. In both cases, you establish the origin of funds based on a shared secret with the sender. Another possible mechanism is for the user to create a one time account for the payment and to use the private keys for this account as the shared secret with the recipient. From a UX standpoint, this will all be hidden in the background – paying somebody will just require scanning a QR code or clicking a button – Lots of fun stuff still ahead of us!

3 Likes

that didn’t resolve the issue. Now the testnet client works:

Daemon is starting up
Connected to mobilecoind on 127.0.0.1:4444.
commit = 4367634
profile = release
target_arch = linux
target_feature = fxsr,mmx,sse,sse2
rustflags =
sgx_mode = HW
ias_mode = PROD
mobilecoind currently has 872 blocks in ledger.


             Welcome to the MobileCoin TestNet

You are now connected to: 127.0.0.1:4444

The watcher node howver returns:

Starting local mobilecoind using TestNet servers for source of ledger. Check log at /tmp/mobilenode/mobilecoind.log.
Sleeping 5s to allow mobilecoind to sync the ledger
Starting local mc-test-client.
Unable to connect to mobilecoind on 127.0.0.1:4444.
Are you sure it is running and accepting connections?

The error was: RpcFailure: 14-UNAVAILABLE failed to connect to all addresses
Terminated
[email protected]:/tmp/mobilenode#

2cAurVHxcLk8jBbystVFymG1JDDpMaB9HchQiZBu47PrFej66wKv2rudvsKjghrqezAEqWsns7Pcv6ph6wEVaQTWn1L8g9jjKaasDxZd3pA1G3

Yes, I have got this as well.
Unable to connect to mobilecoind on 127.0.0.1:4444.
Are you sure it is running and accepting connections?

The error was: RpcFailure: 14-UNAVAILABLE failed to connect to all addresses
Terminated"

Both the watcher node and the client are running mobilecoind, so they can’t both run at the same time, when started with the convenience scripts and default configuration that we’ve provided.

Can you print the errors from the mobilecoind.log file?

@MUCOS can you share your mobilecoind.log file?

./mobilecoind
error: The following required arguments were not provided:
–peer …
–tx-source-url …

USAGE:
mobilecoind --ledger-db --peer … --poll-interval --tx-source-url …

btxGgyiPSLtK5DAG4WTyGv8LNsU2Fh5aqWG9eNKMxpdGe46PE6rojDrps3bfugRYSVYto1jPxWkEvQ4JmuCaLyNvEoYgi9W8WjGHzSawU8z8X

HtLgMCXP7diKuu8qwA5UtLW3KkydmQS99nZZ7e31GRkb3gDRYDKELr2fUgJL8bzAC3BmyNjPWEiAUVmjCgsjsPNSNPTYJEiNJ5ctqwbo8cYdbiYt6LF6xXYkHTPVh1oPQQX55u3gdV3DTXZxY

Just sent Juan and newjohncity some MobileCoins.

hey. Yep I am aware of that and ran them separately.

As I can’t attach files here, here’s my mobilcoind.log:

2020-04-24 13:28:48.503593297 UTC INFO mobilecoind started: { “GIT_COMMIT”: “b1fac4c”, “PROFILE”: “release”, “DEBUG”: “false”, “OPT_LEVEL”: “3”, “DEBUG_ASSERTIONS”: “true”, “TARGET_ARCH”: “x86_64”, “TARGET_OS”: “linux”, “TARGET_FEATURE”: “adx,aes,avx,avx2,bmi1,bmi2,cmpxchg16b,f16c,fma,fxsr,lzcnt,mmx,movbe,pclmulqdq,popcnt,rdrand,rdseed,sse,sse2,sse3,sse4.1,sse4.2,ssse3,xsave,xsavec,xsaveopt,xsaves”, “RUSTFLAGS”: “?”, “SGX_MODE”: “HW”, “IAS_MODE”: “PROD” }, mc.app: mobilecoind, mc.module: common::logger, mc.src: common/src/logger/mod.rs:311
2020-04-24 13:28:48.505317304 UTC INFO Ledger DB “/tmp/ledger-db” does not exist, bootstrapping from peer, this may take a few minutes, mc.app: mobilecoind, mc.module: mobilecoind, mc.src: mobilecoind/src/bin/main.rs:146
OH NO, WE CRASHED :frowning: thread main on ./target/release/mobilecoind
Details: panicked at ‘Failed to download initial transactions: InvalidBlockReceived(“https://s3-us-west-1.amazonaws.com/mobilecoin.chain/node1.test.mobilecoin.com/00/00/00/00/00/00/00/0000000000000000.pb”, “prorobuf parse failed: WireError(UnexpectedWireType(WireTypeLengthDelimited))”)’, src/libcore/result.rs:1188:5
0: 0x55e6b74dfb49 - backtrace::backtrace::trace::h0b12bfacb9ba1e98
1: 0x55e6b74ddce5 - backtrace::capture::Backtrace::new::h804a4164c135b3d1
2: 0x55e6b715c8c7 - common::panic_handler::handle_panic::he93b7240b7ea4545
3: 0x55e6b715c839 - common::panic_handler::setup_panic_handler::{{closure}}::h52f37d0d5189ded9
4: 0x55e6b7506f80 - std::panicking::rust_panic_with_hook::h748222843c9136a2
at src/libstd/panicking.rs:475
5: 0x55e6b7506a5e - rust_begin_unwind
at src/libstd/panicking.rs:375
6: 0x55e6b7523e4e - core::panicking::panic_fmt::h28daaedf5bd7eef6
at src/libcore/panicking.rs:84
7: 0x55e6b7523f47 - core::result::unwrap_failed::hc936aea0e5f8bdac
at src/libcore/result.rs:1188
8: 0x55e6b69dba82 - mobilecoind::main::hdcdaf01d0d69b83d
9: 0x55e6b69fbfd3 - std::rt::lang_start::{{closure}}::h190c97d32acebd48
10: 0x55e6b75068f3 - std::rt::lang_start_internal::{{closure}}::ha966a90a2223d318
at src/libstd/rt.rs:52
std::panicking::try::do_call::h7048802f1f0056de
at src/libstd/panicking.rs:292
11: 0x55e6b750bbda - __rust_maybe_catch_panic
at src/libpanic_unwind/lib.rs:78
12: 0x55e6b7507340 - std::panicking::try::h3d7ba80ee84a3ede
at src/libstd/panicking.rs:270
std::panic::catch_unwind::h2f15a5533e64a496
at src/libstd/panic.rs:394
std::rt::lang_start_internal::h0e133c31a2e415aa
at src/libstd/rt.rs:51
13: 0x55e6b69dbfd2 - main
14: 0x7fbcbc205b97 - __libc_start_main
15: 0x55e6b696ee8a - _start
16: 0x0 -

2020-04-24 13:28:51.368022594 UTC CRIT thread main on ./target/release/mobilecoind panicked! panicked at ‘Failed to download initial transactions: InvalidBlockReceived(“https://s3-us-west-1.amazonaws.com/mobilecoin.chain/node1.test.mobilecoin.com/00/00/00/00/00/00/00/0000000000000000.pb”, “prorobuf parse failed: WireError(UnexpectedWireType(WireTypeLengthDelimited))”)’, src/libcore/result.rs:1188:5 0: 0x55e6b74dfb49 - backtrace::backtrace::trace::h0b12bfacb9ba1e98
1: 0x55e6b74ddce5 - backtrace::capture::Backtrace::new::h804a4164c135b3d1
2: 0x55e6b715c8c7 - common::panic_handler::handle_panic::he93b7240b7ea4545
3: 0x55e6b715c839 - common::panic_handler::setup_panic_handler::{{closure}}::h52f37d0d5189ded9
4: 0x55e6b7506f80 - std::panicking::rust_panic_with_hook::h748222843c9136a2
at src/libstd/panicking.rs:475
5: 0x55e6b7506a5e - rust_begin_unwind
at src/libstd/panicking.rs:375
6: 0x55e6b7523e4e - core::panicking::panic_fmt::h28daaedf5bd7eef6
at src/libcore/panicking.rs:84
7: 0x55e6b7523f47 - core::result::unwrap_failed::hc936aea0e5f8bdac
at src/libcore/result.rs:1188
8: 0x55e6b69dba82 - mobilecoind::main::hdcdaf01d0d69b83d
9: 0x55e6b69fbfd3 - std::rt::lang_start::{{closure}}::h190c97d32acebd48
10: 0x55e6b75068f3 - std::rt::lang_start_internal::{{closure}}::ha966a90a2223d318
at src/libstd/rt.rs:52
std::panicking::try::do_call::h7048802f1f0056de
at src/libstd/panicking.rs:292
11: 0x55e6b750bbda - __rust_maybe_catch_panic
at src/libpanic_unwind/lib.rs:78
12: 0x55e6b7507340 - std::panicking::try::h3d7ba80ee84a3ede
at src/libstd/panicking.rs:270
std::panic::catch_unwind::h2f15a5533e64a496
at src/libstd/panic.rs:394
std::rt::lang_start_internal::h0e133c31a2e415aa
at src/libstd/rt.rs:51
13: 0x55e6b69dbfd2 - main
14: 0x7fbcbc205b97 - __libc_start_main
15: 0x55e6b696ee8a - _start
16: 0x0 -
, mc.app: mobilecoind, mc.module: common::panic_handler, mc.src: common/src/panic_handler.rs:33

1 Like

LjmE6uWgKqg1HHJHBeQuwh4DTa3fJ3NKLnbDAwMbpVcnNuWRKyXUeWGa4ifRVnDEh6pehFPEtYSBvEfCekWYxhNqVLppdxZVaMaDuJEqs2DPBWREsXTh9HseSTWWCx2Drz6Td8h5GSnmMBHv9oR2nVUZrJbLfSKUwEfdC7KGAVLdavEvyQ4gECtuzvtreeartDxDCwbMvTSbWKzG8oiHa3Z7K6FgQdNA8yXDsB9ZqnLKPbR7YFNk2Lt5xCxkQvJJweLMp2uyDSdHFpWYw9Ho

I just sent payments to Josh and Sara

There’s a fun memo inside :wink:

2DGhCCVoUtARuTEW8PhWdQwZsjBVAx6tGPE253xstcDaPh5C2vDia6kYGhqpDiutb72NSSWVZ1FnhV2RU8oV2Bti8Tgvog9kuKedZem155MmodBzEQAuPBACcuHZvXVcURRRDNK92jHrN28NBBcQcTqdMExK2cR4RtxxU4

Sent a payment to you!

Hi All,

2yzYSmwGqvEJYK2kLyKw3scP2vNkf9Y3FMm7e6vf4sZQjWqWgxma5AtjwJDfa8tcccLYj36eWYR8YfzmjRijWiVEAgPseWMd8aHVQZ2JQJiVR9

Just sent you a payment!! Thanks for helping us test!!

1 Like

I have this RpcFailure error as well sometimes when starting the MobileCoin Testnet app (macOS).

It’s pretty random, after quitting and starting it again a couple of times, it opens correctly.

Where’s the log on macOS?

Hi ALL,
when LOG-In to Testnet and entering the masterkey, I always get: your balance now is 0 MOB After checking 1 minute later the balance: your balance now is 100 MOB After checking 2 minutes later the balance again: your balance now is 94.xxx MOB (this should be the correct balance). It takes around 2 minutes to sync in order to get the right BALANCE ! I experienced this since Friday (4/24/2020) everytime when logged-in to the Testnet. Any ideas why this occurs?

I’m runing out of my 100 mobilecoins.
Plz share some with me TY
M5e7G2VTTGfvpsQWBPGMsGNiTTBJBav9XZbL6A47wwxtv8jxn1sJMr1ES6h1GHRG2wiqFjKcxpe8HohdjMH86j2KgW6ZktekpXSePsNMATk6964DpHNoGL5Uombmabakef9NHTuarUtzWLWXYGsRz