Commit graph

  • c8bb6b304e Correct optional parameters for listsinceblock. John C. Vernaleo 2013-08-12 13:46:03 -04:00
  • dc2fe40a3d Fix comment typo noticed by jrick@ John C. Vernaleo 2013-08-12 11:24:49 -04:00
  • 2570ecd2ac Move log closure code into its own file. Dave Collins 2013-08-10 20:07:37 -05:00
  • f269ad2ff4 Comment the logClosure code. Dave Collins 2013-08-09 16:02:47 -05:00
  • 8634a2fa01 Refactor peer disconnect code into single func. Dave Collins 2013-08-09 15:47:06 -05:00
  • 00cd730c3f Add stop command to rpcserver. John C. Vernaleo 2013-08-09 16:20:06 -04:00
  • da7e872354 Add proper result type for listunspent. John C. Vernaleo 2013-08-09 15:34:24 -04:00
  • a3531957f4 Rework server startup and shutdown sequence. Dave Collins 2013-08-09 14:32:22 -05:00
  • b28cded23e Add return types for additional commands and bug fixes. John C. Vernaleo 2013-08-08 11:44:15 -04:00
  • f80bc8c8f9 Misc comment and doco cleanup. Dave Collins 2013-08-08 12:45:20 -05:00
  • 52416ec28f new option --tor (requires --proxy) David Hill 2013-08-08 12:11:39 -04:00
  • 41910c0944 Import needed package. Dave Collins 2013-08-08 10:11:03 -05:00
  • 1fecbec3df Move userAgent to peer where it's used. Dave Collins 2013-08-08 09:26:18 -05:00
  • 48d3c5f585 Make user agent use the app version constants. Dave Collins 2013-08-08 09:12:40 -05:00
  • eab9c1f0c1 Insert genesis block if needed on db load. Dave Collins 2013-08-08 00:47:48 -05:00
  • aad69df74b Include proxy address in connection messages. Dave Collins 2013-08-08 00:35:45 -05:00
  • 5ca605dadc Remove duplicate proxy setting from config. Dave Collins 2013-08-08 00:22:10 -05:00
  • f0a0b06f29 Move sample proxy config near top of net settings. Dave Collins 2013-08-07 21:49:10 -05:00
  • 3f782928fd initial proxy code David Hill 2013-08-07 20:40:40 -04:00
  • 9a9f41a2f3 Modify code to use proxy aware NetAddresses. Dave Collins 2013-08-07 13:17:29 -05:00
  • 0d7bff2444 Remove some unused code. Dave Collins 2013-08-07 23:43:48 -05:00
  • b759bafa60 Add version information and -V/--version flags. Dave Collins 2013-08-07 18:53:01 -05:00
  • f168694ecf Convert .gitignore line endings to unix. Dave Collins 2013-08-07 15:00:20 -05:00
  • 335736e59f Add new func NetAddressIPPort. Dave Collins 2013-07-25 15:30:18 -05:00
  • 8574846e87 Move btcd to root directory. Dave Collins 2013-08-07 12:47:51 -05:00
  • c9502f0932 Add option to disable listen for incoming conns. Dave Collins 2013-08-07 12:35:01 -05:00
  • 58055a0b5c Reorder some of the config options. Dave Collins 2013-08-07 12:29:45 -05:00
  • 3195020fee Improve sample-btcd.conf. Dave Collins 2013-08-07 12:12:46 -05:00
  • a9662d3169 Disable RPC server if no user/pass is provided. Dave Collins 2013-08-07 11:02:31 -05:00
  • ca8496e66d Make IPv4 and IPv6 listen on different sockets. Dave Collins 2013-08-07 10:38:39 -05:00
  • c526c3af59 Use external paths for imports. Dave Collins 2013-08-07 00:33:46 -05:00
  • 3f54e4199f Initial import. Dave Collins 2013-08-06 16:55:22 -05:00
  • abfd6b44af More documentation commentary. Owain G. Ainsworth 2013-08-06 18:22:16 +01:00
  • 840708a3e7 Fix up some format strings to appease go vet. Owain G. Ainsworth 2013-08-06 18:00:47 +01:00
  • 17d37e3b06 Fix up some ErrorF strings in tests. Owain G. Ainsworth 2013-08-06 18:00:05 +01:00
  • 519e183151 Update the insertfail test for the latest changes. Dave Collins 2013-08-06 11:48:23 -05:00
  • c59a86c467 Initial commit. Dave Collins 2013-08-06 11:32:43 -05:00
  • b4b7204a97 Remove BtcDecodeTxLoc since it has been replaced. Dave Collins 2013-08-05 19:18:45 -05:00
  • 10a62a37a3 Update for latest btcutil, btcscript, and btcwire. Dave Collins 2013-08-05 15:20:35 -05:00
  • 8062889d04 Update for latest btcutil and btcwire changes. Dave Collins 2013-08-05 13:03:41 -05:00
  • 26fb20e4ed Remove need for protocol version. Dave Collins 2013-08-05 15:08:28 -05:00
  • d90740728e Remove protocol version param from BlockSha/Txsha. Dave Collins 2013-08-05 16:24:50 -05:00
  • dea1bac359 Add negative tests for Serialize/Deserialize funcs. Dave Collins 2013-08-05 11:50:41 -05:00
  • 29eb4d4250 Add tests for new Serialize/Deserialize functions. Dave Collins 2013-08-05 11:38:41 -05:00
  • 088f3c923d Add Serialize/Deserialize for MsgBlock and MsgTx. Dave Collins 2013-08-05 10:53:27 -05:00
  • 285faf8c75 Add additional commands to ones we know return data type. John C. Vernaleo 2013-08-05 17:26:59 -04:00
  • c00de3ffd5 Fix a potential issue with removing orphan blocks. Dave Collins 2013-08-04 13:41:05 -05:00
  • 3b743e4cfc Cleanup after insert failure, do not leave inconsistant db. Dale Rahn 2013-07-29 16:39:48 -04:00
  • d8c3213d99 more Dale Rahn 2013-08-03 11:09:50 -04:00
  • 85d97d7436 block converted. Dale Rahn 2013-08-02 18:31:21 -04:00
  • 0c2d4435ca Make use of removeChildNode function. Dave Collins 2013-08-01 22:28:25 -05:00
  • 1a5683e220 Add optimized initial block index load function. Dave Collins 2013-08-01 14:25:09 -05:00
  • 716075d0d0 Remove tesnet specific rules unsupported blurb. Dave Collins 2013-08-01 17:10:59 -05:00
  • ead14e5a12 Testing code for FetchHeightRange() Dale Rahn 2013-08-01 16:14:22 -04:00
  • b46d53c18e Test NewestSha() Dale Rahn 2013-08-01 15:03:26 -04:00
  • 5b697947a7 Optimize getPrevNodeFromNode. Dave Collins 2013-08-01 12:32:58 -05:00
  • 2988289d2e Implement memory chain pruning. Dave Collins 2013-08-01 11:31:42 -05:00
  • 2d6a664d9d Greatly optimize best chain selection work values. Dave Collins 2013-07-31 12:57:54 -05:00
  • f205ff5ac0 External API functions need to grab locks before performing internal database operations. Dale Rahn 2013-07-31 10:46:28 -04:00
  • 455c92a716 Correct reg test proof of work limit comment. Dave Collins 2013-07-31 09:20:11 -05:00
  • 72feef5194 Clarify reg test proof of work limit comment. Dave Collins 2013-07-31 09:14:02 -05:00
  • 118014a5b4 gofmt. Owain G. Ainsworth 2013-07-31 01:31:27 +01:00
  • 927d846f06 Handle bad input in sighash single. Owain G. Ainsworth 2013-07-30 22:45:26 +01:00
  • bb7f5da609 Print transaction hash in script val errors. Dave Collins 2013-07-30 18:04:58 -05:00
  • 357160257c Allow checkpoints to work with all networks. Dave Collins 2013-07-30 15:29:15 -05:00
  • 1e891b4e0b Optimize proof of work limit bits handling. Dave Collins 2013-07-30 12:58:28 -05:00
  • cef901ebad Export chain parameters. Dave Collins 2013-07-30 12:30:31 -05:00
  • 0e7791058a Add logging for chain forks and reorgs. Dave Collins 2013-07-29 22:32:12 -05:00
  • e5eaaee91c Remove a couple of error logs that are not needed. Dave Collins 2013-07-29 22:31:05 -05:00
  • 829f187e47 Use network-specific genesis hash. Dave Collins 2013-07-29 20:21:24 -05:00
  • 04d88d01ec Clarify mismatched merkle root error message. Dave Collins 2013-07-29 19:50:00 -05:00
  • 077e1ec336 Improve second coinbase error message. Dave Collins 2013-07-29 17:02:42 -05:00
  • 882d1c1687 Ensure height is set on block as well as the node. Dave Collins 2013-07-29 16:58:48 -05:00
  • 6409879e14 Modify count sigops calls for new btcscript API. Dave Collins 2013-07-29 16:18:15 -05:00
  • 22c29c4316 Perform pushed length checks at exec time, not parse. Owain G. Ainsworth 2013-07-29 16:17:11 +01:00
  • fe2233c851 Make count sigops always count up to the point of parse failure. Owain G. Ainsworth 2013-07-25 15:40:11 +01:00
  • c3b330e42d Allow tx inputs to use txns earlier in same block. Dave Collins 2013-07-29 15:48:52 -05:00
  • dc3a2dbac0 Correct example usage. Dave Collins 2013-07-29 12:41:30 -05:00
  • e82c97be3b Update examples for recent btcdb changes. Dave Collins 2013-07-29 12:35:01 -05:00
  • 25684a2ccb Don't add a genesis block by default. Dave Collins 2013-07-25 16:44:18 -05:00
  • 584481280c Print actual hash on a couple of log warnings. Dave Collins 2013-07-29 10:52:39 -05:00
  • 761f666c44 Use consistent form for Checkpoint comment. Dave Collins 2013-07-27 16:46:46 -05:00
  • ace58495c8 Comment CheckpointConfirmations. Dave Collins 2013-07-27 16:45:59 -05:00
  • 81120958f0 Comment inventory vector constants. Dave Collins 2013-07-27 16:41:57 -05:00
  • 69446009b2 Move TxVersion constant definition to msgtx.go. Dave Collins 2013-07-27 16:34:47 -05:00
  • 035a9c3dc3 Add several comments for exported constants. Dave Collins 2013-07-27 16:31:47 -05:00
  • d6752d8f99 Update comments to fix typos and use proper form. Dave Collins 2013-07-27 16:18:13 -05:00
  • bfbc08beed Allow var defs to infer type from right-hand side. Dave Collins 2013-07-27 16:10:38 -05:00
  • 99b06f8bce Add format specifier in pong test error output. Dave Collins 2013-07-27 15:56:17 -05:00
  • 562bde6902 Use byte literals in tests to make go vet happy. Dave Collins 2013-07-27 15:38:03 -05:00
  • 90bf9e7449 Update tests for corrected max block payload size. Dave Collins 2013-07-27 15:32:01 -05:00
  • 9989865fa2 Use correct max block payload size. Dave Collins 2013-07-27 15:25:05 -05:00
  • b282678d9a Spend outputs while checking transaction inputs. Dave Collins 2013-07-26 11:50:20 -05:00
  • ea3107d962 Add comments and doco to clairfy test networks. Dave Collins 2013-07-25 19:04:58 -05:00
  • 4e6b649be6 Add constant for regression test netowrk port. Dave Collins 2013-07-25 19:04:02 -05:00
  • e7f9415e4f Return 0 for bad scripts from sigops code instead of an error. Owain G. Ainsworth 2013-07-25 14:27:58 +01:00
  • 9787f46f6a Implement testnet specific rules. Dave Collins 2013-07-24 16:43:39 -05:00
  • 1deeb05627 Add a few log error messages. Dave Collins 2013-07-24 12:31:14 -05:00
  • f219ed5baf Add support for params based on active network. Dave Collins 2013-07-24 11:37:45 -05:00
  • 3c4292fae3 Add parent to info print when adding orphans. Dave Collins 2013-07-24 11:12:25 -05:00