Commit Graph

250 Commits

Author SHA1 Message Date
Patrick Nagurny
a220bbc43c wip 2017-01-25 16:37:38 -05:00
Patrick Nagurny
25c1492580 concurrency wip 2017-01-24 17:44:01 -05:00
Chris Kleeschulte
7662bf1bf5 Adjusted Address index. 2017-01-24 15:56:23 -05:00
Chris Kleeschulte
d4783dabde Added rudimentry mempool. 2017-01-24 14:47:19 -05:00
Patrick Nagurny
3c27f07291 getAddressHistory 2017-01-23 16:59:26 -05:00
Patrick Nagurny
831bf0b988 db should only sync after all services are started 2017-01-23 14:53:27 -05:00
Chris Kleeschulte
5a372f268c wip 2017-01-20 17:28:25 -05:00
Chris Kleeschulte
523c3ab852 wip 2017-01-20 11:27:59 -05:00
Patrick Nagurny
c6e2c57778 timestamp service fixes 2017-01-19 16:48:29 -05:00
Patrick Nagurny
efa8480651 get address index to work 2017-01-19 16:11:04 -05:00
Chris Kleeschulte
f1277c8ad3 Added height into tx index. 2017-01-18 19:11:47 -05:00
Chris Kleeschulte
43dfeffd5e Added blockHandler. 2017-01-18 18:23:17 -05:00
Patrick Nagurny
8ecf6e1c47 modify address index, add timestamp and tx indexes (wip) 2017-01-17 15:44:56 -05:00
Patrick Nagurny
22b7d59e55 Merge remote-tracking branch 'chris/feature/walletGrouping' into feature/walletIndex 2017-01-17 13:01:56 -05:00
Chris Kleeschulte
8850238944 Increased timeout for endpoints. 2017-01-16 19:41:27 -05:00
Chris Kleeschulte
d115580ae9 Fixed sendError call. 2017-01-16 19:32:30 -05:00
Chris Kleeschulte
3f558f6ace Added balance by address. 2017-01-16 19:23:17 -05:00
Chris Kleeschulte
05ddd43dfc Fixed options on getUtxos 2017-01-13 14:45:36 -05:00
Chris Kleeschulte
af2b75c0d0 Added pagination. 2017-01-13 14:27:15 -05:00
Chris Kleeschulte
57b3f5d67f Added GetTransactions 2017-01-13 13:44:38 -05:00
Patrick Nagurny
789c18a6df add put endpoint, rename module to wallet-api 2017-01-12 15:56:45 -05:00
Chris Kleeschulte
44cb188c61 clean up. 2017-01-11 19:03:44 -05:00
Chris Kleeschulte
e6d569620b Implemented basic wallet db and calls to bitcoind. 2017-01-11 17:01:48 -05:00
Chris Kleeschulte
86186e6147 Small fixes for service requiring and warnings. 2017-01-11 13:50:44 -05:00
Patrick Nagurny
339f56157f restore db and address services 2017-01-10 16:51:32 -05:00
Karel Bilek
b4c5ec78ab Fix maxStatement for jshint 2016-10-04 18:51:44 +02:00
Karel Bilek
b92d4340a1 Add option to query **only** mempool 2016-10-03 15:24:57 +02:00
Braydon Fuller
384d06c196 Fix reference to node 2016-09-20 15:19:57 -04:00
Chethan Krishna
4a99870813 Use logical timestamps to display blocks 2016-09-20 12:50:52 -04:00
Braydon Fuller
b7f888fc3e web: configure payload size 2016-06-16 13:36:30 -04:00
Chris Kleeschulte
4ade31ff11 Merge pull request #455 from braydonf/rpcoption
bitcoind: connect option for strict ssl
2016-06-13 11:09:33 -04:00
Chris Kleeschulte
3a1034757c Merge pull request #453 from braydonf/try-all
bitcoind: fix timing issue with tryAll
2016-06-13 11:08:16 -04:00
Braydon Fuller
a2a30b81d8 bitcoind: start tryAllClients with the current round-robin index 2016-06-10 19:05:22 -04:00
Braydon Fuller
3dc6860cb3 bitcoind: connect option for strict ssl
This is to be able to configure the RPC client to handle self-signed
certificates for development purposes.
2016-06-09 16:39:03 -04:00
Braydon Fuller
6ac912545b bitcoind: _tryAll -> _tryAllClients
Fixes a timing bug with not all clients being tried
2016-06-09 11:18:56 -04:00
Braydon Fuller
3715f07c84 bitcoind: get detailed transactions with concurrency
increase performance of querying address history by executing multiple
rpc calls concurrently with a configurable limit
2016-06-07 09:01:42 -04:00
Chris Kleeschulte
e87f628e7a Merge pull request #439 from braydonf/zmqcheck
bitcoind: added zmq precondition
2016-06-02 14:11:59 -04:00
Braydon Fuller
cf16a23408 bitcoind: added zmq precondition
Adds a state check that transaction and block events are over the same host
and port. This is to make sure that block events can be subscribed to and
that the tip of the chain stays up to date for correct confirmation counts.
2016-06-01 19:50:45 -04:00
Braydon Fuller
4d780a9d2d bitcoind: separate function for relative datadir expanding 2016-06-01 11:41:41 -04:00
Braydon Fuller
814576953c bitcoind: relative spawn.datadir handling
Will expand the datadir into an absolute path based on the location
of the configuration file. This is to avoid unexpected behavior in regards
to the location of configuration files.
2016-06-01 11:33:06 -04:00
Braydon Fuller
e8a35e2bb5 bitcoind: bug with getting block hash from address
Fixes an issue where passing an address as the blockArg would get the blockhash
for the parsed integer of the address. `parseInt` would parse the address as
an integer and then get the block hash for 1. A regular expression now checks
that the string is numeric with only 0-9 and the length is less than 40, the
size of a ripemd160, and also less than the length of a sha256 hash.
2016-05-26 10:15:42 -04:00
Braydon Fuller
f38fa1324f bitcoind: account for scriptPubKey.addresses not always being set 2016-05-25 17:14:22 -04:00
Braydon Fuller
2dddf01bb0 test: coverage for spawnChildProcess 2016-05-24 17:11:02 -04:00
Braydon Fuller
f76b206178 test: coverage for getBlockHeader 2016-05-24 16:39:22 -04:00
Braydon Fuller
0cb795d980 test: add bitcoind test for early shutdown while connecting 2016-05-24 16:22:41 -04:00
Braydon Fuller
86b1acd0be test: coverage for bitcoind getAddressUnspentOutputs 2016-05-24 14:06:03 -04:00
Braydon Fuller
3fef6f5ffc test: increase test coverage of bitcoind service 2016-05-24 13:07:51 -04:00
Braydon Fuller
0a95765e51 bitcoind: fix indentation 2016-05-23 16:48:17 -04:00
Braydon Fuller
28ff52ece6 tests: add tests for addresstxid event 2016-05-18 11:20:23 -04:00
Braydon Fuller
1800294dfe bitcoind: change dataformat of addresstxid event
Adds the address to the message to quickly determine the address
associated with the event.
2016-05-18 10:20:18 -04:00