diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-06-30 17:14:43 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-06-30 17:14:43 +0800 |
commit | d8fe64acaa94fc5a12e53cec110e57cace52ced9 (patch) | |
tree | 0ecce1385d1ed0e60ba69e8bc1234109c6c09b28 /generators | |
parent | 7625b07dd9a2a7b5c5a504c1276eea04596ac871 (diff) | |
download | dexon-d8fe64acaa94fc5a12e53cec110e57cace52ced9.tar.gz dexon-d8fe64acaa94fc5a12e53cec110e57cace52ced9.tar.zst dexon-d8fe64acaa94fc5a12e53cec110e57cace52ced9.zip |
core, miner: added queued write to WriteBlock
This fixes an issue with the lru cache not being available when calling
WriteBlock. WriteBlock previously always assumed to be called from the
InsertChain where the lru cache was always created prior to calling
WriteBlock. When being called from the worker this could lead in to a
nil pointer exception being thrown and causing database corruption.
Diffstat (limited to 'generators')
0 files changed, 0 insertions, 0 deletions