Commit Graph

  • 62d14bf2bd [NOD-16] implement initial sync first version (#234) Ori Newman 2019-03-31 16:47:28 +03:00
  • 043f5da2f8 [NOD-16] Fixed syntax error Ori Newman 2019-03-31 16:43:01 +03:00
  • 083eeaf5b8 [NOD-83] create updateParentsDiffs function Ori Newman 2019-03-31 14:37:05 +03:00
  • 31a4c9a855 [NOD-76] Fix typos in comments Mike Zak 2019-03-31 14:33:11 +03:00
  • c8acad8a77 [NOD-83] Put updateParentsChildren inside updateParents Ori Newman 2019-03-31 14:06:12 +03:00
  • 6aa6bbd9c2 [NOD-82] Generated new cert and key files that include *.daglabs.com. stasatdaglabs 2019-03-31 14:00:04 +03:00
  • 287dcfc8d9 [NOD-16] Add pushSet to the BlockHeap type Ori Newman 2019-03-31 13:56:57 +03:00
  • 1d4b0b2260 Merge branch 'nod-16-implement-initial-sync-first-version' of https://github.com/daglabs/btcd into nod-16-implement-initial-sync-first-version Ori Newman 2019-03-31 13:51:37 +03:00
  • 1a7b884461 [NOD-76] Allow blocks that do not connect directly to all tips in CheckConnectBlockTemplate Mike Zak 2019-03-31 12:54:25 +03:00
  • 2d67f776e8 Merge remote-tracking branch 'origin/master' into nod-16-implement-initial-sync-first-version Ori Newman 2019-03-31 12:52:24 +03:00
  • 06f0a588ce [NOD-64] Commit before changing subnetwork IDS to new values Evgeny Khirin 2019-03-28 18:50:19 +02:00
  • d9758123c7 [NOD-83] Creating CheckConnectBlockTemplateWithLock with RLock Ori Newman 2019-03-28 17:01:21 +02:00
  • be31df50e1 Merge remote-tracking branch 'origin/master' into nod-83-modify-blocks-parents-children-only-after-validation Ori Newman 2019-03-28 16:40:45 +02:00
  • 644ff7a9ee [NOD-83] Modify block parents' children only after validation Ori Newman 2019-03-28 16:39:53 +02:00
  • 26472af783 [NOD-64] Intermediate commit: need check tests on master Evgeny Khirin 2019-03-28 16:32:04 +02:00
  • 1fe1b11823 [NOD-78] Make minning.NewBlockTemplate read-lock the dag, so that it's not modified while the function is running (#233) Svarog 2019-03-28 16:26:47 +02:00
  • e5430aaa78 [NOD-78] Revesed dagUnlocket to isDagLocked Mike Zak 2019-03-28 16:22:53 +02:00
  • 5f7db25fae [NOD-78] Renamed UTXORLock/UTXORUnlock to RLock/RUnlock Mike Zak 2019-03-28 16:05:32 +02:00
  • 445ee7e2d1 [NOD-78] Remove unused isLockHeld from CalcNextBlockVersion Mike Zak 2019-03-28 16:02:39 +02:00
  • 0c01b06b85 [NOD-82] Added RPC files to the BTCD Docker container. stasatdaglabs 2019-03-28 13:39:54 +02:00
  • 229e7bc7c8 [NOD-78] Removed locking from functions that are concurrency-safe, and added WithLock version to those that are not Mike Zak 2019-03-28 13:02:29 +02:00
  • c18f96308e [NOD-81] Start to mine on top of genesis iff all peers selected tip is genesis (#232) Ori Newman 2019-03-28 12:52:36 +02:00
  • 29f6b99af5 [NOD-81] Add forAllInboundPeers and add return values for forAllPeers/forAllOutboundPeers/forAllInboundPeers functions Ori Newman 2019-03-28 12:49:26 +02:00
  • 185a9b91ea [NOD-81] Explain forAllPeers/forAllOutboundPeers shouldContinue behaviour in comments Ori Newman 2019-03-28 12:27:59 +02:00
  • 96fe9ea5c0 [NOD-80] Request block data from block propagation just after you are… (#231) Ori Newman 2019-03-28 12:10:46 +02:00
  • dbef5e195f [NOD-80] Fix adding to both queues in addInvToRequestQueue Ori Newman 2019-03-27 15:08:44 +02:00
  • a4888191f0 [NOD-78] Make mining.NewBlockTemplate lock the dag up until the point it calls CheckConnectBlockTemplate Mike Zak 2019-03-28 11:20:30 +02:00
  • b7cfd5fe43 [NOD-78] Use transfer some read-only functions from dagLock.Lock to dagLock.RLock Mike Zak 2019-03-27 18:30:37 +02:00
  • 2660456415 [NOD-81] Start to mine on top of genesis only if all of your peers' selected tip is genesis Ori Newman 2019-03-27 14:55:19 +02:00
  • ae755a55e3 Merge remote-tracking branch 'origin/master' into nod-16-implement-initial-sync-first-version Ori Newman 2019-03-27 13:05:56 +02:00
  • 76987b4b4c [NOD-80] Request block data from block propagation just after you are current Ori Newman 2019-03-26 18:16:09 +02:00
  • dd3b693268 [NOD-77] Fix addrmanager behaviour when address's subnetworkID is in conflict with what is known (#230) Svarog 2019-03-26 16:50:43 +02:00
  • 6829c62cd6 [NOD-77] Fixd typo Mike Zak 2019-03-26 16:43:44 +02:00
  • 047a2c16c4 [NOD-70] Added mining simluator (#228) Svarog 2019-03-26 16:37:44 +02:00
  • 0f2f359b10 [NOD-70] Add '--' to tini argument Mike Zak 2019-03-26 16:32:49 +02:00
  • cf69f9c721 [NOD-77] Some corrections to comments Mike Zak 2019-03-26 16:30:14 +02:00
  • 3bd89a6f7f [NOD-77] Restructure case where ka.tried = true for more readable code Mike Zak 2019-03-26 15:38:38 +02:00
  • 1fcd5959aa [NOD-70] Cleaned up mining simulator dockerfile Mike Zak 2019-03-26 15:33:44 +02:00
  • 9bfe8cecbf [NOD-70] Move paths initialization of mining simulator to main Mike Zak 2019-03-26 15:22:18 +02:00
  • 01d7ae3c6a [NOD-70] Renamed r -> random Mike Zak 2019-03-26 15:20:00 +02:00
  • 871d8db034 [NOD-70] Remove error return from msgblock.AddTransaction - it never returns one Mike Zak 2019-03-26 15:18:09 +02:00
  • 04bbeeaa22 [NOD-77] Do not update subnetworkID in updateAddr if address already known Mike Zak 2019-03-26 13:28:25 +02:00
  • cd29c875c6 [NOD-77] AddrManager.Good now updates subnetwork in case it was modified Mike Zak 2019-03-26 11:03:01 +02:00
  • dc103f3d86 [NOD-54] Update DNS Seeder to work from within Docker containers. (#229) stasatdaglabs 2019-03-26 12:53:32 +02:00
  • 4914b32d3a Merge remote-tracking branch 'origin/master' into nod-54-dnsseeder stasatdaglabs 2019-03-26 12:10:38 +02:00
  • 34aec38694 [NOD-54] Removed reference to version.txt from the BTCD Dockerfile. stasatdaglabs 2019-03-26 12:09:34 +02:00
  • 4673a1d62f [NOD-70] Updated base config path of mining simulator to mining_simulator Mike Zak 2019-03-25 16:17:28 +02:00
  • 1f6ce2fd8a [NOD-70] Added dockerfile to mining simulator Mike Zak 2019-03-25 16:16:04 +02:00
  • bdefe28256 [NOD-70] cleaned up mining simulator Mike Zak 2019-03-25 15:51:28 +02:00
  • 94aaf3df10 [NOD-75] fixing netsync bugs (#227) Ori Newman 2019-03-25 15:49:25 +02:00
  • 7ee4f67abd Merge branch 'nod-16-implement-initial-sync-first-version' into nod-75-fixing-netsync-bugs Ori Newman 2019-03-25 15:19:56 +02:00
  • 66f1a4572e Merge branch 'nod-16-implement-initial-sync-first-version' of https://github.com/daglabs/btcd into nod-16-implement-initial-sync-first-version Ori Newman 2019-03-25 15:17:29 +02:00
  • 8d11bf5ae9 Merge remote-tracking branch 'origin/master' into nod-16-implement-initial-sync-first-version Ori Newman 2019-03-25 15:16:53 +02:00
  • ac3b9c11e9 Merge branch 'nod-16-implement-initial-sync-first-version' into nod-75-fixing-netsync-bugs Ori Newman 2019-03-25 15:16:43 +02:00
  • abf86c6a74 Merge remote-tracking branch 'origin/master' into nod-75-fixing-netsync-bugs Ori Newman 2019-03-25 14:47:31 +02:00
  • 6225728138 [NOD-79] Detach parents from block template node after CheckConnectBlockTemplate (#226) Ori Newman 2019-03-25 14:45:33 +02:00
  • cd94a199c1 [NOD-79] Fix typo Ori Newman 2019-03-25 14:40:18 +02:00
  • 75607a33a8 [NOD-79] Detach parents from block template node after CheckConnectBlockTemplate Ori Newman 2019-03-25 14:35:22 +02:00
  • 72df3cedbd [NOD-75] Fixing netsync bugs Ori Newman 2019-03-24 10:39:12 +02:00
  • dcbe4fc653 [NOD-70] Dirty version of mining simulator complete Mike Zak 2019-03-25 13:56:19 +02:00
  • 6edd6d2ef6 [NOD-70] Added capabilities parameter to Client.GetBlockTemplate call Mike Zak 2019-03-25 13:55:45 +02:00
  • 921f49c093 [NOD-70] Fix txFees in NewBlockTempalte: include value for fee transaction + don't set fee for coinbase = -totalFees. Mike Zak 2019-03-24 15:02:45 +02:00
  • 7eb107599f Merge remote-tracking branch 'origin/master' into nod-70-mining-simulator Mike Zak 2019-03-24 11:18:23 +02:00
  • fb243e912e [NOD-74] Starts syncing again when the current sync peer is done (#225) Ori Newman 2019-03-24 10:56:18 +02:00
  • 6ce7f8b6dc [NOD-74] Fix name isSyncPeerFree -> isWaitingForBlocks Ori Newman 2019-03-24 10:52:58 +02:00
  • 553f40bb48 Merge branch 'nod-16-implement-initial-sync-first-version' into nod-74-start-syncing-again-when-the-current-sync-peer-is-done Ori Newman 2019-03-24 10:45:14 +02:00
  • 6858d40903 Merge remote-tracking branch 'origin/master' into nod-16-implement-initial-sync-first-version Ori Newman 2019-03-24 10:41:34 +02:00
  • 0a30837aac [NOD-56] Lower mining difficulty as preparation for devnet (#223) Evgeny Khirin 2019-03-24 10:30:52 +02:00
  • 34b4419bb6 [NOD-74] Unlock mtx before netsync is restarted Ori Newman 2019-03-24 09:32:06 +02:00
  • 3d3eee9d3d [NOD-56] Created command line tool for solving genesis blocks Evgeny Khirin 2019-03-21 18:32:22 +02:00
  • bde0da5425 Merge remote-tracking branch 'origin/master' into nod-74-start-syncing-again-when-the-current-sync-peer-is-done Ori Newman 2019-03-21 16:32:03 +02:00
  • 6fd035dc64 [NOD-74] Starts syncing again when the current sync peer is done Ori Newman 2019-03-21 16:26:49 +02:00
  • bb3c1e36a2 [NOD-72] Fix nil errors in deserializePeers (#224) Svarog 2019-03-21 15:47:37 +02:00
  • 0dd53e5274 [NOD-72] Replicate the way I prettified triedBuckets code into newBuckets code Mike Zak 2019-03-21 15:43:19 +02:00
  • d2c9ad7f91 [NOD-54] Split entrypoint to CMD and ENTRYPOINT for docker-compose. stasatdaglabs 2019-03-21 15:39:25 +02:00
  • abc75bf2b4 [NOD-72] Fix nil errors in deserializePeers Mike Zak 2019-03-21 15:20:35 +02:00
  • dc311e81a1 [NOD-70] Basic infrastructure for mining simulator Mike Zak 2019-03-21 14:51:28 +02:00
  • 439d8e6234 [NOD-56] Added TestSolveGenesisBlock function Evgeny Khirin 2019-03-21 13:45:55 +02:00
  • ff59db5903 [NOD-70] Added GetBlockTemplate method to rpcclient Mike Zak 2019-03-21 12:17:17 +02:00
  • c0e314aa06 [NOD-68] Adjust orphan parents requesting for a DAG (#222) Ori Newman 2019-03-20 17:02:01 +02:00
  • 856e514058 [NOD-56] Fixed go vet errors Evgeny Khirin 2019-03-20 16:58:30 +02:00
  • 1c423936a9 [NOD-68] Fix Lock -> Unlock in sendInvsFromRequestedQueue Ori Newman 2019-03-20 16:23:08 +02:00
  • 2f74d62bd5 [NOD-68] Prevent duplicates from entering to state.requestQueue and add wrapping locks to addBlocksToRequestQueue Ori Newman 2019-03-20 16:15:30 +02:00
  • e825546477 Merge branch 'master' into nod-56-lower-mining-difficulty Evgeny Khirin 2019-03-20 14:33:42 +02:00
  • e8780654f0 [NOD-56] Fixed tests Evgeny Khirin 2019-03-20 14:26:35 +02:00
  • 43149a453d [NOD-56] Created devnet Evgeny Khirin 2019-03-20 14:23:40 +02:00
  • 3843cdb15c [NOD-68] add sendInvsFromRequestedQueue and trigger it when requested blocks slice is empty, or immediatly if we're not in sync mode Ori Newman 2019-03-20 13:56:22 +02:00
  • e93e60aa74 [NOD-63] Merge BlockAccepted and BlockConnected notifications into BlockAdded + remove BlockDisconnected notifications (#221) Svarog 2019-03-20 13:48:32 +02:00
  • 37bfd24e82 [NOD-63] Some more chian -> DAG Mike Zak 2019-03-20 13:40:31 +02:00
  • a49601a1cd [NOD-63] Many instances of chain->DAG and similar Mike Zak 2019-03-20 13:18:41 +02:00
  • 04e4d1ea55 [NOD-68] Adjust orphan parents requesting for a DAG Ori Newman 2019-03-19 18:11:49 +02:00
  • 4e1c356366 [NOD-63] Merge BlockAccepted and BlockConnected notifications into BlockAdded + remove BlockDisconnected notifications Mike Zak 2019-03-19 15:52:17 +02:00
  • 9fabad9a48 [NOD-62] Change getblocks message to handle the new block locator mechanism (#219) Ori Newman 2019-03-19 14:09:04 +02:00
  • c0c07b4719 [NOD-65] Fix netsync related tests and remove fields optionality from… (#220) Ori Newman 2019-03-19 14:01:18 +02:00
  • 3253683210 [NOD-62] Add locateBlockNodes function Ori Newman 2019-03-19 13:59:41 +02:00
  • 7facdb4319 [NOD-60] implement isSyncCandidate (#218) Ori Newman 2019-03-19 13:58:10 +02:00
  • dc7227891b [NOD-62] Change getblocks message to handle the new block locator mechanism Ori Newman 2019-03-18 17:15:52 +02:00
  • a2b69a84f4 [NOD-48] Make wire.NewMsgTx recieve all paramaters that go into MsgTx, and compute what can be computed. (#216) Svarog 2019-03-19 12:28:24 +02:00
  • f517cfc287 [NOD-60] Fix typo Ori Newman 2019-03-19 12:18:36 +02:00
  • b296ee26b2 [NOD-48] Remove option to pass nil to newMsgTx Mike Zak 2019-03-19 12:13:53 +02:00