stasatdaglabs
|
79a0c1f124
|
[DEV-43] Change UTXOViewpoint.BestHash() to Tips() and update all related logic (#15)
* [DEV-43] Changed BestHash to Tips, fixed logic inside utxoviewpoint.go.
* [DEV-43] Fixed broken references.
* [DEV-43] Replaced blockNode slices and hash slices with BlockSets.
* [DEV-43] Did some renaming, unexported blockSet, and rewrote AppendTip as AddBlock.
* [DEV-43] Removed explicit contains check from AddBlock.
|
2018-07-01 15:52:56 +03:00 |
|
Stas Boutenko
|
935a286413
|
[DEV-34] Added SelectedTip() to chainView.
|
2018-06-26 13:00:15 +03:00 |
|
Stas Boutenko
|
fdeb87bb99
|
[DEV-34] Added SelectedPrevBlock() to BlockHeader.
|
2018-06-26 12:44:38 +03:00 |
|
Stas Boutenko
|
a289b72980
|
[DEV-34] Added selectedParent to blockNode.
|
2018-06-26 12:19:05 +03:00 |
|
Stas Boutenko
|
328fab0231
|
[DEV-34] Changed chainView.Tip() to chainView.Tips().
|
2018-06-24 13:40:28 +03:00 |
|
Stas Boutenko
|
57e7ad1287
|
[DEV-34] In blockNode, made parents a pointer slice, got rid of numPrevHashes, and extracted a lookupPreviousNodes function. Changed c-style loops to range loops.
|
2018-06-24 13:17:43 +03:00 |
|
Stas Boutenko
|
b0d766b7ab
|
[DEV-34] Made a bunch of modifications just to satisfy the compiler.
|
2018-06-24 11:37:31 +03:00 |
|
Stas Boutenko
|
a26fd21ae7
|
[DEV-32] Renamed chaincfg to dagconfig and chainhash to daghash.
|
2018-06-19 18:19:54 +03:00 |
|
Stas Boutenko
|
6d64421965
|
[DEV-26] Renamed package blockchain to blockdag.
|
2018-06-17 18:46:47 +03:00 |
|