Commit Graph

  • 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
  • 60dfddc9d0 Use common coinbase transaction for Genesis blocks. Dave Collins 2013-07-24 09:09:18 -05:00
  • ab064fd4d4 Add tests for genesis block of testnet (version 3). Dave Collins 2013-07-24 01:47:11 -05:00
  • 166123ae79 Add genesis block for the test network (version 3). Dave Collins 2013-07-24 01:45:30 -05:00
  • b8f80da512 Add tests for genesis block of regression testnet. Dave Collins 2013-07-24 01:33:24 -05:00
  • a90a8bf341 Add genesis block for the regression test network. Dave Collins 2013-07-24 01:32:43 -05:00
  • 65eae18285 Remove a couple of incorrect comments. Dave Collins 2013-07-24 00:34:38 -05:00
  • ebd4af80f0 Make CheckpointConfirmations 2016. Dave Collins 2013-07-22 03:20:00 -05:00
  • f3e542ff92 Add negative test for duplicate block. Dave Collins 2013-07-22 01:06:53 -05:00
  • d6d2b15901 Clarify BIP0034 is supported in package doco. Dave Collins 2013-07-20 02:39:07 -05:00
  • 92651c6d13 Fix spent computation on a multiple of 8 txout tx. Dale Rahn 2013-07-18 16:43:36 -04:00
  • 20f7c2ecd0 Add tests for TimeSorter. Dave Collins 2013-07-18 10:06:35 -05:00
  • 355502c970 Update documentation for IsCheckpointCandidate. Dave Collins 2013-07-19 10:08:09 -05:00
  • aa5847f3cc Initial implementation. Dave Collins 2013-07-18 09:49:28 -05:00
  • bee05db603 Exunge debug code. Dale Rahn 2013-07-18 18:19:57 -04:00
  • 66731c1a1e Implement TxOut Spend tracking. Dale Rahn 2013-07-11 16:35:50 -04:00
  • 180c827db3 Initial commit. Dave Collins 2013-07-18 09:39:30 -05:00
  • f8fdabe53b Fix some error formatting from go vet. John C. Vernaleo 2013-07-16 16:10:35 -04:00
  • 3b6c9b6d78 Simplify some code and increase test coverage. John C. Vernaleo 2013-07-16 16:01:51 -04:00
  • ed7214afda Add types for a few more commands. John C. Vernaleo 2013-07-16 13:39:12 -04:00
  • 7a1a05d695 Clarify comment and add command to concrete type list. John C. Vernaleo 2013-07-15 10:51:58 -04:00
  • a0dd367cd9 Add a few more commands with known types. John C. Vernaleo 2013-07-12 12:39:12 -04:00
  • 796df5b105 Tests and typos. John C. Vernaleo 2013-07-11 13:46:32 -04:00
  • e3c9ebd26f Add more concrete types. John C. Vernaleo 2013-07-10 13:47:59 -04:00
  • 39a1be8682 Increase test coverage. John C. Vernaleo 2013-05-15 14:20:17 -04:00
  • a7a9023bc1 Add ExistsTxSha to db interface. Owain G. Ainsworth 2013-07-10 00:11:02 +01:00
  • 1f773006f0 fix tests building from 166a546078426798175bfae320dda2ed1f36b0d0 Owain G. Ainsworth 2013-07-09 22:49:58 +01:00