Title: bitcoin-cli sendtoaddress showing invalid bitcoin address error-5 Post by: insmishr03 on June 23, 2017, 05:21:18 AM i want to send bitcoin to my wallet but while sending by raw transaction it is showing invalid bitcoin address error-5 and my bitcoin core wallet not synced it.
command using: bitcoin-cli -testnet sendtoaddress NEW_ADDRESS 2.0 also, i am trying bitcoin-cli -regtest createrawtransaction ''' [ { "txid": "'$UTXO_TXID'", "vout": '$UTXO_VOUT' } ] ''' ''' { "'$NEW_ADDRESS'": 2.00000000 }''' I checked the address in blockchain it's showing valid address my address is 17RTTUAiiPqUTKtEggJPec8RxLMi2n9EZ9 Title: Re: bitcoin-cli sendtoaddress showing invalid bitcoin address error-5 Post by: ranochigo on June 23, 2017, 05:26:34 AM You are passing a -testnet argument to Bitcoin-cli. Testnet addresses doesn't start with 1, it starts with m.
If you are trying to send Bitcoins on mainnet, your command should be Code: bitcoin-cli sendtoaddress 17RTTUAiiPqUTKtEggJPec8RxLMi2n9EZ9 2 You probably do not own 17RTTUAiiPqUTKtEggJPec8RxLMi2n9EZ9 so it will not work. Title: Re: bitcoin-cli sendtoaddress showing invalid bitcoin address error-5 Post by: insmishr03 on June 23, 2017, 06:59:26 AM Thanks for your reply.the problem has gone.but now new problem arise. it is showing insufficient fund, error code-6.although i have many bitcoin.bitcoin core wallet is middle of the synchronization.is this the problem?
Title: Re: bitcoin-cli sendtoaddress showing invalid bitcoin address error-5 Post by: ranochigo on June 23, 2017, 09:13:09 AM Thanks for your reply.the problem has gone.but now new problem arise. it is showing insufficient fund, error code-6.although i have many bitcoin.bitcoin core wallet is middle of the synchronization.is this the problem? Possibly, Bitcoin Core will only recognise coins received when it is synchronized beyond the date which the transaction was sent.Are you sending to or from 17RTTUAiiPqUTKtEggJPec8RxLMi2n9EZ9? If your address is 17RTTUAiiPqUTKtEggJPec8RxLMi2n9EZ9, you likely don't have any funds. Title: Re: bitcoin-cli sendtoaddress showing invalid bitcoin address error-5 Post by: DannyHamilton on June 23, 2017, 04:14:14 PM - snip - although i have many bitcoin. - snip - Are you sure? How do you know? Title: Re: bitcoin-cli sendtoaddress showing invalid bitcoin address error-5 Post by: HCP on June 24, 2017, 10:49:08 AM my address is 17RTTUAiiPqUTKtEggJPec8RxLMi2n9EZ9 Are you sure about that? That is the bitcointalk forums donation address (https://bitcointalk.org/donate.html):Quote from: https://bitcointalk.org/donate.html Donate to the Bitcoin Forum Donation address: 17RTTUAiiPqUTKtEggJPec8RxLMi2n9EZ9 What exactly are you trying to do? ??? |