core: remove lock in BlockChain.ExportN (#25254)
* Remove locking in (*BlockChain).ExportN
Since ExportN is read-only, it shouldn't need the lock. (?)
* Add hash check to detect reorgs during export.
* fix check order
* Update blockchain.go
* Update blockchain.go
Co-authored-by:
rjl493456442 <garyrong0905@gmail.com>
Showing
Please register or sign in to comment