Commit Graph

  • fa1d343430 Removed extra local variable assignment from DoubleSha256. Jonathan Gillham 2013-10-14 23:55:18 +01:00
  • 0536e3104c Don't send messages before handshake. Owain G. Ainsworth 2013-10-14 22:02:59 +01:00
  • 36c429c302 Bump maxpeers to 125 like bitcoind. Owain G. Ainsworth 2013-10-14 21:56:39 +01:00
  • 3afdc43e69 Fix reference counting when expiring peers. Owain G. Ainsworth 2013-10-14 21:56:23 +01:00
  • c99416c121 Include db type in interface tests loading message. Dave Collins 2013-10-14 14:34:54 -05:00
  • 01af05c8ac Add interface tests for FetchUnSpentTxByShaList. Dave Collins 2013-10-14 13:56:21 -05:00
  • 2ab3e0a382 Add interface tests for FetchTxByShaList. Dave Collins 2013-10-14 13:49:10 -05:00
  • 340e8b999e Switch a log.Error to Debug Josh Rickmar 2013-10-14 14:04:36 -04:00
  • a80f9da6c3 Add websocket handlers to the RPC server for wallet connections. Josh Rickmar 2013-08-14 16:55:31 -04:00
  • fb5f9c0b5a Separate interface tests and add test context. Dave Collins 2013-10-14 10:21:17 -05:00
  • 06cb2ec817 Add interface test for FetchTxBySha. Dave Collins 2013-10-14 00:42:58 -05:00
  • 6a3824b8aa Add interface test for ExistsTxSha. Dave Collins 2013-10-14 00:27:11 -05:00
  • f37fabb855 Add negative tests for FetchBlockShaByHeight. Dave Collins 2013-10-13 22:13:47 -05:00
  • 06d6e5fce8 Add db type to test error outputs. Dave Collins 2013-10-13 22:11:12 -05:00
  • 6eebf02183 Add interface test for FetchBlockShaByHeight. Dave Collins 2013-10-13 22:03:50 -05:00
  • 670d83a74e Improve error message for FetchBlockBySha test.wq Dave Collins 2013-10-13 21:37:17 -05:00
  • 396d1b056d Add interface test for FetchBlockBySha. Dave Collins 2013-10-13 21:30:19 -05:00
  • 2d84623493 Move non-interface specific tests into db_test.go. Dave Collins 2013-10-13 20:30:38 -05:00
  • ff429203c4 Start interface tests that require state. Dave Collins 2013-10-13 20:24:03 -05:00
  • 82d1898b12 Add interface test for unsupported dbtype failures. Dave Collins 2013-10-13 20:03:11 -05:00
  • d4c1214496 Add interface test for create and open failures. Dave Collins 2013-10-13 19:44:15 -05:00
  • 53ea2cf0ba Add interface test for adding a duplicate driver. Dave Collins 2013-10-13 19:28:40 -05:00
  • 562294f938 Add loadBlocks infrastructure to interface tests. Dave Collins 2013-10-13 19:25:21 -05:00
  • a27c37793b Add basic infrastructure for interface tests. Dave Collins 2013-10-13 18:16:11 -05:00
  • 31489c15b3 Remove the embedded error and satisify the builtin error interface Josh Rickmar 2013-10-09 09:44:28 -04:00
  • c88338d227 Slightly optimize GenerateInitialIndex. Dave Collins 2013-10-13 16:07:06 -05:00
  • 75896b63ec Add Api to fetch potentially fully spent tx (most recent only) Dale Rahn 2013-10-13 11:08:21 -04:00
  • 2ec9511891 Go fmt. Dave Collins 2013-10-13 13:02:45 -05:00
  • d7e057a020 Make use of new spent vs unspent btcdb APIs. Dave Collins 2013-10-13 02:27:50 -05:00
  • 9a29855c16 Convert inability to find input tx to a RuleError. Dave Collins 2013-10-13 02:36:23 -05:00
  • e5ba199eed Add example to BlockLocator comments. Dave Collins 2013-10-13 02:06:18 -05:00
  • 44aafcf742 Return on file error in address manager save. Dave Collins 2013-10-12 11:45:38 -05:00
  • 1f87ee217a Move testdata to root btcd directory. Dave Collins 2013-10-12 01:48:27 -05:00
  • b680d3539f Revive old validate Tx in parallel code, faster... Dale Rahn 2013-10-11 18:14:58 -04:00
  • 6212a7daff Improve rpcserver. John C. Vernaleo 2013-10-11 16:31:19 -04:00
  • 2a8122ffde Actually check orphan pool for IsOrphanInPool. Dave Collins 2013-10-11 15:46:24 -05:00
  • 6368d5b170 Respond to getdata requests for transactions. Dave Collins 2013-10-11 14:12:40 -05:00
  • 7ad6d73416 Add support for recent commands: John C. Vernaleo 2013-10-11 13:18:55 -04:00
  • 8be23c89ae Cleanup a few comments. Dave Collins 2013-10-11 10:24:13 -05:00
  • 39e7e5c4a1 Add minor optimization to transaction store fetch. Dave Collins 2013-10-11 10:22:23 -05:00
  • 6260dc959d When creating database, set version 1 so the correct options are set. Dale Rahn 2013-10-11 07:35:12 -04:00
  • 10907027b7 Change failure to talk to DNS seeders to debug. Dave Collins 2013-10-10 20:28:41 -05:00
  • 24aba3189e Update DISC subsystem log out for consistency. Dave Collins 2013-10-10 18:33:38 -05:00
  • 3d62b24fe1 Reformat periodic block height ouput and add time. Dave Collins 2013-10-10 18:24:23 -05:00
  • 9772626dd8 Improve logging. Dave Collins 2013-10-10 14:13:54 -05:00
  • 54b5cb56e7 Move logger code into its own file. Dave Collins 2013-10-10 14:13:54 -05:00
  • 55b300b6c2 improve addblock David Hill 2013-10-10 14:05:54 -04:00
  • 8a2299c1e1 improve dropafter as with showblock David Hill 2013-10-10 13:58:11 -04:00
  • 2231e04e2b improve showblock by setting default datadir and requiring -s David Hill 2013-10-10 13:51:20 -04:00
  • c4d7b2d2c6 Improve showblock options, add --testnet and change default db to leveldb to match btcd David Hill 2013-10-10 13:42:21 -04:00
  • e888372019 Optimize transaction lookups. Dave Collins 2013-10-10 12:23:46 -05:00
  • 486907c441 Add -testnet flag to showblock. Josh Rickmar 2013-10-10 13:22:55 -04:00
  • a275687f3f Make peer load message consistent and fix spello. Dave Collins 2013-10-10 10:05:53 -05:00
  • e04986528c Add --nocheckpoints option. Dave Collins 2013-10-09 19:34:02 -05:00
  • 32790d52d8 Add tests for HaveBlock. Dave Collins 2013-10-09 18:43:22 -05:00
  • 003a41f66f Slightly cleaner fix. Dale Rahn 2013-10-09 19:24:40 -04:00
  • 6d078d8115 Implement chain setup infrastructure in the tests. Dave Collins 2013-10-09 18:29:53 -05:00
  • 53ca29efad fix multi-byte bug in previous. Owain G. Ainsworth 2013-10-10 00:20:14 +01:00
  • 4e608c115f Prevent asInt() from modifying stack data. Owain G. Ainsworth 2013-10-09 23:59:23 +01:00
  • cdc3002c85 Fix previous. We care if we have the block OR it is an orphan, not both. Owain G. Ainsworth 2013-10-09 16:35:33 +01:00
  • c1f0d9b1ad Make leveldb the default db for findcheckpoint. Dave Collins 2013-10-08 20:50:15 -05:00
  • a0119b056e Move transaction handling into block manager. Dave Collins 2013-10-08 10:47:00 -05:00
  • e8d73d83ef Add btcctl; currently a barebones utility to send commands to btcd. David Hill 2013-10-08 21:18:49 -04:00
  • 093ddbe193 *sigh*, accidentally commited a wrong chunk as well as the right chunk. Owain G. Ainsworth 2013-10-09 01:27:19 +01:00
  • cd68e3060f Remove extra msg in log message. Dave Collins 2013-10-08 17:45:05 -05:00
  • 7ff3d5f871 Handle sign extended numbers in parsing variable length opcodes. Owain G. Ainsworth 2013-10-08 23:21:40 +01:00
  • f4dac3abf0 Update to use latest btcwire invtype constants. Dave Collins 2013-10-08 15:55:07 -05:00
  • 5c8fddf4b4 Add deprecated comments to legacy InvVect_* consts. Dave Collins 2013-10-08 15:51:34 -05:00
  • 93d86305a2 Deprecate InvVect_* constants in favor of InvType*. Dave Collins 2013-10-08 15:36:20 -05:00
  • c8160a57aa Switch to leveldb by default. Dave Collins 2013-10-08 15:00:34 -05:00
  • 67838afb20 Go fmt and comments. Dave Collins 2013-10-08 13:34:04 -05:00
  • 2ad0d34d27 Add updating instruction to README.md. Dave Collins 2013-10-08 13:30:36 -05:00
  • b911e7e455 Replace HaveInventory with HaveBlock. Dave Collins 2013-10-08 12:32:15 -05:00
  • 8a743c344a Update all comments and test coverage with new func name Josh Rickmar 2013-10-08 13:12:24 -04:00
  • 83a19b239d Replace ScriptToAddress with ScriptToAddrHash to return an address hash. Josh Rickmar 2013-10-08 10:49:45 -04:00
  • 21a2158eca Fixes for btcutil and btcscript api changes Josh Rickmar 2013-10-08 12:37:06 -04:00
  • 697532bd68 Add handling for mempool command. Dave Collins 2013-10-08 00:04:51 -05:00
  • d4e006e515 Update findcheckpoint to support testnet and dbtype. Dave Collins 2013-10-07 20:53:25 -05:00
  • 1d2c48555b Misc cleanup. Dave Collins 2013-10-07 19:24:44 -05:00
  • 19d28f90e6 Log transactions rejected from mempool as debug. Dave Collins 2013-10-07 18:45:53 -05:00
  • 52a1488eaf bitcoind only fails on invalid (undefined) opcodes when they are executed. Owain G. Ainsworth 2013-10-07 23:36:39 +01:00
  • 849c830cf8 Move DNS seed consts to same file that uses them. Dave Collins 2013-10-07 17:57:43 -05:00
  • c03f2b757b Move initial DNS seeding to own func. Dave Collins 2013-10-07 17:38:45 -05:00
  • 4b728df738 Update some comments and code consistency. Dave Collins 2013-10-07 17:27:59 -05:00
  • ca5c734e05 Add warning if there are no sync peers. Dave Collins 2013-10-07 17:09:33 -05:00
  • 8e7d900201 Up some limits on !windows. Marco Peereboom 2013-10-07 16:24:19 -05:00
  • 995d8da491 Handle another removal case missed in prev commit. Dave Collins 2013-10-07 10:10:10 -05:00
  • 219a6131f4 Correct all list/container loops that remove items. Dave Collins 2013-10-07 09:04:11 -05:00
  • ff2c88e3b4 Fix an import path. John C. Vernaleo 2013-10-07 10:06:15 -04:00
  • 95ecbadb8e Ensure readVarInt handles short buf on first byte. Dave Collins 2013-10-06 22:06:34 -05:00
  • 0b334bc841 Correct reading of serialized height in coinbase. Dave Collins 2013-10-06 13:01:54 -05:00
  • bce548cb99 Update reorg test to insert genesis block first. Dave Collins 2013-10-06 13:51:10 -05:00
  • 8e12234c56 Fix a couple of comments. Dave Collins 2013-10-05 17:40:54 -05:00
  • c28c6e7636 Correct blog link in README.md. Dave Collins 2013-10-05 02:51:12 -05:00
  • 19a238825b Fix typo in README.md Dave Collins 2013-10-05 02:48:03 -05:00
  • 4864298884 Update README. BTCD_0_3_0_ALPHA Dave Collins 2013-10-04 22:59:05 -05:00
  • 9197342df0 Add deps.txt to track all deps used per release. Dave Collins 2013-10-04 16:03:50 -05:00
  • 168ff0e129 Bump version to 0.3.0. Dave Collins 2013-10-04 14:29:37 -05:00
  • bba9fed133 Accepted transactions should log at debug level. Dave Collins 2013-10-04 14:16:55 -05:00
  • 4151416b16 Change processing block log message to trace. Dave Collins 2013-10-04 13:41:24 -05:00