mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00

* [DEV-36] Fixed import.go. * [DEV-65] Renamed BestState to State and GetSnapshot to GetCurrentState. * [DEV-65] Implemented State and SelectedTip, updated dagState (the serializable version of State), and updated State creations. * [DEV-65] Fixed references to GetCurrentState and fixed tests. * [DEV-40] Created a new method AreEquals for comparing hash slices. Updated mining package to work with primitive DAG. * [DEV-65] Renamed State to DAGState, corrected comments, created a new thread-safe method setDAGState, fixed broken references I missed. * [DEV-65] Converted dagState (the object) to dbDAGState, and made it serialize/deserialize into/out of JSON. * [DEV-65] Renamed Txns to Txs and fixed a couple of comments. * [DEV-65] Renamed some more "Txns" and removed some dead code. * [DEV-36] Fixed findcheckpoint.go. * [DEV-36] Fixed indentation. * [DEV-36] Fixed weird phrasing. * [DEV-36] Fixed some more weird phrasing. * [DEV-36] Removed haveBlocks variable from the function HaveBlocks.