Commit Graph

4888 Commits

Author SHA1 Message Date
Jude Nelson
3dd4d89bbf refactor data API such that we (1) generate inodes and tombstones, (2) sign them all, and (3) replicate them. These steps must be separate. 2017-03-09 20:03:55 -05:00
Jude Nelson
0004ff6573 bitcoind_spv_path 2017-03-09 20:03:40 -05:00
Jude Nelson
801c845483 take data_privkey as a kwarg 2017-03-09 20:03:29 -05:00
Jude Nelson
e15c759303 don't take wallet; take data private key for datastore operations 2017-03-09 20:03:06 -05:00
Jude Nelson
c5ab587523 return false on mismatched sender (backport from master) 2017-03-09 20:02:49 -05:00
Jude Nelson
16a232d818 clarify port number usage 2017-03-06 18:16:50 -05:00
Jude Nelson
2a3a1f5fa4 override host/port from global CLI arguments 2017-03-06 18:16:37 -05:00
Jude Nelson
1c47043648 consolidate global CLI option parsing 2017-03-06 18:16:22 -05:00
Jude Nelson
affa79da69 update README with new version info 2017-03-06 15:14:23 -05:00
Jude Nelson
40f3bd7ed3 Merge branch 'rc-0.14.1b' of https://github.com/blockstack/blockstack-core into rc-0.14.1b 2017-03-06 14:23:50 -05:00
Jude Nelson
6c840c0a17 remove dead code 2017-03-06 14:23:32 -05:00
Jude Nelson
e0eae90faf Update main.py 2017-03-02 17:15:10 -05:00
Jude Nelson
33ed85baf0 sync with Core API 2017-03-02 15:36:56 -05:00
Jude Nelson
8c34b3e28f Merge branch 'master' into rc-0.14.1b 2017-03-02 12:21:24 -05:00
Jude Nelson
149dc5557a use right variable name 2017-03-02 12:17:57 -05:00
Jude Nelson
165b5d13d4 fix task reported; fix error output 2017-03-02 12:17:41 -05:00
Jude Nelson
2fcd64eb08 catch assertionerror when estimating preorder/register fees, so we can do a rough estimate 2017-03-02 12:17:24 -05:00
Jude Nelson
add43afe3d make sure the wallet exists before starting the API endpoint 2017-03-02 12:17:11 -05:00
Jude Nelson
dbd870bcc3 fix altering node config fields 2017-03-02 11:50:05 -05:00
Jude Nelson
a0b101793c expand README 2017-03-01 23:18:58 -05:00
Jude Nelson
9037964f31 expand README 2017-03-01 23:17:56 -05:00
Jude Nelson
ee4f897ea3 use exclusively the required storage drivers for data stores 2017-03-01 23:08:35 -05:00
Jude Nelson
7e8ba1ae8b allow put/delete mutable data to specify that they want to use the required set of drivers exclusively 2017-03-01 23:07:56 -05:00
Jude Nelson
ecc29d046c add a simple CLI shell 2017-03-01 23:07:31 -05:00
Jude Nelson
41f107bddc add bsk_stat() 2017-03-01 23:07:20 -05:00
Jude Nelson
c63158dd77 use the run_cli() method 2017-03-01 23:07:08 -05:00
Jude Nelson
34a5d9667b WIP: file-sharing demo in Python with the RESTful API 2017-03-01 19:34:33 -05:00
Jude Nelson
1586cef169 don't json.loads data 2017-03-01 19:30:58 -05:00
Jude Nelson
a48d407d60 do a better job translating errno into HTTP errors where appropriate; return datastore ID on datastore creation 2017-03-01 19:30:33 -05:00
Jude Nelson
90ee4f7fa8 don't json.dumps our data; delete consistency info on delete-inode and delete-datastore 2017-03-01 19:30:05 -05:00
Jude Nelson
762820c046 take a list of drivers when creating a data store 2017-03-01 19:29:41 -05:00
Jude Nelson
b4d4255682 by default, back up every 144 blocks 2017-03-01 19:18:20 -05:00
Jude Nelson
04387af18e clean up on snapshot 2017-03-01 19:17:32 -05:00
Jude Nelson
af6033b0fc remove old hard-fork activation check; make it possible to safely exit the indexer without the network; make network attempts back-off exponentially on failure 2017-03-01 11:54:02 -05:00
Jude Nelson
5b98322d41 Add skeleton driver with documentation 2017-03-01 11:53:47 -05:00
Jude Nelson
1060393156 Always include node.blockstack.org:6264 as a zonefile push destination (for now) 2017-02-28 23:03:05 -05:00
Jude Nelson
b7feeeb547 give helpful pre- and post-sync feedback 2017-02-28 23:02:18 -05:00
Jude Nelson
22e08aa525 say that we're fetching 2017-02-28 23:02:08 -05:00
Jude Nelson
36100d5615 bail on snapshot failure 2017-02-28 18:14:10 -05:00
Jude Nelson
aef029ecda blockchain_headers, not bitcoind_spv_path 2017-02-28 18:13:58 -05:00
Jude Nelson
94772a6f44 don't forget to shift 2017-02-28 17:09:52 -05:00
Jude Nelson
91533cb7d1 always return old working dir 2017-02-28 16:49:59 -05:00
Jude Nelson
7ac41b14c3 blockstack-core, not blockstack-server 2017-02-28 16:49:15 -05:00
Jude Nelson
6d45459a6c don't set None 2017-02-28 16:49:07 -05:00
Jude Nelson
7197b5fea5 spacing 2017-02-28 16:29:06 -05:00
Jude Nelson
22e7980721 better API start/stop handling 2017-02-28 16:27:59 -05:00
Jude Nelson
4b3c9f179c don't take a separate data text field; just take JSON or text (but serialize either way) 2017-02-28 16:27:39 -05:00
Jude Nelson
574bf23698 add method to swap zone file URLs 2017-02-28 16:27:23 -05:00
Jude Nelson
e19a35f140 print_result() to a specific file 2017-02-28 16:27:15 -05:00
Jude Nelson
eed683abc7 add config-change enpoints; stub out remaining API with HTTP 501 2017-02-28 16:26:59 -05:00