0

I understand that one can use a node to ensure that transactions have been confirmed. If I sent bitcoin from my wallet to a friend living in another country, how can I use the command line on the Bitcore Core software to confirm that my transaction was confirmed by the bitcoin protocol and was received by my friend?

1 Answer 1

2

bitcoin-cli gettransaction {txid} will tell you the number of confirmations.

If the number of confirmations is greater than zero, the recipient has received the money. Even if their wallet is on a device that is turned off. Even if their wallet has been deleted. Recipients play no role in receiving money. There is no time between confirmation and arrival of money.

Sometimes recipients don't yet know they have received money because their wallets have not yet found out they have received money. Nevertheless, they have already received money. It is under their control and no-one else's.

See answer to

1
  • Is the gettransaction method mentioned above conditional on me enabling the txindex=1? Otherwise, I think it only works as long as I used Bitcoin Core as my wallet, no? May 18, 2022 at 18:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.