Bitcoin Forum
May 11, 2024, 07:05:32 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoin-cli sendtoaddress showing invalid bitcoin address error-5  (Read 591 times)
insmishr03 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
June 23, 2017, 05:21:18 AM
 #1

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
1715411132
Hero Member
*
Offline Offline

Posts: 1715411132

View Profile Personal Message (Offline)

Ignore
1715411132
Reply with quote  #2

1715411132
Report to moderator
1715411132
Hero Member
*
Offline Offline

Posts: 1715411132

View Profile Personal Message (Offline)

Ignore
1715411132
Reply with quote  #2

1715411132
Report to moderator
1715411132
Hero Member
*
Offline Offline

Posts: 1715411132

View Profile Personal Message (Offline)

Ignore
1715411132
Reply with quote  #2

1715411132
Report to moderator
"The nature of Bitcoin is such that once version 0.1 was released, the core design was set in stone for the rest of its lifetime." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715411132
Hero Member
*
Offline Offline

Posts: 1715411132

View Profile Personal Message (Offline)

Ignore
1715411132
Reply with quote  #2

1715411132
Report to moderator
1715411132
Hero Member
*
Offline Offline

Posts: 1715411132

View Profile Personal Message (Offline)

Ignore
1715411132
Reply with quote  #2

1715411132
Report to moderator
1715411132
Hero Member
*
Offline Offline

Posts: 1715411132

View Profile Personal Message (Offline)

Ignore
1715411132
Reply with quote  #2

1715411132
Report to moderator
ranochigo
Legendary
*
Online Online

Activity: 2968
Merit: 4178



View Profile
June 23, 2017, 05:26:34 AM
 #2

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.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
insmishr03 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
June 23, 2017, 06:59:26 AM
 #3

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?
ranochigo
Legendary
*
Online Online

Activity: 2968
Merit: 4178



View Profile
June 23, 2017, 09:13:09 AM
 #4

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.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
June 23, 2017, 04:14:14 PM
 #5

- snip -
although i have many bitcoin.
- snip -

Are you sure?  How do you know?
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
June 24, 2017, 10:49:08 AM
 #6

my address is 17RTTUAiiPqUTKtEggJPec8RxLMi2n9EZ9
Are you sure about that? That is the bitcointalk forums donation address:

Donate to the Bitcoin Forum

Donation address: 17RTTUAiiPqUTKtEggJPec8RxLMi2n9EZ9

What exactly are you trying to do? Huh

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!