Commit Graph

789 Commits

Author SHA1 Message Date
Aaron Blankstein
6d7da57665 fixing a typo error in rpc 2017-07-06 10:32:10 -04:00
Aaron Blankstein
37d1f4e727 Merge branch 'rc-0.14.3' into api-rc-0.14.3 2017-07-05 11:24:08 -04:00
Aaron Blankstein
3d36e74f6c Merge branch 'rc-0.14.3' of github.com:blockstack/blockstack-core into rc-0.14.3 2017-07-05 11:18:23 -04:00
Aaron Blankstein
949ee92091 merge bug 2017-07-05 11:16:36 -04:00
Aaron Blankstein
d48a6b6ee5 adding missing import, found a totally undefined variable with pylint in the process, marked that branch statement as unimplemented. 2017-07-05 11:08:16 -04:00
Aaron Blankstein
86aa5599cb merging changes in safety.py 2017-07-05 10:29:22 -04:00
Aaron Blankstein
c8a12d4edb rename flag 'aggressive_registration' -> 'unsafe' + added information to the api doc 2017-07-05 10:10:36 -04:00
Aaron Blankstein
b1004dbb39 better registrar error messages (added to the return of info command) 2017-07-04 17:56:29 -04:00
Aaron Blankstein
7ee99f2ee0 dangerous registrations! ignore safety! 2017-07-04 16:29:13 -04:00
Aaron Blankstein
3f73bae398 propagate min payment confs setting from the PREORDER op to REG/UPDATE 2017-07-04 14:46:42 -04:00
Aaron Blankstein
86b6f9e9cb Merge branch 'rc-0.14.3' into rc-0.14.3-low-conf-register 2017-07-04 13:39:56 -04:00
Aaron Blankstein
8efebc349f two small bugfixes -- one, add migration path for wallet 0.14.2->0.14.3 (it just whitelists the upgrade, as the format did not change) -- two, when transfer_address is '' from cli, set addr to None 2017-07-04 13:39:38 -04:00
Aaron Blankstein
59939f838a forward aggressiveness on RPCs 2017-07-04 13:38:01 -04:00
Aaron Blankstein
f5863ccef2 registrations in 6 confirmations => 4 confs for preorder, 1 for register, 1 for update... now to test it with a local bsk node and see if utxo.blockstack.org shouts at me 2017-07-03 19:18:09 -04:00
Aaron Blankstein
be48e1d227 registrar now skips issuing a TRANSFER if the name registration was done on behalf of the current owner. added test case for this. 2017-07-01 17:45:05 -04:00
Aaron Blankstein
e1006b7cc6 added support for specifying min_confs in RPC/CLI calls to get_balance 2017-07-01 12:38:04 -04:00
Aaron Blankstein
f9bf526b24 bump version 2017-06-30 17:37:37 -04:00
Aaron Blankstein
a9eefbb5fa make the errors component of the info response only appear if there IS an error + make the integration test check for the proper error returns 2017-06-30 16:25:32 -04:00
Aaron Blankstein
3f4e8c111a Merge branch 'master' into api 2017-06-30 11:47:18 -04:00
Aaron Blankstein
f1d05dcfde Merge branch 'rc-0.14.2-registrar-err-msgs' into rc-0.14.3 2017-06-29 18:59:42 -04:00
Aaron Blankstein
cbe4caf311 Merge branch 'rc-0.14.3' of github.com:blockstack/blockstack-core into rc-0.14.3 2017-06-29 18:15:33 -04:00
Aaron Blankstein
ec38e80e10 price lookups return verbose errors for malformed names -- now, if you try to lookup the price of a name which is not 'namespaced', core will give you a sane error 2017-06-29 18:15:27 -04:00
Jude Nelson
b2bdb8ad54 Merge branch 'rc-0.14.3' of https://github.com/blockstack/blockstack-core into rc-0.14.3 2017-06-29 15:59:59 -04:00
Jude Nelson
187adee895 update the help on datastore_stat to indicate that for directories, this returns the entire directory 2017-06-29 15:59:40 -04:00
Jude Nelson
40b6873d47 add 'clearcache' test directive; log which methods we run on datastore reads 2017-06-29 15:59:16 -04:00
Aaron Blankstein
7e22913eed a little bit more supportive of an error response for unauthorized methods with auth tokens 2017-06-29 15:19:16 -04:00
Aaron Blankstein
978945866c removing advanced mode -- now all commands may be run, regardless of advanced mode status, new config files will not have advanced mode written to them 2017-06-29 14:40:40 -04:00
Aaron Blankstein
4a39fadb83 fix for issue 469 part 1 + integration test for it. blockstack regtest was killing itself on a bad tx response from bitcoind. The patch also fixes a value_hash dict keyerror at the end of certain testcase passes 2017-06-29 14:17:36 -04:00
Jude Nelson
1bda677ca3 fix error formatting 2017-06-26 18:01:28 -04:00
Jude Nelson
339a0a0ff2 remove erroroneous else branch 2017-06-26 18:01:17 -04:00
Jude Nelson
aa1bfadb28 Merge branch 'rc-0.14.2' 2017-06-26 17:32:09 -04:00
Aaron Blankstein
c60e075e36 Merge remote-tracking branch 'origin/rc-0.14.2' into api 2017-06-26 17:08:34 -04:00
Jude Nelson
8e9ee82f2a Add PUT /v1/wallet/key/:keyID endpoint 2017-06-26 15:17:28 -04:00
Jude Nelson
3f136782ee expose ConcurrencyViolationException 2017-06-25 18:46:19 -04:00
Jude Nelson
8b19683e86 parallelization improvements to the indexing system; don't allow concurrent index_setup() calls 2017-06-25 18:45:56 -04:00
Jude Nelson
d8917a3628 multi-thread the server for long-running requests (like index initialization); handle concurrency-violation exceptions for serialized operations with HTTP 202 2017-06-25 17:38:24 -04:00
Aaron Blankstein
617c027936 merging 2017-06-23 11:32:21 -04:00
Larry Salibra
d5d742659d hardcode device id for legacy auth requests to 0 #463 2017-06-23 16:12:51 +08:00
Jude Nelson
acd22ee0be default app_public_keys is an array 2017-06-22 17:41:31 -04:00
Jude Nelson
bcde516f5e fix partial schema 2017-06-22 17:24:32 -04:00
Jude Nelson
c488e7a531 allow blockchain_id to be null (for anonymous login) 2017-06-22 17:15:44 -04:00
Jude Nelson
a47550905a convert to string 2017-06-22 16:53:39 -04:00
Jude Nelson
3e460c8b08 add schema for legacy authentication request (https://github.com/blockstack/blockstack.js/issues/217) 2017-06-21 22:43:59 -04:00
Jude Nelson
21930e2846 log single-threaded behavior for debugging 2017-06-21 22:43:51 -04:00
Jude Nelson
e235f3d0de Add a fall-back path for handling legacy authentication requests (https://github.com/blockstack/blockstack.js/issues/217) 2017-06-21 22:43:01 -04:00
Jude Nelson
1370832ed9 Performance optimizations: cache inode headers, directories, and datastores; write inode headers and payloads in parallel 2017-06-21 22:42:34 -04:00
Jude Nelson
8e8365a6df cache index pages by driver, and then by index bucket (not by blockchain ID). Also, make sure accesses are thread-safe 2017-06-21 22:42:10 -04:00
Jude Nelson
3f8f1b7be8 write-through cache for directories, headers, and datastores; write headers and inode payloads in parallel (and write to drivers in parallel); prioritize local drivers over non-local drivers on read 2017-06-20 23:53:54 -04:00
Jude Nelson
5a709673a9 log corruption case 2017-06-20 23:53:43 -04:00
Jude Nelson
51c72d66b5 bugfix on error path 2017-06-20 23:53:32 -04:00