How many confirmations will Bitcoin core wait before I can send my coins out?

0

Using Bitcoin core 0.14, how many confirmations do I have to wait before I can send the coins out?

Is there a method to wait X confirmations before sending coins out from specific addresses that have less than X confirmations?

Patoshi パトシ

Posted 2017-03-29T20:18:39.813

Reputation: 8 911

Answers

1

Using Bitcoin core 0.14, how many confirmations do I have to wait before I can send the coins out?

Bitcoin Core will let you spend received money after 1 confirmation, and let you spend change (money leftover from a transaction you sent yourself) without confirmations.

If possible, it prefers using coins that have 6 confirmations.

Is there a method to wait X confirmations before sending coins out from specific addresses that have less than X confirmations?

You'll have to do that manually, using listunspent and createrawtransaction.

Pieter Wuille

Posted 2017-03-29T20:18:39.813

Reputation: 54 032

seems to me that one is not enoughPavel Niedoba 2018-12-06T15:21:22.427

is this configurable anywhere (bitcoin.conf?)Pavel Niedoba 2018-12-06T15:21:54.423

No, there is no configuration option for this.Pieter Wuille 2018-12-06T16:17:27.990

I tried it again and it appears that 2 confirmations is needed. Counting moment transaction appears in mined block as first confirmation.Pavel Niedoba 2018-12-07T10:35:22.240

1

Minimum 1 confirmation needed to send Bitcoin fromaccount to address.

Example : bitcoin-cli sendfrom fromaccount tobitcoinaddress amount [minconf=1] [comment] [comment-to]

Reference: https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list

Saddam Husen

Posted 2017-03-29T20:18:39.813

Reputation: 11

Note that the account system in bitcoin core is deprecated, including sendfromMeshCollider 2017-09-30T01:26:14.390

0

do I have to wait before I can send the coins out?

no

Is there a method to wait X confirmations

yes. there is CSV opcode. you can create p2sh-address for yourself and can not spend from it before several confirmations of any incoming funds. but ask yourself what a reason for such restricts?

amaclin

Posted 2017-03-29T20:18:39.813

Reputation: 5 763

0

Your transaction would be added to block and broadcasted to other nodes if in miner's blockchain that btc belongs to you. Otherwise, there is no waiting time.

But if you are trying to spend a coinbase transaction (reward mined), you will have to wait for 100 confirmations.

Piyush Chittara

Posted 2017-03-29T20:18:39.813

Reputation: 87