Bitcoin core 0.19.1 RPC, 'sendtoaddress' not working! #18906

issue emonorg opened this issue on May 7, 2020
  1. emonorg commented at 4:48 PM on May 7, 2020: none

    Suppose this scenario:

    There are 2 wallets called wallet1 and wallet1 on the same node in testnet blockchain.

    wallet1 balance: 0.001 BTC

    wallet2 balance: 0 BTC

    I am trying to send 0.001 BTCs from wallet1 to wallet2; so I use the sendtoaddress command like this:

    bitcoin-cli -testnet -rpcwallet=wallet1 sendtoaddress <wallet2 address> 0.001 "" "" true.

    This gives me a txid which none of the blockchain explorers like live.blockcypher.com/btc-testnet can't recognize it!

    It deducts the coin from wallet1 and I don't know where does it go!?

    For solving this, I tried to get the transaction hex to broadcast it via some other platforms to check if the raw transaction is correct and it was OK and after broadcasting it via the other platform, blockchain explorers could detect the transaction id.

    Here are my question:

    1. Isn't just using sendtoaddress enough for sending coins?
    2. Why the broadcasting process doesn't complete on my node?

    Here is my bitcoin.conf:

    [test]
    prune=600
    blocksonly=1
    maxconnections=15
    testnet=1
    regtest=0
    
    deprecatedrpc=accounts
    deprecatedrpc=addwitnessaddress
    deprecatedrpc=signrawtransaction
    deprecatedrpc=validateaddress
    
    minrelaytxfee=0.0001
    maxmempool=200
    maxreceiverbuffer=2500
    maxsendbuffer=500
    dbcache=16000
    
    rpcbind=0.0.0.0
    rpcallowip=--
    
    rpcuser=--
    rpcpassword=--
    
    server=1
    rest=1
    daemon=1
    
    
  2. emonorg added the label Bug on May 7, 2020
  3. MarcoFalke commented at 10:38 PM on May 7, 2020: member

    Usually the issue tracker is used to track technical issues related to the Bitcoin Core code base. Keep in mind that general bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange or the #bitcoin IRC channel on freenode.

  4. MarcoFalke closed this on May 7, 2020

  5. DrahtBot locked this on Feb 15, 2022
Contributors
Labels

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-03 15:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me