BreezeHub / BreezeProject

Breeze Masternode and Wallet with Breeze Privacy Protocol
MIT License
29 stars 20 forks source link

Stop tumbling when there is not enough peers #123

Closed fshutdown closed 6 years ago

fshutdown commented 6 years ago

When the node looses a connection to the bitcoin peers in the Payment Phase it might fail to broadcast TumblerCashout transaction before the Bob's escrow timelock. In that case the masternode will "steel" bob's money. In order to address this the node will confirm that it has at least 4 peers on the bitcoin network before engaging in the final payment phase with the masternode.