Баланс биткойн-кли минконф

Когда я использую getbalanceкоманду в bitcoin-cli и устанавливаю minconfзначение 1. Будут ли отображаться биткойны с 1 подтверждением и более? Если это правда, какое количество подтверждений сделает транзакцию безопасной, но при этом быстрой?

Ответы (1)

Чтобы ответить на ваш вопрос, да , при настройке minconfна 1будет отображаться баланс вашего кошелька, который суммируется путем объединения транзакций в вашем кошельке, имеющих минимальное 1подтверждение сети.

Ваш второстепенный вопрос на самом деле является вопросом баланса между безопасностью ваших транзакций и скоростью, с которой вы хотите тратить свои средства, потому что ожидание, скажем, 2 сетевых подтверждений будет быстрее (~ 20 минут), но не будет подтверждено достаточно долго. в цепочке блоков, чтобы транзакция была «безопасной».

По сути, это форма «атаки 50 процентов»:

An attacker that controls more than 50% of the network's computing power can, for the time that he is in control, exclude and modify the ordering of transactions. This allows him to:

Reverse transactions that he sends while he's in control. This has the potential to double-spend transactions that previously had already been seen in the block chain.
Prevent some or all transactions from gaining any confirmations
Prevent some or all other miners from mining any valid blocks

The attacker can't:

Reverse other people's transactions
Prevent transactions from being sent at all (they'll show as 0/unconfirmed)
Change the number of coins generated per block
Create coins out of thin air
Send coins that never belonged to him

With less than 50%, the same kind of attacks are possible, but with less than 100% rate of success. For example, someone with only 40% of the network computing power can overcome a 6-deep confirmed transaction with a 50% success rate.

It's much more difficult to change historical blocks, and it becomes exponentially more difficult the further back you go. As above, changing historical blocks only allows you to exclude and change the ordering of transactions. It's impossible to change blocks created before the last checkpoint.

Since this attack doesn't permit all that much power over the network, it is expected that no one will attempt it. A profit-seeking person will always gain more by just following the rules, and even someone trying to destroy the system will probably find other attacks more attractive. However, if this attack is successfully executed, it will be difficult or impossible to "untangle" the mess created -- any changes the attacker makes might become permanent. 

Вышеприведенное взято с https://en.bitcoin.it/wiki/Weaknesses .

Надеюсь это поможет

Спасибо. Но я не думаю, что кто-то хочет использовать его силу, чтобы заблокировать транзакцию на сумму менее 1 биткойна. Так что я думаю, что я в безопасности с 4 подтверждениями.