Commit Graph

40 Commits

Author SHA1 Message Date
Jude Nelson
f2cfc556c5 virtualchain compatibility 2016-07-06 16:42:35 -04:00
Jude Nelson
992bd2868a if given an invalid bitcoind config, log the config 2016-07-06 16:34:13 -04:00
Jude Nelson
193b89afd7 return errors on failure to load profile 2016-06-29 18:01:00 -04:00
Jude Nelson
c0a764f0c4 make sure client is initialized 2016-06-29 17:52:49 -04:00
Jude Nelson
1c985e0ed5 add get zonefile by name 2016-06-29 15:44:55 -04:00
Jude Nelson
a522cc7e15 revert accidental change: reload DB only on re-index, but do so eagerly 2016-06-29 11:55:37 -04:00
Jude Nelson
15751da748 fix deadlock condition where we try to get_name_blockchain_record() on
ourselves in an API call
2016-06-29 00:54:33 -04:00
Jude Nelson
976b80c9f8 only invalidate cached DB state on chain synchronization. Also, serve
analytics key
2016-06-28 16:49:50 -04:00
Jude Nelson
ca3a9a87d5 reload the db only on re-index, and do so eagerly 2016-06-27 17:53:52 -04:00
Jude Nelson
71c7b42ff8 log exceptions 2016-06-27 10:52:50 -04:00
Jude Nelson
780ebb53ae forgot timeout 2016-06-21 02:05:49 -04:00
Jude Nelson
4e3a66e2eb Optimization: keep the database in RAM, except when indexing. Be sure to invalidate
when finished indexing.  The only thing clients will pull from the db is
the current consensus hash.
2016-06-21 01:48:28 -04:00
Jude Nelson
0b79d37e5a set config options directly; prefix bitcoind options with 'bitcoind_'
for virtualchain
2016-06-15 17:40:44 -04:00
Jude Nelson
bc27326a74 set working_dir early 2016-06-15 17:19:34 -04:00
Jude Nelson
3aae968e46 remove more testset/testnet (should be handled implicitly by bitcoind
anyway); make sure `configure` works
2016-06-15 15:19:37 -04:00
Jude Nelson
b0201b7c1c move most configuration out of blockstack and into blockstack-client 2016-06-15 11:24:52 -04:00
Jude Nelson
68ddd673ee remove subsidization API. This is unnecessary, now that the client is
more than capable of handling this simply by running as a back-end
service to an HTTP API endpoint (like blockstack-registrar).
2016-06-14 11:29:38 -04:00
Jude Nelson
011576a168 WIP: move most nameop handling to the client 2016-06-09 03:17:15 -04:00
Jude Nelson
daac6d43fa BLOCKSTORE --> BLOCKSTACK 2016-06-06 17:44:33 -04:00
Jude Nelson
bf32dbf66a kill by default with SIGKILL if SIGTERM didn't work. Also, always remove
the PID file on SIGKILL
2016-05-19 12:26:24 -04:00
Jude Nelson
2fa1e912ae import errno 2016-05-19 12:21:57 -04:00
Jude Nelson
76b3223a96 backport automatic db backup and restore from develop 2016-05-18 15:45:53 -04:00
Jude Nelson
daeab50552 fix bugs in SNV found during testing; fix user_public_key in
subsidized preorders and registers; fix getinfo output to make
compatible with the client
2016-05-11 18:01:09 -04:00
Jude Nelson
e65fccfe61 set utxo config file 2016-04-27 02:38:11 -04:00
Jude Nelson
4fb007308e listen on 0.0.0.0 2016-04-27 02:24:46 -04:00
Jude Nelson
92a82d776e backport find_last_transfer_consensus_hash; make compatible with
integration test package
2016-04-26 03:36:13 -04:00
Jude Nelson
3e48b69837 Merge branch 'hotfix-verifydb' into hotfix-notwisted 2016-04-24 08:31:10 -04:00
Jude Nelson
3c608dd326 bugs fixed during testing 2016-04-23 23:32:04 -04:00
Jude Nelson
568a06d44b improve documentation on get-zonefile behavior 2016-04-23 02:22:01 -04:00
Jude Nelson
6361ebac4c add custom RPC port; add UTXO proxy API endpoint (so the client can
communicate with the server as a UTXO provider)
2016-04-22 17:56:32 -04:00
Jude Nelson
fc0e80ff7b Backport part of the zonefile storage API from develop 2016-04-20 17:45:45 -04:00
Jude Nelson
f1cdba220a remove DHT; allow running an RPC endpoint without indexing 2016-04-20 15:16:47 -04:00
Ubuntu
f155ed4745 plumb through get_block_from_consensus 2016-04-18 21:42:45 +00:00
Ubuntu
1d4f59f261 debug when listening 2016-04-18 21:24:35 +00:00
Ubuntu
a4110f6fc0 missing import; whitespace 2016-04-18 19:30:44 +00:00
Jude Nelson
3ba885104c backport XMLRPC-based RPC from develop; use an RPC thread instead of a
subprocess; drop DHT support (will be handled in a separate package, to
avoid the Twisted dependency)
2016-04-18 15:15:21 -04:00
Jude Nelson
ace2184195 'transfer_send_block_id' comes from the current name operation, not the
previous.
2016-04-01 17:24:24 -04:00
Jude Nelson
0597acd78b When reconstructing a NAME_TRANSFER, use its transfer_send_block_id to
look up which consensus hash to use.
2016-04-01 15:07:46 -04:00
Jude Nelson
766f8df56a Rename BlockstoreDB to BlockstackDB 2016-02-23 15:56:09 -05:00
Jude Nelson
29f7e2ef8c WIP: renaming blockstore to blockstack 2016-02-23 15:52:18 -05:00