Commit Graph

  • b96cb4317a Alphabetise command handlers. Owain G. Ainsworth 2013-10-29 00:43:09 +00:00
  • 975640c6b3 Switch rpcserver.go over to using the jsoncmd apis. Owain G. Ainsworth 2013-10-28 22:53:16 +00:00
  • 3c405563bd Add missing return; avoids panic. Owain G. Ainsworth 2013-10-28 22:53:06 +00:00
  • 9f96e59392 Rough and ready cut over of btcctl to use the btcjson command api. Owain G. Ainsworth 2013-10-28 16:45:44 +00:00
  • 08fc3050a3 Convert to use new btcutil.Tx and btcchain APIs. Dave Collins 2013-10-28 15:44:38 -05:00
  • 6165e9b95b Convert API to use new btcutil.Tx. Dave Collins 2013-10-28 15:17:53 -05:00
  • b0899204d9 Update NewScript example after API change. Josh Rickmar 2013-10-27 19:42:45 -04:00
  • 83b1e74d6c Remove explicit garbage collection. David Hill 2013-10-26 11:08:23 -04:00
  • 19880b177e Optimize InsertBlock with cached tx hashes. Dave Collins 2013-10-26 18:02:09 -05:00
  • 7d8bb5ab4c Add --cpuprofile option. Dave Collins 2013-10-26 16:12:54 -05:00
  • 1aa65e6863 Correct and improve SIGINT (Ctrl+C) handling. Dave Collins 2013-10-26 16:02:23 -05:00
  • b6e4ae4441 Optimize duplicate transaction input check. Dave Collins 2013-10-26 14:31:15 -05:00
  • 36bd4b8994 Revert "Enable memdb support." Dave Collins 2013-10-26 01:58:50 -05:00
  • 7b01074f5e Add simple benchmark for MruInventoryMap handling. Dave Collins 2013-10-26 01:57:00 -05:00
  • 261e61f8ee Vastly optimize the MRU inventory handling. Dave Collins 2013-10-26 01:01:49 -05:00
  • 1fadf619c7 Enable memdb support. Dave Collins 2013-10-25 21:41:17 -05:00
  • 24a5645fce Update for recent btcchain tx script val change. Dave Collins 2013-10-25 10:53:40 -05:00
  • 8eead5217d Add flag bitmask to NewScript for canonical sig checks. David Hill 2013-10-24 10:13:58 -04:00
  • 98ac46b37d Add ParseDERSignature. Josh Rickmar 2013-10-24 16:13:27 -04:00
  • e396121192 More info commands. Owain G. Ainsworth 2013-10-25 20:02:13 +01:00
  • 711f229487 add getmininginfo to switch and move to alphabetical order. Owain G. Ainsworth 2013-10-25 19:50:39 +01:00
  • 0daf04f9bd More get commands. Owain G. Ainsworth 2013-10-25 19:42:25 +01:00
  • 00382bed8d Adding to tests. John C. Vernaleo 2013-10-25 13:07:45 -04:00
  • 020444906b Getblockhash and getblock template Owain G. Ainsworth 2013-10-25 19:00:33 +01:00
  • ebc4c17162 Add basic test for getbestblockhash. Owain G. Ainsworth 2013-10-25 18:36:27 +01:00
  • d1ac7b9384 getaddressesbyaccoutn and getbalance test. Owain G. Ainsworth 2013-10-25 18:32:51 +01:00
  • fedafbdd49 go fmt Owain G. Ainsworth 2013-10-25 18:23:53 +01:00
  • b3b8b37855 test and fix bugs in getaddednodeinfo Owain G. Ainsworth 2013-10-25 18:23:28 +01:00
  • 77316a003a fix method for getaccountaddress. Owain G. Ainsworth 2013-10-25 17:47:11 +01:00
  • bac5600145 basic functionality test for decoderawtransactioncmd Owain G. Ainsworth 2013-10-25 17:22:07 +01:00
  • 6227c446d3 Add a framewowrk for parsing and creating json commands. Owain G. Ainsworth 2013-10-22 15:12:12 +01:00
  • 89d86d07ac ValidateTransactionScripts now accepts script flags. Dave Collins 2013-10-25 10:33:37 -05:00
  • bd297491b9 Make var length string overflow tests consistent. Dave Collins 2013-10-25 09:55:00 -05:00
  • a4c5c620c6 Finish a TODO in the message headers tests. Dave Collins 2013-10-24 23:39:49 -05:00
  • d1edbf1f0b Add tests to exercise intential malicious overflow. Dave Collins 2013-10-24 23:36:15 -05:00
  • 5cc32bbfc7 Add bounds checking to all variable length allocs. Dave Collins 2013-10-24 23:13:51 -05:00
  • 70aa92bf0d Test some boundary conditions that exercise 'flaws' in the current btcwire protocol. Dale Rahn 2013-10-24 14:39:40 -04:00
  • 618b885e9e Notify wallets of mined transactions. Josh Rickmar 2013-10-23 11:07:00 -04:00
  • 2bb8c5d5cc Bring back default redirect for profiling. Dave Collins 2013-10-23 10:48:17 -05:00
  • 5a4772bdc6 Change the RPC server to use it's own Muxer. Dave Collins 2013-10-23 10:45:43 -05:00
  • 8970d4bf99 Revert "Add default redirect for profiling when enabled." Dave Collins 2013-10-23 10:25:09 -05:00
  • cc6cfdad9e Add default redirect for profiling when enabled. Dave Collins 2013-10-23 09:39:02 -05:00
  • 7846b2f4e2 Update README.md TODO to remove 32-bit MSI. Dave Collins 2013-10-22 17:05:43 -05:00
  • 1e93cdad6e Add 0.3.2 deps to deps.txt. BTCD_0_3_2_ALPHA Dave Collins 2013-10-22 16:44:33 -05:00
  • 3b025b2352 Prepare for release 0.3.2. Dave Collins 2013-10-22 16:40:51 -05:00
  • 998682ec83 Remove sqlitedb from the common tests. Dave Collins 2013-10-22 15:28:32 -05:00
  • 5eee027f92 Correct leveldb package documenation. Dave Collins 2013-10-22 15:25:33 -05:00
  • 8f75a09479 Remove sqlite as an available db type. Dave Collins 2013-10-22 15:01:29 -05:00
  • cbd3d730a9 Add initial support for submitblock command. John C. Vernaleo 2013-10-22 15:11:01 -04:00
  • 1420eccf73 Use rpc errors defined in btcjson. John C. Vernaleo 2013-10-22 10:20:28 -04:00
  • 9ddb768c47 Define errors. John C. Vernaleo 2013-10-22 09:51:14 -04:00
  • 9ded3fa2cf Generate usage from handler data in btcctl. Dave Collins 2013-10-22 10:56:56 -05:00
  • d4f980c71f Show usage on no params to btcctl. Dave Collins 2013-10-22 10:15:46 -05:00
  • c55152ef7e Always return non-zero code from btcctl on error. Dave Collins 2013-10-22 10:01:13 -05:00
  • 850870f14b Fix some doc typos (from oga@) John C. Vernaleo 2013-10-22 09:18:55 -04:00
  • 629168b7ae Perform display handler check before issues RPC. Dave Collins 2013-10-22 00:38:51 -05:00
  • 4e5cd1a326 Allow nil conversion handlers in btcctl. Dave Collins 2013-10-21 23:03:11 -05:00
  • 2ea4239f5e Improve btcctl. Dave Collins 2013-10-21 22:56:02 -05:00
  • 102fc5f513 Rework the mempool locking code. Dave Collins 2013-10-21 18:20:31 -05:00
  • 27abb0eb3e add "addnode" to btcctl David Hill 2013-10-21 14:09:05 -04:00
  • e1a02d71b3 add getpeerinfo to btcctl David Hill 2013-10-21 13:26:40 -04:00
  • 440f336d34 Correct addnode's required argument type. John C. Vernaleo 2013-10-21 13:22:52 -04:00
  • a975b60a0a add getconnectioncount skeleton to rpc David Hill 2013-10-21 13:00:13 -04:00
  • 3130659cdf add getconnectioncount to btcctl David Hill 2013-10-21 12:59:07 -04:00
  • 5bfc9c7eed Remove possible nil pointer dereferences. Josh Rickmar 2013-10-20 12:50:31 -04:00
  • d44d253dff Make quit channel with RPC server. Dave Collins 2013-10-20 11:05:35 -05:00
  • 0abfdcc88b fix reversed variables in a warning message. David Hill 2013-10-17 16:58:57 -04:00
  • e5620d6387 Correct reply for getrawmempool RPC command. Dave Collins 2013-10-17 12:11:04 -05:00
  • ff20c420a2 add decoderawtransaction, getbestblockhash, getdifficulty, and getrawmempool to btcctl. David Hill 2013-10-17 12:35:27 -04:00
  • 4c50ff541f fix getbestblockhash David Hill 2013-10-17 12:33:46 -04:00
  • ffed6599ce add getrawmempool to rpcserver David Hill 2013-10-17 12:23:53 -04:00
  • 40c75b27ac Add CalcScriptInfo entrypoint to return info about scriptpairs. Owain G. Ainsworth 2013-10-09 00:13:52 +01:00
  • 5a9cc91e62 Add an idle timer for peers. Owain G. Ainsworth 2013-10-16 15:49:09 +01:00
  • bc89dedf9a Remove prevGetBlocksMutex. Owain G. Ainsworth 2013-10-16 00:57:57 +01:00
  • a41c874837 Remove stale comment. Owain G. Ainsworth 2013-10-16 00:56:48 +01:00
  • 2231456c23 Make it possible to get a notification when a message has been sent. Owain G. Ainsworth 2013-10-11 18:30:14 +01:00
  • 178d9dc7b0 Peer: use QueueMessage instead of directly using the channel. Owain G. Ainsworth 2013-10-11 18:23:56 +01:00
  • 163b32887b Add blockmanager.current with extra checks for whether we are up to date. Owain G. Ainsworth 2013-10-03 20:48:10 +01:00
  • bbcfdcf5aa Clean up notification contexts and goroutines after ws disconnect. Josh Rickmar 2013-10-16 14:12:00 -04:00
  • 90fbae1781 give btcctl some options instead of using hardcoded values David Hill 2013-10-16 19:19:26 -04:00
  • f346c36a0d add setLimits stub for plan 9 mischief 2013-10-16 12:45:53 -07:00
  • ae5810bc50 Change default RPC port to 8334 (18334 testnet). Dave Collins 2013-10-16 15:01:43 -05:00
  • ccfcbebbdc Add config file information to command doc. Dave Collins 2013-10-16 10:15:56 -05:00
  • dd6b71300f Add basic btcd command documentation. Dave Collins 2013-10-16 10:04:12 -05:00
  • f10d2c9449 Add sample relnotes format release script expects. Dave Collins 2013-10-15 18:15:36 -05:00
  • b03817c0d8 Add script to help prepare releases. Dave Collins 2013-10-15 18:05:24 -05:00
  • f40181615e Unix line endings on CHANGES file. Dave Collins 2013-10-15 17:53:16 -05:00
  • 5a71ba04a9 Add CHANGES file. Dave Collins 2013-10-15 17:11:43 -05:00
  • 7eb9deee35 Show the version on server startup. BTCD_0_3_1_ALPHA Dave Collins 2013-10-15 15:54:00 -05:00
  • b4cbbb1f8b Add 0.3.1 deps to deps.txt. Dave Collins 2013-10-15 12:03:09 -05:00
  • 8f4a34e4f1 Bump version to 0.3.1. Dave Collins 2013-10-15 12:01:52 -05:00
  • d402cb4196 combine two log statements into one David Hill 2013-10-15 12:17:23 -04:00
  • d6adef91f8 Announce our mailing lists David Hill 2013-10-15 12:16:17 -04:00
  • 14f81aa479 Add handler for notfound messages. Dave Collins 2013-10-15 10:35:42 -05:00
  • 3b56ccaff7 Add interface test for NewestSha. Dave Collins 2013-10-15 10:22:08 -05:00
  • b7b9823f6c Fix potential issue with dependent orphans. Dave Collins 2013-10-15 09:46:16 -05:00
  • 0c8a15a9d5 Add tests to verify integrity after clearing cache. Dave Collins 2013-10-14 20:37:58 -05:00
  • 54ad820133 Combine two test functions used to fetch tx lists. Dave Collins 2013-10-14 19:24:08 -05:00
  • a9d719f0c4 Separate interface integrity tests. Dave Collins 2013-10-14 18:29:50 -05:00
  • 9ec86518ac Improve interface test error messages. Dave Collins 2013-10-14 18:27:12 -05:00