I’m running zcashd on linux, and my node is fully synced now, however I attempted to send a transaction while it was still catching up and may have gotten myself into a bad state. My goal is to send from my local t-addr to a t-addr in another wallet (that I also control).
First, I tried using the stardard bitcoid rpc call:
$ zcash-cli sendtoaddress $TARGET 0.01
This returned me a tx id, let’s call it $TXID0
. However, after waiting quite a while, it didn’t show up in my other wallet, and I can’t see any evidence of it on explorer.zcha.in. I have since restarted the daemon with -rescan, and now if I try zcash-cli gettransaction $TXID0
, it returns a valid tx, but it seems like that tx never broadcasted? I used the default fee, and this is a small test transaction, so maybe that’s why?
Then I read on another forum post that sendtoaddress
is deprecated, so I tried again using:
$ zcash-cli z_sendmany $MY_T_ADDR [{“address”: “$TARGET”, “amount”: 0.01}]
This returned me an opid, lets call id $OPID0
. Then, getting the result of that opid returned me a new tx, $TXID1
. Now, some 30 minutes later, I still don’t see either tx on the chain, and my new wallet doesn’t collect the coins. I also see a “wallet conflict”, possibly because I generated two conflicting tx’s with the same wallet. Am I screwed? Here’s what I get now, locally (replacing the raw tx ids and addresses with my varaibles):
$ zcash-cli gettransaction "$TXID0"
{
"amount": -0.01000000,
"fee": -0.00000226,
"confirmations": -1,
"txid": "$TXID0",
"walletconflicts": [
"$TXID1"
],
"time": 1498188267,
"timereceived": 1498188267,
"comment": "$MY_COMMENT",
"vjoinsplit": [
],
"details": [
{
"account": "",
"address": "$TARGET",
"category": "send",
"amount": -0.01000000,
"vout": 0,
"fee": -0.00000226,
"size": 226
}
],
"hex": "<CUT>"
}
$
$ zcash-cli gettransaction "$TXID1"
{
"amount": -0.01000000,
"fee": -0.00010000,
"confirmations": 0,
"txid": "$TXID1",
"walletconflicts": [
"$TXID0"
],
"time": 1498188267,
"timereceived": 1498232267,
"comment": "$MY_COMMENT",
"vjoinsplit": [
],
"details": [
{
"account": "",
"address": "$TARGET",
"category": "send",
"amount": -0.01000000,
"vout": 0,
"fee": -0.00010000,
"size": 225
}
],
"hex": "<CUT>"
}
I am connected to the network an have peers. What did I do wrong?
Thanks in advance!