Commit Graph

  • 240c43abe1 [NOD-463] Change default order to descending (as appears in the spec) Dan Aharoni 2019-11-26 16:29:22 +02:00
  • 80156dddfa [NOD-427] Fix findHashOfBluestBlock to handle empty blocks table Ori Newman 2019-11-26 16:26:14 +02:00
  • 54b8a8e05b [NOD-426] Remove new line Dan Aharoni 2019-11-26 16:16:52 +02:00
  • 937f3b8540 [NOD-426] Use join instead of separate query Dan Aharoni 2019-11-26 16:15:42 +02:00
  • 48bbbd2981 [NOD-426] Remove newlines Dan Aharoni 2019-11-26 15:02:54 +02:00
  • e991ac8f7b Merge branch 'master' into nod-426-unaccepted-txs-notifications Dan Aharoni 2019-11-26 14:59:56 +02:00
  • 532e57b61c [NOD-427] Add selected tip mqtt notification for the API server (#489) Ori Newman 2019-11-26 14:44:27 +02:00
  • aa0b57b2e4 [NOD-427] Change break to return Ori Newman 2019-11-26 14:29:42 +02:00
  • 45551d7476 [NOD-427] Remove redundant select Ori Newman 2019-11-26 14:27:27 +02:00
  • 7c8d8d7120 [NOD-426] Change method name to accepted transactions Dan Aharoni 2019-11-26 14:27:15 +02:00
  • d97127d428 [NOD-427] use path.Join instead of topic+address Ori Newman 2019-11-26 14:17:09 +02:00
  • 98ae1d0393 [NOD-427] Add constants Ori Newman 2019-11-26 14:16:01 +02:00
  • b1f59914d2 [NOD-466] Fix error where limit overides skip (#493) Dan Aharoni 2019-11-26 14:11:49 +02:00
  • 68ec4d2742 [NOD-427] Fix findHashOfBluestBlock to use []string instead of dbmodels.Block Ori Newman 2019-11-26 14:11:10 +02:00
  • 030299ad48 [NOD-426] Remove function name from error message Dan Aharoni 2019-11-26 13:50:42 +02:00
  • 9a54b286c9 [NOD-462] Add error message when address is invalid for UTXO API request (#492) Dan Aharoni 2019-11-26 13:50:36 +02:00
  • 3051454b77 [NOD-427] Return errors instead of panicking Ori Newman 2019-11-26 13:49:58 +02:00
  • bfbda89538 [NOD-426] Add input addresses for transactions notifications Dan Aharoni 2019-11-26 13:46:08 +02:00
  • a1db95cab2 [NOD-427] Add handleBlockAddedMsg function Ori Newman 2019-11-26 13:36:45 +02:00
  • ebb96c31c6 [NOD-426] Remove function name from error message Dan Aharoni 2019-11-26 13:33:41 +02:00
  • 6e4b18a498 [NOD-442] Make dbFetchTxAcceptingBlock return nil if accepting bucket doesn't exist for transaction (#487) Ori Newman 2019-11-26 10:54:15 +02:00
  • b5f8a0452e [NOD-460] Fix error where we set skip instead of limit (#491) Dan Aharoni 2019-11-26 10:36:26 +02:00
  • f03fd95e08 [NOD-462] Remove function name from error message Dan Aharoni 2019-11-25 17:02:15 +02:00
  • e282c0d0da [NOD-466] Fix error where limit overides skip Dan Aharoni 2019-11-25 16:59:22 +02:00
  • e8258931ea [NOD-462] Fix error message Dan Aharoni 2019-11-25 16:47:28 +02:00
  • 82aad4b723 [NOD-462] Add error message when address is invalid Dan Aharoni 2019-11-25 16:37:34 +02:00
  • 3fd927a265 [NOD-460] Fix error where we set skip instead of limit Dan Aharoni 2019-11-25 15:54:44 +02:00
  • bd9106ae52 [NOD-427] Remove redundant argument from errors.Wrapf Ori Newman 2019-11-25 14:13:27 +02:00
  • 987e7ecf2e [NOD-427] Add comment to PublishSelectedTipNotification Ori Newman 2019-11-25 14:07:09 +02:00
  • 944997abbc [NOD-426] Load DB in controller Dan Aharoni 2019-11-25 13:25:33 +02:00
  • 350f74c600 [NOD-426] Merge master Dan Aharoni 2019-11-25 13:24:07 +02:00
  • 5a7d4c9cf3 [NOD-426] Publish notifications for unaccepted transactions Dan Aharoni 2019-11-25 13:06:51 +02:00
  • 5a4f757ba1 Merge remote-tracking branch 'origin/master' into nod-427-selected-tip-notification Ori Newman 2019-11-25 12:44:07 +02:00
  • d433efb9cb [NOD-442] Add selected tip notification Ori Newman 2019-11-24 19:23:34 +02:00
  • fab043ef14 [NOD-382] Add notification for accepted transactions (#488) Dan Aharoni 2019-11-25 10:09:27 +02:00
  • 57e27e19ce [NOD-382] Remove print statement Dan Aharoni 2019-11-24 17:29:15 +02:00
  • 449245c934 [NOD-382] Add notification for accepted transactions Dan Aharoni 2019-11-24 17:21:56 +02:00
  • 10fc9cb95f Merge remote-tracking branch 'origin/master' into nod-427-selected-tip-notification Ori Newman 2019-11-24 17:21:15 +02:00
  • 90cc711fa7 [NOD-442] Make dbFetchTxAcceptingBlock return nil if accepting bucket doesn't exit for transaction Ori Newman 2019-11-24 16:41:41 +02:00
  • 8e0e62f21a [NOD-447] fix deadlocks and hanging goroutines (#481) Ori Newman 2019-11-24 15:59:45 +02:00
  • b704288478 [NOD-447] Fix comments Ori Newman 2019-11-24 15:55:50 +02:00
  • 68bc2e1052 [NOD-447] Fix comments Ori Newman 2019-11-24 15:55:03 +02:00
  • 9a1c2e2641 [NOD-457] Fix error message (#486) Dan Aharoni 2019-11-24 15:50:15 +02:00
  • f78d019727 [NOD-447] Add documentation and delete redundant spawn Ori Newman 2019-11-24 15:41:01 +02:00
  • 8788239619 [NOD-457] Fix error message Dan Aharoni 2019-11-24 14:43:42 +02:00
  • 27dc31a1dd [NOD-447] Rename txConfirmations -> txConfirmationsNoLock, txConfirmationsWithLock -> txConfirmations Ori Newman 2019-11-24 13:11:30 +02:00
  • 8cbc6670cc [NOD-445] Enable using EC2 AutoScalingGroup to get list of btcds for mining simulator (#484) Svarog 2019-11-24 13:03:26 +02:00
  • 28ee6a8026 [NOD-381] Send transaction notifications to MQTT (#483) Dan Aharoni 2019-11-24 10:53:09 +02:00
  • af39e96e3e [NOD-455] Make GetFeeEstimateHandler return err, not HandlerError (#485) Svarog 2019-11-24 10:43:51 +02:00
  • 873ef193d1 [NOD-445] Invert DisableTLS condition in readCert Mike Zak 2019-11-24 09:51:47 +02:00
  • 6b2961f82e Merge remote-tracking branch 'origin/master' into nod-445-miningsimulator-auto-update-hosts Mike Zak 2019-11-24 09:50:13 +02:00
  • ee8ec21b80 [NOD-381] Move isConnected to MQTT, so client won't have to worry about it; General code refactors; Dan Aharoni 2019-11-21 17:19:09 +02:00
  • 7bc7582394 [NOD-447] Change waitingCounter to boolean and rename to isReleaseWaitWaiting, change checkIfRunningSpawnsAreLeft to return only one function, and lock critical code related to wg.isReleaseWaitWaiting Ori Newman 2019-11-21 16:46:16 +02:00
  • b044da2731 [NOD-381] Set QoS to 2 Dan Aharoni 2019-11-21 15:19:58 +02:00
  • ded62ad1de [NOD-455] Make GetFeeEstimateHandler return err, not HandlerError Mike Zak 2019-11-21 13:23:05 +02:00
  • 5f5b5b7eb2 [NOD-381] Change variable name Dan Aharoni 2019-11-21 13:10:12 +02:00
  • 34667d46a3 Merge branch 'master' into nod-381-send-transaction-notifications Dan Aharoni 2019-11-21 12:53:44 +02:00
  • db6e9c773f [NOD-448] Fix initial sync in API Server crashing due to misaligned getBlocks calls (#482) stasatdaglabs 2019-11-21 12:21:19 +02:00
  • 69386dc1e9 [NOD-445] Set config in connectionManager Mike Zak 2019-11-20 19:25:17 +02:00
  • d021ea9331 [NOD-381] Use pointers so value could be nil Dan Aharoni 2019-11-20 18:07:50 +02:00
  • 9e69feeaf9 [NOD-381] Pass transaction instead of block; Use pointers so default will be nil; Dan Aharoni 2019-11-20 18:00:53 +02:00
  • 1b72cef0d9 [NOD-445] Added mechanism to update when new servers come online Mike Zak 2019-11-20 17:56:19 +02:00
  • 95ff8340a9 [NOD-447] Don't send to releaseWait if waitingCounter is zero Ori Newman 2019-11-20 17:33:56 +02:00
  • 809a712c35 [NOD-448] Make GetBlocks get each block only once. stasatdaglabs 2019-11-20 17:15:38 +02:00
  • a91a5c8776 [NOD-381] Remove print statement Dan Aharoni 2019-11-20 16:58:07 +02:00
  • e0cfb52810 Merge branch 'master' into nod-381-send-transaction-notifications Dan Aharoni 2019-11-20 16:56:55 +02:00
  • 302daa96a5 [NOD-381] Add comments to public functions Dan Aharoni 2019-11-20 16:53:25 +02:00
  • 2eef46d613 [NOD-381] Pass raw block instead of txId Dan Aharoni 2019-11-20 16:42:13 +02:00
  • 210137dd7b [NOD-445] Add support to get miningsimulator addresslist from AWS Mike Zak 2019-11-20 16:28:17 +02:00
  • 1dec2a15b4 [NOD-381] Move code to appropriate places Dan Aharoni 2019-11-20 15:52:23 +02:00
  • c9b6efc196 [NOD-381] Use transactionResponse for notifications Dan Aharoni 2019-11-20 12:56:33 +02:00
  • 60c2036658 [NOD-448] Update sync logic to only make one getBlocks call per page. stasatdaglabs 2019-11-20 12:50:13 +02:00
  • 413b02f520 [NOD-448] Change GetBlocksCmd to be able to include both raw and verbose block data. stasatdaglabs 2019-11-20 12:35:34 +02:00
  • 47214121a7 [NOD-423] Implement get selected tip RPC command (#469) Dan Aharoni 2019-11-20 12:04:22 +02:00
  • 4ebd753b02 [NOD-447] Add unpatch to spawnPatch Ori Newman 2019-11-19 18:51:27 +02:00
  • 6ca173b605 [NOD-447] Add tests Ori Newman 2019-11-19 18:42:31 +02:00
  • ead8ff25da [NOD-447] Fix deadlocks and hanging goroutines Ori Newman 2019-11-19 18:16:48 +02:00
  • 65579d7bbf [NOD-445] Added option to mining simulator to get address list from AWS Mike Zak 2019-11-19 15:55:36 +02:00
  • 7b07609fd8 [NOD-437] Fix bad logger import in API Server. (#480) stasatdaglabs 2019-11-19 11:23:44 +02:00
  • acb4b3f260 [NOD-434] Re-request missing parents when adding a block (#476) stasatdaglabs 2019-11-19 11:22:17 +02:00
  • feb114e8dd [NOD-412] Change Warnf to Errorf where appropriate. stasatdaglabs 2019-11-19 11:17:15 +02:00
  • 008b5378c4 [NOD-434] Fix typo and remove superfluous continue. stasatdaglabs 2019-11-19 11:10:46 +02:00
  • e0221aa8ab [NOD-438] In api server, change block_data to MEDIUMBLOB (#474) Ori Newman 2019-11-19 10:42:57 +02:00
  • ad8e8d54f9 [NOD-437] Fix bad logger import in API Server. stasatdaglabs 2019-11-18 15:42:13 +02:00
  • cba346d753 [NOD-422] Separate request queue and request queue set by inv type (#471) v0.0.1 Ori Newman 2019-11-18 15:34:01 +02:00
  • 0d9efa09b6 [NOD-422] Make one-liner pop and remove redundant nil assignment Ori Newman 2019-11-18 15:20:28 +02:00
  • 0f34cfb1a2 [NOD-433] Make buildGetBlockVerboseResult use BlockConfirmationsByHashNoLock (#479) Ori Newman 2019-11-18 15:17:51 +02:00
  • 5b3698cd40 [NOD-433] Make buildGetBlockVerboseResult use BlockConfirmationsByHashNoLock Ori Newman 2019-11-18 15:09:29 +02:00
  • ea846a3284 [NOD-436] Remove unnecessary check before sending a chainChanged notification. (#478) stasatdaglabs 2019-11-18 14:49:27 +02:00
  • 0b1929b155 [NOD-436] Remove unnecessary check before sending a chainChanged notification. stasatdaglabs 2019-11-18 14:40:32 +02:00
  • 63bfac9740 [NOD-436] Fix sending empty chainChanged messages. (#477) stasatdaglabs 2019-11-18 14:33:07 +02:00
  • fe2f0fa7f6 [NOD-436] Fix sending empty chainChanged messages. stasatdaglabs 2019-11-18 14:26:36 +02:00
  • 07f501609c [NOD-434] Rename outerloop to outerLoop. stasatdaglabs 2019-11-18 14:09:48 +02:00
  • 85a9bd45ca [NOD-434] Rename a couple of variables. stasatdaglabs 2019-11-18 14:04:15 +02:00
  • cef9347681 [NOD-434] Rename the variable missingParentHashes to missingHashes. stasatdaglabs 2019-11-18 14:02:58 +02:00
  • ac34fa596b [NOD-434] Rename canHandleBlockAddedMsg to missingParentHashes and fix bad loop break. stasatdaglabs 2019-11-18 13:53:55 +02:00
  • 55ef363d59 [NOD-434] Name return values in canHandleBlockAddedMsg. stasatdaglabs 2019-11-18 13:43:44 +02:00
  • 7ac05bf34d [NOD-434] Split processBlockAddedMsgs. stasatdaglabs 2019-11-18 13:42:02 +02:00
  • b3e02f552b [NOD-434] Fixed bad error message. stasatdaglabs 2019-11-18 13:32:01 +02:00
  • 896a749936 [NOD-434] Implement mechanism for re-requesting missing parent blocks. stasatdaglabs 2019-11-18 12:25:58 +02:00