Commit Graph

  • 8b333ed336 [NOD-386] Explictly return nil Dan Aharoni 2019-11-10 09:48:17 +02:00
  • 8dbd4a2bed [NOD-411] Fix underflowing check for resending transactions. (#457) stasatdaglabs 2019-11-07 16:08:40 +02:00
  • 6884b40dd1 [NOD-411] Fix underflowing check for resending transactions. stasatdaglabs 2019-11-07 16:02:16 +02:00
  • 24305cda68 [NOD-385] Change confirmation calculation to be relative to the selected tip (#455) Ori Newman 2019-11-07 13:42:25 +02:00
  • 9dc4dcd80b [NOD-385] fetchSelectedTip only if needed Ori Newman 2019-11-07 12:22:14 +02:00
  • 1028744276 Merge remote-tracking branch 'origin/master' into nod-385-add-virtual-blue-score-to-chain-changed Ori Newman 2019-11-07 11:19:29 +02:00
  • 770dfd147d [NOD-404] Calculate mass in API server (#452) Ori Newman 2019-11-07 10:27:12 +02:00
  • 3ec2c0ddad [NOD-385] Calculate accurate confirmations in GetUTXOsByAddressHandler Ori Newman 2019-11-06 18:03:25 +02:00
  • 9cd309e8a6 Merge remote-tracking branch 'origin/master' into nod-385-add-virtual-blue-score-to-chain-changed Ori Newman 2019-11-06 17:53:30 +02:00
  • 563c98db73 [NOD-385] Sync virtual blue score Ori Newman 2019-11-06 17:53:08 +02:00
  • 336be32635 [NOD-404] Use txID instead of prevDBTransactionsOutput.Transaction.TransactionID Ori Newman 2019-11-06 17:19:21 +02:00
  • 192ac6c9b2 Merge remote-tracking branch 'origin/master' into nod-385-change-confirmations-calculation Ori Newman 2019-11-06 17:13:35 +02:00
  • e48c666a35 [NOD-385] Put only non accepted transactions in areTxsInBlock Ori Newman 2019-11-06 17:09:33 +02:00
  • f336f77f57 [NOD-385] Make more explicit check in accepting block for selected tip Ori Newman 2019-11-06 17:06:45 +02:00
  • 3fcb99bb3a [NOD-385] Fix comments Ori Newman 2019-11-06 17:02:27 +02:00
  • a9ff9b0e70 [NOD-398] Change API server type HandlerError to work with errors instead of error strings (#454) Ori Newman 2019-11-06 16:58:58 +02:00
  • b51785dc62 [NOD-385] Make confirmations be calculated as dag.selectedTip().blueScore - acceptingBlock.blueScore + 2 Ori Newman 2019-11-05 17:48:11 +02:00
  • d4dcba0bff [NOD-398] Rename OriginalError -> Cause and isHandleError -> ok Ori Newman 2019-11-06 16:43:09 +02:00
  • 2919d3bb7b [NOD-404] Fix uninitialized maps Ori Newman 2019-11-06 16:22:03 +02:00
  • 062f55f7b5 [NOD-373] Additional data in nonceRFC6979 should not be nil Dan Aharoni 2019-11-06 15:41:57 +02:00
  • 311b5e05cb [NOD-373] Fix comments, rename functions to more meaningful names Dan Aharoni 2019-11-06 14:25:48 +02:00
  • a5ca272f27 Merge branch 'master' into nod-373-adding-schnorr-signature-scheme Dan Aharoni 2019-11-06 12:57:50 +02:00
  • a2e8f6f716 [NOD-386] Move ActiveNetParams to network section Dan Aharoni 2019-11-06 11:11:58 +02:00
  • 0f3efc9963 [NOD-386] Refactor network config to config package Dan Aharoni 2019-11-06 11:10:21 +02:00
  • 1304666efb [NOD-386] Refactor network config to btcd level so APIserver and btcd could use it Dan Aharoni 2019-11-06 10:44:26 +02:00
  • 0dad49385b [NOD-386] Fix renaming errors Dan Aharoni 2019-11-05 18:15:39 +02:00
  • 1ab3e38c76 [NOD-386] Rename function to ResolveNetwork Dan Aharoni 2019-11-05 18:06:40 +02:00
  • b650c54ee8 [NOD-386] Rename commandConfig to configFlags Dan Aharoni 2019-11-05 18:00:12 +02:00
  • f1ddd32341 [NOD-386] Rename package name to config Dan Aharoni 2019-11-05 17:52:32 +02:00
  • a0f558cc04 [NOD-384] Add virtual blue score to chain changed notification Ori Newman 2019-11-05 17:45:50 +02:00
  • 90fb628ae3 [NOD-398] Change API server type HandlerError to work with errors instead of error strings Ori Newman 2019-11-05 16:05:37 +02:00
  • f78ea1125e [NOD-386] Adding comments so go-vet won't shout at me Dan Aharoni 2019-11-05 16:06:44 +02:00
  • 614b7ef50b [NOD-386] Add extract ActiveNetParams to cmdconfig Dan Aharoni 2019-11-05 15:54:58 +02:00
  • e3d4af6a74 [NOD-386] Extract net parsing functionality to a shared place. Dan Aharoni 2019-11-05 15:46:38 +02:00
  • e14e22face [NOD-404] Calculate mass in API server Ori Newman 2019-11-05 15:00:45 +02:00
  • 10824fe0c3 [NOD-373] Remove empty line Dan Aharoni 2019-11-04 18:39:45 +02:00
  • 1063e3e510 [NOD-373] Refactor functions names Dan Aharoni 2019-11-04 18:33:45 +02:00
  • e03d8b77e5 [NOD-373] Fix tests and remove redundant ones Dan Aharoni 2019-11-04 18:20:46 +02:00
  • f485e7eca5 [NOD-373] Merge master Dan Aharoni 2019-11-04 18:11:43 +02:00
  • 3cc6f2d648 [NOD-384] Remove mass from rpc results (#449) v0.0.1.1 Ori Newman 2019-11-04 18:06:01 +02:00
  • 9cafa2a4cf [NOD-384] Fix tests Ori Newman 2019-11-04 17:58:25 +02:00
  • a8f0d7b05b [NOD-400] Fix ECHM cache crashing on concurrent access. (#450) stasatdaglabs 2019-11-04 17:38:01 +02:00
  • b652ec52ea [NOD-400] Fix ECHM cache crashing on concurrent access. stasatdaglabs 2019-11-04 16:33:21 +02:00
  • 42609165be [NOD-401] Added config for all sub-commands Mike Zak 2019-11-04 16:22:57 +02:00
  • bc46594c95 [NOD-384] Remove mass from rpc results Ori Newman 2019-11-04 16:16:16 +02:00
  • 9472d43c40 [NOD-401] Switched to go-flags sub-command parsing Mike Zak 2019-11-04 16:10:13 +02:00
  • 13e09e7a7f [NOD-401] Created CLI-Wallet base structure and new command Mike Zak 2019-11-04 14:06:54 +02:00
  • 13f06ca293 [NOD-399] Fix TxGen resending coinbase transactions. (#448) stasatdaglabs 2019-11-04 13:04:06 +02:00
  • c88fa1492e [NOD-375] Move to pkg/errors (#447) Ori Newman 2019-11-04 11:24:12 +02:00
  • 474a2d3616 [NOD-375] Make AreErrorsEqual a shared function Ori Newman 2019-11-03 16:41:30 +02:00
  • a1b9ffb80f [NOD-399] Fix TxGen resending coinbase transactions. stasatdaglabs 2019-11-03 16:35:58 +02:00
  • f1de2eb25b [NOD-375] Fix tests Ori Newman 2019-11-03 14:13:26 +02:00
  • a57fafe690 Merge remote-tracking branch 'origin/master' into nod-375-move-to-pkg-errors Ori Newman 2019-11-03 13:30:08 +02:00
  • 5174ae7e13 [NOD-375] Move to pkg/errors Ori Newman 2019-11-03 13:27:03 +02:00
  • 64bf96afd0 [NOD-397] Make getBlock return an error if it asked for a verbose version of a finalized block Ori Newman 2019-11-03 12:55:07 +02:00
  • 40657a83f5 [NOD-344] Cache ECMH (#445) Ori Newman 2019-11-03 12:29:55 +02:00
  • bd8fe57304 [NOD-344] Fix go.mod Ori Newman 2019-11-03 12:19:52 +02:00
  • ab719a88ff [NOD-344] Refactor Ori Newman 2019-11-03 12:17:38 +02:00
  • 107a421c32 [NOD-344] Change ECMH cache size to 4e6 Ori Newman 2019-11-03 12:11:38 +02:00
  • 44dd58b461 [NOD-396] Fix updateAddedChainBlocks query to select all transactions and not the first one (#444) Dan Aharoni 2019-11-03 11:29:51 +02:00
  • 47891b17ab [NOD-392] If transaction is in mempool - don't try to get number of confirmations (#443) Svarog 2019-11-03 11:27:46 +02:00
  • ac3c335379 Merge remote-tracking branch 'origin/master' into nod-344-cache-ecmh Ori Newman 2019-11-03 11:11:38 +02:00
  • c5cc89fb1d [NOD-396] Fix updateAddedChainBlocks query to select all transactions and not the first one Dan Aharoni 2019-10-31 17:43:54 +02:00
  • f7fbfbf5c4 [NOD-383] Fix updateAddedChainBlocks and updateRemovedChainHashes to update IsChainBlock and AcceptingBlockID appropriately v0.0.1-alpha1 Ori Newman 2019-10-31 15:36:46 +02:00
  • 0eac668576 [NOD-392] If transaction is in mempool - don't try to get number of confirmations Mike Zak 2019-10-31 14:20:33 +02:00
  • 031553cf5e Merge remote-tracking branch 'origin/master' into nod-383-fix-updateAddedChainBlocks-and-updateRemovedChainHashes-backup3 Ori Newman 2019-10-31 13:21:16 +02:00
  • 36238a9dbc [NOD-383] Fix updateAddedChainBlocks and updateRemovedChainHashes Ori Newman 2019-10-30 15:58:11 +02:00
  • ffb2420586 Merge branch 'master' into nod-373-adding-schnorr-signature-scheme Dan Aharoni 2019-10-31 12:48:18 +02:00
  • 0e278ca22b [NOD-350] Implement testnet faucet (#438) Ori Newman 2019-10-31 11:59:56 +02:00
  • 963b1eaf05 [NOD-350] Fix comments Ori Newman 2019-10-31 11:22:40 +02:00
  • e47882252a [NOD-373] Remove redundant test, add Schnorr tests, and fix tests where needed Dan Aharoni 2019-10-31 11:14:32 +02:00
  • 271e72c3a8 [NOD-350] Remove approximateConfirmationsForCoinbaseMaturity Ori Newman 2019-10-31 11:14:14 +02:00
  • e6c201ce14 [NOD-350] Add comments to isFundedAndIsChangeOutputRequired Ori Newman 2019-10-31 11:05:05 +02:00
  • 6c6cf7da83 [NOD-350] Convert IP column to varchar(39) to allow ipv6 addresses Ori Newman 2019-10-31 10:52:27 +02:00
  • 5e95970cd4 [NOD-350] Make calcFee use MassPerTxByte Ori Newman 2019-10-31 10:50:59 +02:00
  • f2fe4ca382 [NOD-350] Refactor and add comments Ori Newman 2019-10-30 18:16:44 +02:00
  • d3ac84958e [NOD-350] Explicitly select blue_score in fetchSelectedTipBlueScore Ori Newman 2019-10-30 17:27:32 +02:00
  • daf86f180d [NOD-350] Rename convertTxModelToTxResponse -> convertTxDBModelToTxResponse Ori Newman 2019-10-30 17:21:10 +02:00
  • c66fb294c8 [NOD-377] Don't disconnect from peers with finalized rendezvous point. Instead remove them from sync candidates. (#439) Ori Newman 2019-10-30 17:18:46 +02:00
  • dafa3d06ec [NOD-350] Rename file responsetypes -> response_types Ori Newman 2019-10-30 17:18:41 +02:00
  • 88b7e7ca03 [NOD-394] Add --cleanup to ./run-dev.sh (#441) stasatdaglabs 2019-10-30 17:12:48 +02:00
  • 00bba2a120 [NOD-373] Remove leftovers of verifyMessage RPC command (which was deleted) Dan Aharoni 2019-10-30 17:00:12 +02:00
  • b8ea26204b [NOD-394] Set docker/docker-compose.yaml to use devnet instead of testnet. stasatdaglabs 2019-10-30 16:14:55 +02:00
  • ab621d3833 [NOD-394] Fix typo in usage string. stasatdaglabs 2019-10-30 16:12:28 +02:00
  • cd56246a26 [NOD-394] Make --cleanup alias for --rm --no-run --no-build. stasatdaglabs 2019-10-30 16:09:05 +02:00
  • 8dbc2c4679 [NOD-394] Allow --rm and --no-build to be run together with no-run. stasatdaglabs 2019-10-30 16:01:20 +02:00
  • e5ea575e52 [NOD-394] Rename --only-build to --no-run. stasatdaglabs 2019-10-30 15:59:53 +02:00
  • 5fba37d798 [NOD-374] Add new error to list; Update comments. Dan Aharoni 2019-10-30 15:42:27 +02:00
  • 54ab638d6f [NOD-373] Implement Schnorr digital signatures and remove ECDSA (based on code from gcash/bchd) Dan Aharoni 2019-10-30 15:20:48 +02:00
  • 2f142d0c30 [NOD-377] Rename timeBetweenRequests -> minRequestInterval, timeBefore24Hours -> minRequestInterval Ori Newman 2019-10-30 15:19:42 +02:00
  • ab0462098b [NOD-350] Rename day -> timeBetweenRequests Ori Newman 2019-10-30 15:12:38 +02:00
  • 8fe25c185a [NOD-377] Don't disconnect from peers with finalized rendezvous point. Instead remove them from sync candidates. Ori Newman 2019-10-30 12:33:17 +02:00
  • a9b659a36f [NOD-393] Force docker-compose to actually cleanup before it runs when running ./run-dev.sh --rm. (#440) stasatdaglabs 2019-10-30 14:43:23 +02:00
  • dec1824286 [NOD-393] Force docker-compose to actually cleanup before it runs. stasatdaglabs 2019-10-30 14:41:53 +02:00
  • aaf4f10dc4 [NOD-377] Fix POST request to API server content type Ori Newman 2019-10-30 12:51:45 +02:00
  • 8d1a7177c2 [NOD-377] Condition refactoring Ori Newman 2019-10-30 12:50:46 +02:00
  • 029dd79f5e [NOD-377] Remove redundant call for getWalletUTXOSet() Ori Newman 2019-10-30 12:47:36 +02:00
  • fa96f41649 [NOD-377] Add a constant for 24 hours Ori Newman 2019-10-30 12:46:49 +02:00
  • e8728c2a5a [NOD-377] change API route from /money_request to /request_money Ori Newman 2019-10-30 12:44:27 +02:00
  • 5cc355c10f [NOD-377] Change not current database error message Ori Newman 2019-10-30 12:43:44 +02:00