Commit Graph

  • 061cef8d7e [NOD-541] Fix TestChainHeight Ori Newman 2020-01-01 19:38:13 +02:00
  • bf0fbe09f7 [NOD-541] Remove params from PrepareBlockForTest Ori Newman 2020-01-01 19:38:01 +02:00
  • 5c551b1a94 [NOD-541] Rename isAncestorOf -> isAncestorOfBlueCandidate Ori Newman 2020-01-01 19:09:25 +02:00
  • c15aeeafd5 [NOD-541] Use adjusted time for initializing blockNode Ori Newman 2020-01-01 19:08:15 +02:00
  • 17df2089b4 [NOD-541] Add comments Ori Newman 2020-01-01 19:05:38 +02:00
  • 163c2566c3 [NOD-541] add test for ghostdag Ori Newman 2020-01-01 19:01:37 +02:00
  • e8ac7752ba [NOD-541] Add non-selected parents to anticoneHeap Ori Newman 2020-01-01 18:48:05 +02:00
  • 178560216b [NOD-541] Remove redundant forceTransactions arguments from PrepareBlockForTEST Ori Newman 2020-01-01 18:47:33 +02:00
  • 3adf30e07d [NOD-541] Assign to selectedParentAnticone[i] instead of appending Ori Newman 2020-01-01 16:33:34 +02:00
  • a328fe664a Merge remote-tracking branch 'origin/nod-497-ghostdag' into nod-541-implement-ghostdag Ori Newman 2020-01-01 16:18:15 +02:00
  • f7f8c5bab3 [NOD-541] Make PrepareBlockForTest in blockdag package Ori Newman 2020-01-01 16:17:59 +02:00
  • fb63f074c3 [NOD-420] Move delayed block addition to process block Dan Aharoni 2020-01-01 15:01:50 +02:00
  • 9f118a061a [NOD-541] Make PrepareBlockForTest in blockdag package Ori Newman 2020-01-01 13:59:36 +02:00
  • 5984bd5d10 [NOD-541] Fix ghostdag comment Ori Newman 2020-01-01 13:43:24 +02:00
  • a49faae728 [NOD-540] Fix object references in reachabilityData deserialization (#563) stasatdaglabs 2020-01-01 13:35:49 +02:00
  • 182a9bbdb5 [NOD-540] Preallocate futureCoveringSet. stasatdaglabs 2020-01-01 10:44:10 +02:00
  • 8168ae3143 Merge remote-tracking branch 'origin/master' into nod-517-doc-go stasatdaglabs 2020-01-01 09:59:25 +02:00
  • 5080997aa8 [NOD-541] Fix misrefernces to TestChainUpdates Ori Newman 2019-12-31 18:27:01 +02:00
  • 40c580d67e [NOD-541] In selectedParentAnticone rename past->selectedParentPast Ori Newman 2019-12-31 18:08:30 +02:00
  • ae4ec9dc1f [NOD-541] Add comment to ghostdag Ori Newman 2019-12-31 18:02:51 +02:00
  • dc78cc9b0a [NOD-540] Use NewHash instead of SetBytes. Rename data to destination. stasatdaglabs 2019-12-31 16:31:53 +02:00
  • 6099ce56bd [NOD-5] Remove TestFullBlocks and package fullblocktests (#564) stasatdaglabs 2019-12-31 16:16:10 +02:00
  • 56fe5621fe [NOD-420] Trigger process delayed blocks only in process block Dan Aharoni 2019-12-31 16:16:04 +02:00
  • fac65d811f [NOD-540] Remove redundant assignment to loaded[hash]. stasatdaglabs 2019-12-31 16:13:23 +02:00
  • fa36fe8767 [NOD-540] Don't deserialize on the first pass in reachabilityStore.init(). stasatdaglabs 2019-12-31 16:11:36 +02:00
  • f88a287566 [NOD-420] Implement peek method for delayed block heap. extract delayed block processing to another function. Dan Aharoni 2019-12-31 16:00:14 +02:00
  • 2b98718487 [NOD-5] Remove TestFullBlocks and package fullblocktests stasatdaglabs 2019-12-31 14:33:49 +02:00
  • 1eb92cc5b3 [NOD-541] Add missing space Ori Newman 2019-12-31 13:35:00 +02:00
  • ed5d32d322 [NOD-541] Split k-cluster violation rules Ori Newman 2019-12-31 13:12:12 +02:00
  • e9b2ecd0bf [NOD-541] fix ghostdag to return slice Ori Newman 2019-12-31 13:02:43 +02:00
  • 2aaaf25c3c [NOD-540] Fix broken references in futureCoveringSet deserialization. Also add comments. stasatdaglabs 2019-12-31 12:54:22 +02:00
  • 6c02935330 [NOD-540] Fix broken references in deserialization. stasatdaglabs 2019-12-31 12:39:37 +02:00
  • ad1067361d [NOD-541] name ghostdag return values Ori Newman 2019-12-31 11:29:59 +02:00
  • f7d5c8d04d [NOD-541] In blueAnticoneSize change node->current Ori Newman 2019-12-31 11:27:56 +02:00
  • 9a8a5ab67a [NOD-541] Writing TestGHOSTDAG Ori Newman 2019-12-31 11:21:37 +02:00
  • e0b5c145f7 [NOD-543] Added dnsseeds to testnet and mainnet (#562) Svarog 2019-12-31 10:57:43 +02:00
  • cf37f733ef [NOD-601] Omit nil selected parent in GetBlockVerboseResult (#561) Ori Newman 2019-12-30 18:44:17 +02:00
  • 7979fba727 [NOD-601] Omit nil selected parent in GetBlockVerboseResult Ori Newman 2019-12-30 18:02:01 +02:00
  • a567d6110f [NOD-541] Fix test names in inner strings Ori Newman 2019-12-30 17:55:47 +02:00
  • 1ad6c1fd90 [NOD-541] Fix GHOSTDAG to not count the new block and the blue candidates anticone, add selected parent to blues, and save to node.bluesAnticoneSizes properly Ori Newman 2019-12-30 17:48:57 +02:00
  • 7e2e1a40f1 [NOD-541] Add serialization logic to node.bluesAnticoneSizes Ori Newman 2019-12-30 17:46:13 +02:00
  • efe9409f30 [NOD-541] Fix pastUTXO and applyBlueBlocks blues order Ori Newman 2019-12-30 17:45:41 +02:00
  • 481d75abaa [NOD-541] Initialize node.bluesAnticoneSizes Ori Newman 2019-12-30 17:42:49 +02:00
  • df1edaefcc [NOD-541] Fix blueAnticoneSize Ori Newman 2019-12-30 13:38:36 +02:00
  • bec863c724 [NOD-420] Log error message Dan Aharoni 2019-12-30 13:01:33 +02:00
  • ae5ab82ed3 [NOD-517] Add a copyright notice to the main doc.go. stasatdaglabs 2019-12-30 12:20:27 +02:00
  • 0194b19386 [NOD-420] Add comment Dan Aharoni 2019-12-30 12:20:10 +02:00
  • 5b9cc3fecd [NOD-541] Move dag.updateReachability to the top of dag.applyDAGChanges to update reachability before the virtual block is updated Ori Newman 2019-12-30 12:18:19 +02:00
  • 6df26439cb [NOD-541] Replace the old PHANTOM variant with GHOSTDAG Ori Newman 2019-12-30 12:16:56 +02:00
  • a93dfce0cc [NOD-543] Added dnsseeds to testnet and mainnet Mike Zak 2019-12-30 12:15:45 +02:00
  • 32f4338266 [NOD-420] Fix process blocks loop Dan Aharoni 2019-12-30 12:12:15 +02:00
  • d64f704142 [NOD-517] Fix indentation. stasatdaglabs 2019-12-30 11:51:41 +02:00
  • 93c1b71bfa Merge remote-tracking branch 'origin/master' into nod-517-doc-go stasatdaglabs 2019-12-30 11:49:29 +02:00
  • 4e75162049 [NOD-517] Update doc.go in wire. stasatdaglabs 2019-12-30 11:39:33 +02:00
  • eaca62a266 [NOD-517] Update doc.go in txsort. stasatdaglabs 2019-12-30 11:32:42 +02:00
  • a6d2d4fd53 [NOD-517] Update doc.go in bech32. stasatdaglabs 2019-12-30 11:26:45 +02:00
  • 82a51b1ec2 [NOD-517] Update doc.go in base58. stasatdaglabs 2019-12-30 11:24:43 +02:00
  • be43a2cd2b [NOD-517] Update doc.go in util. stasatdaglabs 2019-12-30 11:19:45 +02:00
  • ba32c8ba1d [NOD-541] Implement GHOSTDAG Ori Newman 2019-12-29 15:49:19 +02:00
  • aba999d94e [NOD-420] Update debug log Dan Aharoni 2019-12-30 11:16:07 +02:00
  • 760ff784de [NOD-420] Add delayed blocks heap sorted by their process time so we could process them in order. Dan Aharoni 2019-12-30 11:12:23 +02:00
  • 9ae17ffd44 [NOD-517] Update doc.go in txscript. stasatdaglabs 2019-12-30 11:07:45 +02:00
  • b644e7c2d1 [NOD-517] Update doc.go in rpcclient. stasatdaglabs 2019-12-30 10:37:57 +02:00
  • 7320b50116 [NOD-540] Implement reachability (#545) stasatdaglabs 2019-12-29 14:32:39 +02:00
  • 66a92a243c [NOD-591] Add selected parent to GetBlockVerboseResult (#558) Ori Newman 2019-12-29 12:46:35 +02:00
  • c9bbce4e21 [NOD-540] Rename splitExponential to splitWithExponentialBias. stasatdaglabs 2019-12-29 12:37:14 +02:00
  • 9ee5c381f4 [NOD-591] Add selected parent to GetBlockHeaderResult Ori Newman 2019-12-29 12:35:57 +02:00
  • 6439cb1f05 [NOD-540] Rename addTreeNode to setTreeNode. stasatdaglabs 2019-12-29 12:35:13 +02:00
  • 2234d5809b [NOD-517] Updated doc.go in peer. stasatdaglabs 2019-12-29 12:28:21 +02:00
  • 479cdd44d2 [NOD-540] Added further comments above futureCoveringBlockSet. stasatdaglabs 2019-12-29 11:52:46 +02:00
  • a1faa4dd80 [NOD-540] Fixed a comment about float precision loss to exponentialFractions some more. stasatdaglabs 2019-12-29 11:16:58 +02:00
  • 791621423e [NOD-540] Corrected a comment about float precision loss to exponentialFractions. stasatdaglabs 2019-12-29 11:16:19 +02:00
  • e5e7a046c5 [NOD-591] Add selected parent to GetBlockVerboseResult Ori Newman 2019-12-29 11:15:58 +02:00
  • 96e1c58a48 [NOD-540] Add a comment about float precision loss to exponentialFractions. stasatdaglabs 2019-12-29 11:14:34 +02:00
  • 4a88eea57e [NOD-590] Export newLogClosure (#557) Ori Newman 2019-12-26 18:26:22 +02:00
  • e1527b7d77 [NOD-540] Split the function signature for deserializeReachabilityData to two lines. stasatdaglabs 2019-12-26 18:09:23 +02:00
  • 81717d92ae [NOD-540] Explain the dirty hack in reachabilityStore.init(). stasatdaglabs 2019-12-26 18:08:17 +02:00
  • cbf00a9aed [NOD-540] Add call to reachabilityStore.clearDirtyEntries at the end of saveChangesFromBlock. stasatdaglabs 2019-12-26 17:59:15 +02:00
  • a58c619a95 [NOD-540] Rename bisect to findIndex. stasatdaglabs 2019-12-26 17:57:24 +02:00
  • 1329288ebb [NOD-540] Extract exponentialFractions to a separate function. stasatdaglabs 2019-12-26 17:51:57 +02:00
  • bdfcbf7b5a [NOD-590] Export newLogClosure Ori Newman 2019-12-26 17:40:34 +02:00
  • e70938cafd [NOD-540] Rename split to splitExponential. stasatdaglabs 2019-12-26 17:30:45 +02:00
  • afb670b6aa [NOD-540] Replace sneaky tabs with spaces. stasatdaglabs 2019-12-26 17:29:09 +02:00
  • 45507a28bf [NOD-540] Add a comment about rounding to splitFraction. stasatdaglabs 2019-12-26 17:28:01 +02:00
  • 0bfa7577cc [NOD-540] Make splitFraction return an error on empty interval. stasatdaglabs 2019-12-26 17:18:59 +02:00
  • 153c17c17f [NOD-540] Add whitespace after multiline function signatures in reachability.go. stasatdaglabs 2019-12-26 17:11:50 +02:00
  • 9e0d2626f1 [NOD-540] Move updateReachability and isAncestorOf from dag.go to reachability.go. stasatdaglabs 2019-12-26 17:10:16 +02:00
  • af669d66c1 [NOD-540] Rename node to this. stasatdaglabs 2019-12-26 17:09:05 +02:00
  • 651ef35e41 [NOD-540] Extracted selectedParentAnticone to a separate function. stasatdaglabs 2019-12-26 17:05:26 +02:00
  • f76658119e [NOD-540] Rename setTreeNode to addTreeNode. stasatdaglabs 2019-12-26 16:20:58 +02:00
  • ed80c5494a [NOD-540] Rename thisTreeNode to newTreeNode. stasatdaglabs 2019-12-26 16:20:27 +02:00
  • a2dd46dfa2 [NOD-517] Update doc.go in mempool. stasatdaglabs 2019-12-26 16:19:04 +02:00
  • 6ed9315b4d [NOD-517] Removed superfluous license in logs. stasatdaglabs 2019-12-26 16:06:06 +02:00
  • 36755c29d0 [NOD-517] Update doc.go in rpctest. stasatdaglabs 2019-12-26 15:56:57 +02:00
  • 72c7b8df59 [NOD-517] Update doc.go in ecc. stasatdaglabs 2019-12-26 15:55:56 +02:00
  • 39645013d6 [NOD-517] Update doc.go in database. stasatdaglabs 2019-12-26 15:52:47 +02:00
  • b5d05775c0 [NOD-517] Update doc.go in fullblocktests. stasatdaglabs 2019-12-26 15:49:48 +02:00
  • 80ba7ee415 [NOD-517] Update doc.go in connmgr. stasatdaglabs 2019-12-26 15:48:10 +02:00
  • a9ef062e8b [NOD-540] Use sync.RWMutex instead of locks.PriorityMutex. stasatdaglabs 2019-12-26 15:39:26 +02:00
  • a47bee9257 [NOD-540] Make reachabilityTreeNode.String() use strings.Join. stasatdaglabs 2019-12-26 15:32:46 +02:00