Commit Graph

213 Commits (c0748734526b085e169c66785341c5a4d3420a23)

Author SHA1 Message Date
Jakub Matys 85beeb938c moved `static` directory and upgraded installation of certs 2018-04-25 13:00:51 +02:00
Jakub Matys 9c93674918 added support of bcash addresses to RPCs 2018-04-24 11:20:09 +02:00
Martin Boehm ecd475f728 Implement test VerifyLog of logged socket.io communication - WIP 2018-04-16 16:40:14 +02:00
Jakub Matys a37ccdaee0 fixed logging 2018-04-12 15:43:57 +02:00
Martin Boehm f8eca976ab Fix computation of confirmations 2018-04-06 17:13:38 +02:00
Martin Boehm 7419003372 Increase height range of transaction lookup in socketio test page 2018-03-29 15:27:31 +02:00
Jakub Matys 18ce3edac3 Added RPC method EstimateFee 2018-03-27 10:30:30 +02:00
Jakub Matys 2cb371d35b Purify text inputs of test page 2018-03-23 13:49:51 +01:00
Jakub Matys e8399cb485 Added ability of getBlockHeader control to send either height or hash 2018-03-23 13:26:24 +01:00
Jakub Matys fbfb33cb5d Output index uses abstract identifier instead of outputScript 2018-03-20 16:01:36 +01:00
Jakub Matys 96a60bf7fa Renamed metrics and added implicit label `coin` 2018-03-14 09:45:10 +01:00
Jakub Matys b7f07a8ff5 method map cleaned up because of metric labels 2018-03-13 11:44:50 +01:00
Jakub Matys d7229f8db0 added prometheus metrics 2018-03-13 11:44:50 +01:00
Martin Boehm bd001bdcfa Remove unnecessary inputs processing from socket.io getAddressHistory 2018-03-12 17:40:03 +01:00
Jakub Matys 69b88275bd added RPC method `getmempoolentry` 2018-03-08 14:15:06 +01:00
Martin Boehm f80ae32846 Abstract bitcoinrpc in preparation for alt coins 2018-03-08 12:59:37 +01:00
Martin Boehm f2284559d5 Return info about network in socket.io getInfo request 2018-03-07 10:41:07 +01:00
Martin Boehm 0783cac294 Detect type of the block chain and use correct chain params 2018-03-07 09:38:19 +01:00
Martin Boehm d1c4c66c5f Implement TxCache stored in RocksDB 2018-03-06 12:36:24 +01:00
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