Commit Graph

  • 89eae6f590 Update utilities to use new btcutil.AppDataDir. Dave Collins 2013-11-11 10:48:21 -06:00
  • 72c186f9a9 Migrate to new app data directories. Dave Collins 2013-11-10 17:12:45 -06:00
  • 38bebf2036 Fix another issue with a godoc comment. Josh Rickmar 2013-11-08 14:13:47 -05:00
  • 91b030cb76 Fix comments. Josh Rickmar 2013-11-08 14:07:57 -05:00
  • 0c37bf3b50 Marshal txmined notification results correctly. Josh Rickmar 2013-11-08 13:03:34 -05:00
  • 41838b83b0 Use btcws package for wallet notifications. Josh Rickmar 2013-11-08 12:43:10 -05:00
  • 3270be61fc go fmt Josh Rickmar 2013-11-08 12:42:32 -05:00
  • f32b5692d5 Add btcd notification types and parser. Josh Rickmar 2013-11-08 12:41:04 -05:00
  • d0bbcacfc0 Modify the tests to use memory database backend. Dave Collins 2013-11-08 02:52:31 -05:00
  • d226968472 Add a new memory database backend named memdb. Dave Collins 2013-10-13 01:59:55 -05:00
  • ec70b6d1b3 Add comments which describe what is spent where. Dave Collins 2013-11-02 02:52:57 -05:00
  • e10cb732fd Fix. Dale Rahn 2013-11-07 18:24:27 -05:00
  • af311078b4 Correct btcctl getblockhash. Dave Collins 2013-11-07 17:07:26 -06:00
  • d81a2c9067 Check for 0 shas before dereferencing list Owain G. Ainsworth 2013-11-07 22:26:43 +00:00
  • 5295be070d Make the CheckBlockSanity function context free. Dave Collins 2013-11-07 16:06:01 -06:00
  • 09b53a8fca Export the CheckBlockSanity function. Dave Collins 2013-11-07 15:38:35 -06:00
  • ced24946a4 Rework JSON handlers to take a btcjson.Cmd. Josh Rickmar 2013-11-07 12:47:54 -05:00
  • d403863e2b Don't marshal a function for getbestblockhash replies. Josh Rickmar 2013-11-07 13:53:22 -05:00
  • f4a6449ad3 Actually just fail the opcode, not returning an error. Owain G. Ainsworth 2013-11-07 18:22:48 +00:00
  • f0e7011b6f fix previous. Owain G. Ainsworth 2013-11-07 17:32:11 +00:00
  • 3aaafbd7fa handle op_checksig with an empty signature on the stack. Owain G. Ainsworth 2013-11-07 17:09:22 +00:00
  • b97a2145d8 Try to match bitcoind sendrawtransaction RPC errors. Josh Rickmar 2013-11-07 10:34:55 -05:00
  • dd41f7e91a Minor cleanup. Dave Collins 2013-11-07 06:21:44 -06:00
  • 6f61e0acc2 Add negative tests for updated read/writeElement. Dave Collins 2013-11-07 05:37:48 -06:00
  • 119a2ddc75 Add tests for updated readElement/writeElement. Dave Collins 2013-11-07 05:17:17 -06:00
  • 9ee6a8aeb6 Optimize writeElement. Dave Collins 2013-11-07 00:56:20 -06:00
  • 7de20add63 Add benchmark for writeBlockHeader. Dave Collins 2013-11-07 00:30:20 -06:00
  • bc85a31016 Optimize readElement. Dave Collins 2013-11-06 23:00:17 -06:00
  • d21050a8aa Add benchmark for readBlockHeader. Dave Collins 2013-11-06 20:35:17 -06:00
  • 9b7e3527b0 Optimize transaction Deserialize. Dave Collins 2013-11-06 18:41:41 -06:00
  • 92b2f9e6b3 Add benchmarks for transaction Deserialize. Dave Collins 2013-11-06 18:01:29 -06:00
  • a81e081cc4 Optimize transaction Serialize. Dave Collins 2013-11-06 17:43:44 -06:00
  • fe713b8013 Add benchmarks for transaction Serialize. Dave Collins 2013-11-06 16:56:42 -06:00
  • 1a1f93865f Optimize writeTxIn. Dave Collins 2013-11-06 16:38:51 -06:00
  • 63cc0851e5 Add benchmarks for writeTxIn. Dave Collins 2013-11-06 16:21:49 -06:00
  • 59da692131 Optimize readTxIn. Dave Collins 2013-11-06 16:18:15 -06:00
  • 1fe9f9e165 Add benchmarks for readTxIn. Dave Collins 2013-11-06 16:06:53 -06:00
  • cece305f78 Optimize readTxOut. Dave Collins 2013-11-06 15:49:26 -06:00
  • 0228508172 Add benchmarks for readTxOut. Dave Collins 2013-11-06 15:40:46 -06:00
  • a7e3ee6aeb Optimize writeTxOut. Dave Collins 2013-11-06 15:29:39 -06:00
  • ab8c8e2d39 Add benchmarks for writeTxOut. Dave Collins 2013-11-06 15:21:37 -06:00
  • c1a1e6b6b2 keep track of connected groups as we gain and lose outbound peers. Owain G. Ainsworth 2013-10-31 19:53:29 +00:00
  • 6949a4f940 Have a list per class of peer instead of just one. Owain G. Ainsworth 2013-10-31 17:51:40 +00:00
  • 4d80750afe Move all local data to peerhandler into a peerState structure Owain G. Ainsworth 2013-10-30 17:22:35 +00:00
  • d8c5222474 Rework the way we send notifications over the websocket Owain G. Ainsworth 2013-11-04 18:31:56 +00:00
  • 8c2b9ae06e Begin using btcws. Josh Rickmar 2013-11-06 11:20:36 -05:00
  • b57628ea9f Initial commit. Josh Rickmar 2013-11-06 11:10:22 -05:00
  • 48c350f379 Update test coverage report. Dave Collins 2013-11-06 07:44:51 -06:00
  • 73f4ee623b Optimize readOutPoint. Dave Collins 2013-11-06 07:37:34 -06:00
  • d63e0dd455 Add benchmarks for readOutPoint. Dave Collins 2013-11-06 07:33:37 -06:00
  • f54b010e4b Optimize writeOutPoint. Dave Collins 2013-11-06 00:47:57 -06:00
  • 547b648702 Add benchmarks for writeOutPoint. Dave Collins 2013-11-06 00:43:52 -06:00
  • 8a1828a2d6 Optimize writeVarString. Dave Collins 2013-11-05 23:59:40 -06:00
  • fa8f666e8c Add benchmarks for writeVarString. Dave Collins 2013-11-05 23:49:34 -06:00
  • 4002051a22 Optimize readVarString. Dave Collins 2013-11-05 23:33:21 -06:00
  • b830e2ddf3 Add benchmarks for readVarString. Dave Collins 2013-11-05 23:08:55 -06:00
  • 052c2ca8d3 Correct benchmark comments. Dave Collins 2013-11-05 23:03:54 -06:00
  • 6263efcc71 Slightly optimize readVarInt. Dave Collins 2013-11-05 21:53:16 -06:00
  • 87ce23d679 Add benchmarks for readVarInt. Dave Collins 2013-11-05 21:35:28 -06:00
  • 50c10faf4e Optimize writeVarInt. Dave Collins 2013-11-05 20:32:36 -06:00
  • 900db0b444 Add benchmarks for writeVarInt. Dave Collins 2013-11-05 19:56:12 -06:00
  • e8321441af add a stringer for ScriptClass Owain G. Ainsworth 2013-11-06 00:10:16 +00:00
  • 56a62309ae Add some error messages to be used by btcd. Owain G. Ainsworth 2013-11-05 22:35:06 +00:00
  • 13ef0e2be9 Rework leveldb support for duplicate tx. Dale Rahn 2013-09-30 17:44:26 -04:00
  • 078fb4d38e Delete obsolete API functions. Dale Rahn 2013-10-05 21:05:29 -04:00
  • b406ca7ae7 If ExistsTx fails try looking up the tx, it may be fully spent. Dale Rahn 2013-10-28 23:01:52 -04:00
  • b72f0c6474 Make peerinfo output match bitcoind a bit better. John C. Vernaleo 2013-11-04 14:19:24 -05:00
  • a97fd5fe2c add test for testing IsOnCurve David Hill 2013-11-04 14:42:21 -05:00
  • 1f087adf15 Separate ws command handlers into separate funcs. Josh Rickmar 2013-11-04 13:50:24 -05:00
  • 53e1c2d6bd Stringify the address hash for txRequests map. Josh Rickmar 2013-11-04 11:59:48 -05:00
  • 506c3eacac Add padding for pubkey numbers. Josh Rickmar 2013-11-01 16:09:46 -04:00
  • 80981b4696 Update to no longer use deprecated TxShas. Dave Collins 2013-11-01 21:17:06 -05:00
  • 815a0b0a84 Improve test coverage. John C. Vernaleo 2013-10-31 16:37:14 -04:00
  • 2511fee152 Complete rescan extension. Josh Rickmar 2013-10-30 22:56:45 -04:00
  • 3f33e419a9 Improve test coverage and fix bug found by tests. John C. Vernaleo 2013-10-31 09:31:32 -04:00
  • 5a46de5103 Add support for min required fees in tx mempool. Dave Collins 2013-10-31 12:19:38 -05:00
  • a4794798d4 Make use of new btcwire SerializeSize API. Dave Collins 2013-10-31 00:28:37 -05:00
  • b7b700fd5a Add tests for the new SerializeSize functions. Dave Collins 2013-10-31 00:18:34 -05:00
  • 26cb71d805 Expose new SerializeSize API for transactions. Dave Collins 2013-10-31 00:09:52 -05:00
  • cbf648a02f Slightly optimize writeVarInt for the normal case. Dave Collins 2013-10-30 21:03:57 -05:00
  • 470ef8c58e Use correct calls to tx.Sha() in RPC server. Dave Collins 2013-10-30 18:40:55 -05:00
  • e1dd773e7c Improve test coverage and fix some bugs found by tests. John C. Vernaleo 2013-10-30 09:58:57 -04:00
  • 70094fcee8 Minor cleanup. Dave Collins 2013-10-30 14:13:29 -05:00
  • b866e9f14c Improve RPC server log of rejected transactions. Dave Collins 2013-10-30 14:11:11 -05:00
  • e76fada2d2 Optimize NotifyNewTxListener. Dave Collins 2013-10-29 15:48:22 -05:00
  • 07de6ea013 Add additional tests for jsoncmd code. John C. Vernaleo 2013-10-25 15:41:23 -04:00
  • d7d2385fb0 Return JSON id with errors when possible. Josh Rickmar 2013-10-29 23:23:22 -04:00
  • 334a1c1f20 Return basic Cmd from ParseMarshaledCmd when possible. Josh Rickmar 2013-10-29 22:53:19 -04:00
  • 9442d96929 Convert errors in RPC server to new btcjson consts. Dave Collins 2013-10-29 19:41:38 -05:00
  • 231efa35f5 Provide useragent in getpeerinfo now we know it. Owain G. Ainsworth 2013-10-29 23:00:23 +00:00
  • c4be414921 Make ParseMarshaledCmd return a known error if the type isn't known. Owain G. Ainsworth 2013-10-29 22:33:27 +00:00
  • 4f25d45e77 Grab the remote peer's user agent. David Hill 2013-10-29 16:25:08 -04:00
  • 59e2b204a3 Add doc comments. Owain G. Ainsworth 2013-10-29 20:29:23 +00:00
  • da2901a4fd Add support for the addnode command Owain G. Ainsworth 2013-10-29 17:18:53 +00:00
  • 36941cc427 Remove the satoshi consts and use them from btcutil instead. David Hill 2013-10-29 16:08:12 -04:00
  • 8271a11808 add SatoshiPerBitcent constant and export SatoshiPerBitcoin and MaxSatoshi David Hill 2013-10-29 14:57:31 -04:00
  • b1f14732b1 Implement getpeerinfo and getconnectedcount Owain G. Ainsworth 2013-10-21 18:45:30 +01:00
  • d647eea2b7 update statistics for the time we last send/recieved a message. Owain G. Ainsworth 2013-10-18 18:50:43 +01:00
  • d26b8b2d43 Set peer.timeConnected when we are actualy connected. Owain G. Ainsworth 2013-10-18 18:48:51 +01:00
  • c242d75866 Split the massive switch statement in rpcserver into a map of handlers. Owain G. Ainsworth 2013-10-29 15:42:34 +00:00