Branch: refs/heads/master
Home: https://github.com/conformal/btcwallet
Commit: 830829a79f398ecfbec72f85fe5c879c02ad3da4
https://github.com/conformal/btcwallet/commit/830829a79f398ecfbec72f85fe5c879c02ad3da4
Author: Josh Rickmar <[email protected]>
Date: 2014-01-23 (Thu, 23 Jan 2014)
Changed paths:
M account.go
M accountstore.go
M btcdrpc.go
Log Message:
-----------
Add dirty wallets to disc sync schedule.
There were several places where various account files (wallet, tx, or
utxo stores) were being marked as dirty, and then not being either
immediately synced to disk or marked as a dirty account so they would
be scheduled to be synced to disk. This change adds Account functions
to mark as dirty and add the account to the map of scheduled accounts
so they won't be missed by the disk syncer goroutine.