Commit Graph

  • 0195306ff7 Updated missed function call for lint rename. Dave Collins 2013-09-18 11:25:18 -05:00
  • 94c795dec4 Add AMGR prefix to log messages for consistency. Dave Collins 2013-09-18 11:21:19 -05:00
  • a5cc716940 Address some minor things reported by golint. Dave Collins 2013-09-18 00:36:40 -05:00
  • 3ca1e82f66 Make go vet happy. Dave Collins 2013-09-18 00:27:47 -05:00
  • 465327c62d Expand environment variables in datadir. Dave Collins 2013-09-18 00:13:36 -05:00
  • f2190d21dd Add profile option to sample configuration file. Dave Collins 2013-09-17 17:28:07 -05:00
  • eed4c4df9c Add log message for profile server listen port. Dave Collins 2013-09-17 17:15:49 -05:00
  • fc0cd75046 gofmt. Dave Collins 2013-09-17 17:04:40 -05:00
  • 68f30c7367 add missing empty string test, pointed out by davec Marco Peereboom 2013-09-17 17:46:03 -04:00
  • ada49f1413 Add a flag to enable live profiling. Marco Peereboom 2013-09-17 17:40:27 -04:00
  • 7609ff396a Comment multi-peer connect while code is under dev. Dave Collins 2013-09-17 10:58:16 -05:00
  • 92a8605b24 Continue work on addrmgr and multi-peer. Dave Collins 2013-09-12 14:19:10 -05:00
  • 6c05e9d475 Flesh out addrmanger with some basic functionality. Owain G. Ainsworth 2013-08-01 18:00:14 +01:00
  • 79bb334b9a Remove old regression test db in regtest mode. Dave Collins 2013-09-15 16:58:02 -05:00
  • f3cd8174bb Use the new btcdb.SupportedDBs for known db types. Dave Collins 2013-09-15 15:21:46 -05:00
  • 62e38e29e5 Add a new function named SupportedDBs. Dave Collins 2013-09-15 15:18:46 -05:00
  • 629a1c9d06 Rework the data path and db type handling. Dave Collins 2013-09-15 12:08:42 -05:00
  • 252ecf8b00 Add basic infrastructure for upgrading btcd. Dave Collins 2013-09-15 13:39:28 -05:00
  • 1c9a7095b3 Change --dbdir flag to --datadir. Dave Collins 2013-09-13 18:02:10 -05:00
  • a2946ea14b Don't add "btcd.ldb" directory to provided path. Dave Collins 2013-09-13 17:31:00 -05:00
  • be3dc1837c Gofmt latest dbtype config additions. Dave Collins 2013-09-13 14:52:34 -05:00
  • 1530141ba0 This query should be performed as part of the transaction, not outside it. Dale Rahn 2013-09-11 22:43:08 -04:00
  • 9e27c82a23 Fix error messages (pointed out by go vet) Dale Rahn 2013-09-13 11:49:30 -04:00
  • 5e4c78a1b7 Fix a shadowed return parameter. Dale Rahn 2013-09-10 14:58:36 -04:00
  • af7aa39624 Allow config file and command line to select between sqlite and levdldb Dale Rahn 2013-09-05 14:42:12 -04:00
  • 33b65f943f Increment waitgroups before goroutines are started. Dave Collins 2013-09-12 17:24:37 -05:00
  • 69efe46eb5 Fix a comment typo and comment outputBufferSize. Dave Collins 2013-09-12 12:11:22 -05:00
  • e4577ab5f4 Syncrhonize access to the blockPeer map. Dave Collins 2013-09-12 12:10:48 -05:00
  • f5c03696f7 Remove relay log message and update comment. Dave Collins 2013-09-12 09:29:42 -05:00
  • b58787f87a Remove block relay from TODO list. Dave Collins 2013-09-12 09:15:38 -05:00
  • 121f7a47d4 Add block inventory relay. Dave Collins 2013-09-09 10:58:56 -05:00
  • 7d679a6228 Adjust Block height indicators properly when database is created. Dale Rahn 2013-09-10 14:17:24 -04:00
  • 9049bcacec Update error message for zero hash change. Dave Collins 2013-09-10 10:47:49 -05:00
  • d9404fe880 Correct test for zero hash versus nil on empty db. Dave Collins 2013-09-10 10:44:26 -05:00
  • adc73cbc9d quiet. Dale Rahn 2013-09-10 11:25:13 -04:00
  • 85553133ce gofmt. Dave Collins 2013-09-09 15:50:13 -05:00
  • 30f2003301 Remove spurious log.Info prints. Dave Collins 2013-09-09 15:48:18 -05:00
  • 66d6f10d5d Fix NewestSha. Dave Collins 2013-09-09 15:47:46 -05:00
  • 96f7305c29 One DB instad of many. Dale Rahn 2013-08-22 11:40:59 -04:00
  • adf7149838 Update for recent btcchain orphan notify change. Dave Collins 2013-09-09 19:58:38 -05:00
  • b557a33f7c Send orphan hash in notifications instead of root. Dave Collins 2013-09-09 19:35:36 -05:00
  • 3525552140 Update TODO list in README.md. Dave Collins 2013-09-09 11:00:46 -05:00
  • afddca6870 Use log.Errorf for error messages with params. Dave Collins 2013-09-09 10:59:31 -05:00
  • 0ba8cb9187 Send notification in their own goroutine. Dave Collins 2013-09-06 11:05:04 -05:00
  • cf7438a646 Rework getblocks handling. Dave Collins 2013-09-05 01:20:48 -05:00
  • 83a9bbd4dd Update getheaders unknown block locator handling. Dave Collins 2013-09-04 20:24:58 -05:00
  • f07d427837 Rework and correct getheaders handling. Dave Collins 2013-09-04 18:17:42 -05:00
  • cbfee93b74 Modify syncing code to support multiple peers. Dave Collins 2013-09-03 16:55:14 -05:00
  • a69ba92006 Set services to remote peer services for all peers. Dave Collins 2013-09-03 13:34:27 -05:00
  • 83407ade61 Rework block fetching code. Dave Collins 2013-08-29 14:44:43 -05:00
  • 49f6b7d35d Add checkpoint at block 250000. Dave Collins 2013-08-29 12:01:19 -05:00
  • 4ac899e26f Clear disconnected transactions. Dave Collins 2013-08-29 08:56:27 -05:00
  • 117765ba7c Correct error message in other input tx lookup. Dave Collins 2013-08-28 13:50:47 -05:00
  • ffa56b437c Correct error msg for missing input transaction. Dave Collins 2013-08-28 13:46:17 -05:00
  • fc804aaec0 Add block locator infastructure. Dave Collins 2013-08-28 11:45:21 -05:00
  • fc1b2e54d3 Set best chain during GenerateInitialIndex. Dave Collins 2013-08-28 10:42:38 -05:00
  • d0be0ed5ed Add HaveInventory function. Dave Collins 2013-08-22 15:50:57 -05:00
  • 5c6911c775 Add IsKnownOrphan function. Dave Collins 2013-08-20 11:19:34 -05:00
  • 9d5f855580 Export GetOrphanRoot. Dave Collins 2013-08-20 11:13:39 -05:00
  • f4bae7dc41 Send orphan root in notifies instead of its parent. Dave Collins 2013-08-22 14:37:06 -05:00
  • b66abdf6ba Initial leveldb code. Dale Rahn 2013-08-03 11:20:05 -04:00
  • b4c6a5b8ab fmt Dale Rahn 2013-08-22 09:32:23 -04:00
  • f7387f217a Remove current directory config autoload override. Dave Collins 2013-08-19 14:48:46 -05:00
  • 6acd51f4b4 Only advertise local addr to peers when listenting. Dave Collins 2013-08-17 15:26:51 -05:00
  • 627959adff Ignore config file addpeer entries with --regtest. Dave Collins 2013-08-17 14:44:43 -05:00
  • 2835238287 Correct child and orphan block removal logic. Dave Collins 2013-08-17 14:05:36 -05:00
  • 60779ea8df Add message blocking semantics to block processing. Dave Collins 2013-08-16 13:35:38 -05:00
  • b0ca6d5903 Fix typo in comment. John C. Vernaleo 2013-08-15 10:15:25 -04:00
  • 5d40d51672 Correct bug in walletpassphrase arguements. John C. Vernaleo 2013-08-14 10:15:16 -04:00
  • 7a7fa56407 Make id an interface in CreateMessageWithId to match the struct better. John C. Vernaleo 2013-08-13 17:01:38 -04:00
  • 2e77f0bb0e Add CreateMessageWithId to allow custom id to be sent with message. John C. Vernaleo 2013-08-13 14:05:08 -04:00
  • a456d195d6 Add JSONGetMethod to get method name from raw json reply. John C. Vernaleo 2013-08-13 12:56:30 -04:00
  • 96a68227bd Add RpcRawCommand and export ReadResultCommand. John C. Vernaleo 2013-08-12 12:50:04 -04:00
  • 8679275090 Fix doc example typo Andrew Tian 2013-08-12 22:53:50 -05:00
  • 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