Commit Graph

344 Commits

Author SHA1 Message Date
Martin Boehm
13e08a07a9 Remove unnecessary data from socket.io interface 2018-03-02 16:08:08 +01:00
Martin Boehm
32626851e0 Handle transactions without input txid (newly minted coins) 2018-03-01 11:54:21 +01:00
Martin Boehm
7db39fcc13 Set server's own address in socket.io test page 2018-03-01 11:34:02 +01:00
Martin Boehm
34400f5b2b Add context to errors returned by bitcoinrpc 2018-03-01 11:06:10 +01:00
Martin Boehm
d1bf8a60dc Refactor of the explorerURL 2018-02-26 16:25:40 +01:00
Martin Boehm
d662fa4197 Remove socket.io test page from http interface 2018-02-26 16:22:43 +01:00
Martin Boehm
16fc1b4797 Redirect blockchain explorer requests to external site 2018-02-26 16:21:58 +01:00
Martin Boehm
ad68018b1a Improve compatibility of socket.io interface with original Bitcore 2018-02-26 15:19:53 +01:00
Martin Boehm
1c8386f05d Return unique txids from socket.io getAddressTxids 2018-02-24 00:02:29 +01:00
Martin Boehm
aff7f3909c Return errors to socket.io client 2018-02-23 14:50:52 +01:00
Martin Boehm
682b0d22f1 Return addresses from socket.io getDetailedTransaction 2018-02-23 14:44:14 +01:00
Martin Boehm
e8b260a393 Reduce logging of socket.io server 2018-02-23 10:30:19 +01:00
Martin Boehm
2260ff61b5 Log the number of channels broadcasts are sent to 2018-02-22 23:32:47 +01:00
Martin Boehm
26c726c771 Notify socket.io subscribers about new block 2018-02-22 13:32:06 +01:00
Martin Boehm
0c456fe245 Notify socket.io subscribers about new block 2018-02-22 13:01:35 +01:00
Martin Boehm
35e9e87428 Use forked golang-socketio library to handle subscribe messages 2018-02-21 20:24:50 +01:00
Martin Boehm
395e69143d Implement Bitcore socket.io method sendTransaction 2018-02-20 12:03:04 +01:00
Martin Boehm
aa2d6d7816 Implement Bitcore socket.io method getDetailedTransaction 2018-02-19 23:54:21 +01:00
Martin Boehm
aac52a3fcb Refactor in preparation for socket.io getDetailedTransaction method 2018-02-19 16:32:16 +01:00
Martin Boehm
90a9edda41 Implement Bitcore socket.io method getAddressHistory 2018-02-08 13:28:10 +01:00
Martin Boehm
207351d4ec Fix getBlockHeader socket.io method 2018-02-07 22:51:06 +01:00
Martin Boehm
dc14eb58b6 Implement Bitcore socket.io method getInfo 2018-02-07 21:42:56 +01:00
Martin Boehm
92aa4f0c7f Use only index lookup in getBlockHeader, trezor needs only tx hash 2018-02-07 21:11:50 +01:00
Martin Boehm
12876290e4 Enable SSL support for http and socket.io servers 2018-02-07 20:42:25 +01:00
Martin Boehm
bcc8de4763 Implement Bitcore socket.io method estimateSmartFee 2018-02-07 19:59:09 +01:00
Martin Boehm
8c9dfc3ef4 Implement Bitcore socket.io method getBlockHeader 2018-02-07 18:35:34 +01:00
Martin Boehm
d50392b0d0 Fix return values from socket.io 2018-02-07 13:23:45 +01:00
Martin Boehm
e094fce3dd Add interactive socket.io test page 2018-02-07 13:23:17 +01:00
Martin Boehm
a093d9aa9b Remove unnecessary test socket.io handler 2018-02-07 00:01:00 +01:00
Martin Boehm
c6cba802cd Implement Bitcore socket.io method getAddressTxids 2018-02-06 23:50:53 +01:00
Martin Boehm
b0f163e21c Support for socket.io interface, initial commit 2018-02-06 12:06:30 +01:00
Martin Boehm
7c71876c12 Lookup input transactions in mempool 2018-02-03 19:14:27 +01:00
Martin Boehm
2605f2fc1d Implement REST interface to mempool transactions 2018-02-01 12:56:45 +01:00
Martin Boehm
a403b8d0fe Rename package bitcoin to bchain 2018-01-31 15:23:17 +01:00
Martin Boehm
e22e1a946d Use glog for logging with verbosity levels 2018-01-30 18:22:25 +01:00
Martin Boehm
3dacffda59 Use output script (ScriptPubKey) as key to output transactions 2018-01-29 23:25:40 +01:00
Martin Boehm
cb3cdb6701 extended info rest request - returns bestblock of the index 2018-01-25 12:31:31 +01:00
Martin Boehm
48057b2453 GetBestBlock height and hash from DB 2018-01-24 18:02:46 +01:00
Martin Boehm
ab562d05c5 http request GET transactions for address 2018-01-24 15:11:21 +01:00
Martin Boehm
8676db1e14 specify http server binding 2018-01-19 00:18:08 +01:00
Martin Boehm
a9bfb59103 bestBlockHash and blockHash http handlers 2018-01-18 23:05:26 +01:00
Martin Boehm
5ae73b9bb7 logging fixes 2018-01-18 20:32:10 +01:00
Martin Boehm
4e4c17a41a wait for http server and graceful shutdown 2018-01-18 17:33:20 +01:00
Martin Boehm
bbcadfd646 http server initial implementation 2018-01-18 16:44:52 +01:00