mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-05-23 15:26:42 +00:00

* [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-40] Fixed formatting errors... * [DEV-40] Reworded confusing test failure messages. * [DEV-40] Fixed merge error. * [DEV-40] Fixed style for AreEqual and TestAreEqual.