Are bitcoin commands resistant to race conditions and thread-safe?

1

Is concurrency a problem for commands like sendfrom,move,sendmany etc.? I suppose everything is fine after skimming source code, but I want to be sure about that.

ripazha

Posted 2013-08-09T16:57:04.250

Reputation: 488

Answers

1

Yes. All these transactions do is create a new transaction (or move entry) in the wallet. Balances are always calculated on the fly (though partially cached) from the transaction list.

Pieter Wuille

Posted 2013-08-09T16:57:04.250

Reputation: 54 032

1You mean cached, not cashed ?ripazha 2013-08-13T07:30:35.737