Commit Graph

47 Commits

Author SHA1 Message Date
freewil
347df714c4 lazy load http/https module 2014-04-16 23:44:57 -07:00
freewil
4623696d6b increase default request timeout to 30000ms
bitcoind has been known to be slow to respond to requests
while processing blocks. Best to be safe and set this high.
2014-03-25 22:54:58 -07:00
freewil
491fc3576d add tests for response headers to callback 2014-03-12 15:20:19 -07:00
freewil
145cef5885 Merge branch 'patch-1' of https://github.com/shimondoodkin/node-bitcoin into shimondoodkin-patch-1 2014-03-12 14:43:22 -07:00
freewil
f68721c0ca remove unused deprecated commands module 2014-03-12 14:20:11 -07:00
freewil
5d83f0e43a add request timeout
fix GH-12
2014-03-12 13:37:20 -07:00
Shimon Doodkin
50825e3a11 callback with server headers for wallet coin name
client.rpc.call('getinfo', [], console.log,function(){});
result : {}, {server: 'nexuscoin-json-rpc/v0.8.6-12-g4d83b6e-dirty-beta'}
2014-01-23 10:52:31 +02:00
freewil
8f4f522b47 default host to 'localhost'; port to '8332'
fix GH-6
2014-01-08 16:06:34 -08:00
freewil
6f44193d4b remove deprecated functionality
closes GH-4
2013-10-14 16:42:41 -07:00
freewil
2f05ad1107 deprecate getMemoryPool 2013-05-05 14:02:14 -04:00
freewil
13e1a46a86 reorganize directory structure by adding lib/ 2013-05-05 00:32:19 -04:00
freewil
aec981d0fe flatten out directory structure 2013-03-13 00:50:06 -04:00
freewil
1ac9e7d201 add SSL support
closes #2
2013-03-08 08:53:08 -05:00
freewil
36417a5657 remove json-rpc server 2013-03-08 08:50:33 -05:00
freewil
beeee58631 reformat json-rpc client 2013-03-08 08:50:33 -05:00
freewil
fb79db9b06 add new commands for bitcoind v0.8.0 2013-03-07 05:44:30 -05:00
freewil
c989985b2c add rpc call batching 2012-10-18 14:38:15 -04:00
freewil
f1c94aab43 remove deprecated getBlockNumber() 2012-09-09 23:17:39 -04:00
Sebastian Castro
d012b9b315 Adding New Bitcoin v0.7 API Methods: createrawtransaction, decoderawtransaction, getpeerinfo, getrawmempool, getrawtransaction, listunspent, sendrawtransaction, signrawtransaction 2012-09-05 14:13:25 -04:00
freewil
f29440b2da remove underscore dependency 2012-08-19 18:30:48 -04:00
freewil
c4be38158c don't use http.createClient; deprecated in 0.8.x 2012-07-03 15:21:08 -04:00
freewil
ff2ea67a7f fix callback called twice for client/request
This fixes the errback being called twice when both a client and
request error occur on the same command call.
2012-04-26 20:57:00 -04:00
freewil
0d123f7792 add missing getBlock command 2012-04-26 01:12:45 -04:00
freewil
6faf577332 use Error object for errors
Fixes GH-11
2012-04-25 21:03:53 -04:00
freewil
3f5cbb7f89 add new commands for bitcoin v0.6.0 2012-04-11 17:17:59 -04:00
freewil
d7ab0c6e4d handle cases where bitcoin client returns html
Fixes GH-9
2012-02-25 12:44:58 -05:00
freewil
e7a941a2bc sys module was replaced with util 2012-02-22 23:26:09 -05:00
freewil
c09425b955 deprecate getBlockNumber 2012-02-20 00:46:44 -05:00
freewil
6a31d38099 Merge branch 'commands-0.5.0' 2011-11-19 18:27:26 -05:00
freewil
be85571e68 add additional alias for 'keypoolrefill' 2011-10-11 02:33:49 -04:00
freewil
7eeb7d343c add additonal alias for 2011-10-11 02:16:59 -04:00
freewil
498f184817 add four new commands in bitcoind v0.5.0rc1 2011-10-10 13:14:11 -04:00
freewil
553e220182 allow single object passed to bitcoin.Client() 2011-10-08 11:26:50 -04:00
freewil
73eb6ab138 add commands for bitcoin v0.4.0 2011-10-08 00:20:14 -04:00
freewil
0c720c7997 add commands: sendmany, setaccount, settxfee 2011-10-02 23:23:26 -04:00
Bill Casarin
411aff6f5f Fixed issue where json-rpc would ignore some errors 2011-08-28 10:34:18 -04:00
Bill Casarin
832688ca5f getAddressesByAccount 2011-05-17 22:07:05 -04:00
Bill Casarin
1664022bfa Added getAccountAddress and tests which seem to fail for some reason 2011-05-17 09:46:32 -04:00
Bill Casarin
938cdfd500 Breaking changes:
* All json callbacks now receive an err as its first argument
* Added getAccount
2011-05-17 09:03:11 -04:00
Bill Casarin
5c3ff5fd41 Added vows tests 2011-04-18 10:09:27 -04:00
Bill Casarin
b87fb0278a Removed pool from master 2010-12-28 09:51:40 -05:00
Bill Casarin
d3fa7ceba2 response function should be at front of params 2010-12-28 09:49:57 -05:00
Bill Casarin
81acc105c6 Added initial mining pool implementation 2010-12-20 14:50:29 -05:00
Bill Casarin
9f0e50ebdd Updated jsonrpc 2010-12-20 14:49:11 -05:00
Bill Casarin
87c2e499cb Tested on 0.2.3 2010-12-19 09:47:59 -05:00
Bill Casarin
f0ec3f82c3 Separated client from index, added rest of API 2010-12-19 09:13:28 -05:00
Bill Casarin
0be96d9656 Initial commit 2010-12-19 08:50:53 -05:00