Commit Graph

26 Commits

Author SHA1 Message Date
softsimon
c097b9c81e * adding new mempool methods
* promisify
2020-12-20 17:40:55 +07:00
Sean Lavine
fe1ab3fc52 coding style: standard 2015-10-25 21:26:44 -07:00
Sean Lavine
a245166a65 don't lazy-load http/https modules 2015-07-12 09:40:43 -07:00
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
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
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
c989985b2c add rpc call batching 2012-10-18 14:38:15 -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
6faf577332 use Error object for errors
Fixes GH-11
2012-04-25 21:03:53 -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
Bill Casarin
411aff6f5f Fixed issue where json-rpc would ignore some errors 2011-08-28 10:34:18 -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
d3fa7ceba2 response function should be at front of params 2010-12-28 09:49:57 -05:00
Bill Casarin
9f0e50ebdd Updated jsonrpc 2010-12-20 14:49:11 -05:00
Bill Casarin
0be96d9656 Initial commit 2010-12-19 08:50:53 -05:00