Commit Graph

933 Commits

Author SHA1 Message Date
Jude Nelson
efbcaccc5a up to 1000 threads (only 1024 file descriptors are available anyway) 2018-07-06 14:06:58 -04:00
Jude Nelson
8358c1d783 add a bounded threading mixin to the RPC server that allows it to have up to a maximum number of outstanding threads handling requests. serialize all RPC access so we don't introduce database contention or corruption. make the maximum number of RPC threads overridable in the environment. 2018-07-05 17:24:30 -04:00
Jude Nelson
f3621fa5c9 Merge branch 'develop' into feature/blockstack_client_refactor 2018-06-27 17:36:34 -04:00
Jude Nelson
b51caa6a0e have the subdomain system track the last known resolver for each subdomain, so queries on the domain will return the resolver 2018-06-20 18:51:00 -04:00
Jude Nelson
39709442ec name records can have a resolver field 2018-06-20 18:50:49 -04:00
Jude Nelson
badcf9d7d8 use name record's resolver to find subdomains 2018-06-20 18:50:31 -04:00
Jude Nelson
6648ec84a1 remove <<<<<< from merge 2018-06-20 18:50:02 -04:00
Jude Nelson
57153b9d3a bugfix; pass resolver from subdomain db to name on get_name_record 2018-06-20 18:49:36 -04:00
Aaron Blankstein
ec4ea24b20 force paging on the /v1/names/<name>/history endpoint 2018-06-20 17:49:38 -04:00
Aaron Blankstein
0cdfc9f939 force paging on the /v1/names/<name>/history endpoint 2018-06-20 11:38:14 -05:00
Jude Nelson
2293512f83 optionally get name history rows in reverse 2018-06-20 11:54:08 -04:00
Jude Nelson
b73d508c06 optionally get name history rows in reverse 2018-06-20 11:52:48 -04:00
Jude Nelson
7ac2a0e74b add code to get a name and its history using pagination, with a fallback to get_name_blockchain_record() 2018-06-20 11:51:39 -04:00
Jude Nelson
f6c4178d7e add rpc_get_name_history_page() 2018-06-20 11:51:26 -04:00
Jude Nelson
cd51534d81 optionally get name history rows in reverse 2018-06-20 11:44:29 -04:00
Jude Nelson
98c59d4f80 optionally get name history rows in reverse 2018-06-20 11:44:15 -04:00
Jude Nelson
6d6259ea59 add code to get a name and its history using pagination, with a fallback to get_name_blockchain_record() 2018-06-20 11:43:51 -04:00
Jude Nelson
46803c701e add rpc_get_name_history_page() 2018-06-20 11:43:36 -04:00
Jude Nelson
d5ddecf637 fix bug in querying atlas zonefile inventories so we get the right range (we missed this before because we were querying the entire range only) 2018-06-18 18:41:46 -04:00
Jude Nelson
570c7be2ca clarify get_zonefile_inventory 2018-06-18 18:41:30 -04:00
Jude Nelson
cc39e090a8 don't print so much information about an HTTP call if we're not in test mode 2018-05-04 16:51:39 -04:00
Jude Nelson
f9f71996ae this shouldn't be here anyway 2018-05-03 11:26:52 -04:00
Jude Nelson
367d217da5 port subdomain lookup redirect 2018-04-30 16:00:39 -04:00
Jude Nelson
19bbde27df make getinfo faster so we can use it more in atlas in order to tell if we're talking to a testnet or mainnet node. We'll make it so mainnet nodes and testnet nodes ignore each other. 2018-04-29 23:02:54 -04:00
Jude Nelson
be71edf860 fix a few regressions from the move away from blockstack_client 2018-04-27 01:09:23 -04:00
Jude Nelson
f8df14d0ef return renewal_deadline 2018-04-26 00:08:26 -04:00
Jude Nelson
89ce0c7c1d proxy objects no longer contain SPV headers 2018-04-26 00:08:12 -04:00
Jude Nelson
d5826b752d temporarily remove the token system (will restore later) 2018-04-24 16:36:55 -04:00
Jude Nelson
52cd65421a temporarily remove the token system (will restore later) 2018-04-24 16:36:44 -04:00
Jude Nelson
1e70410445 temporarily remove the token routes (will restore later) 2018-04-24 16:36:21 -04:00
Jude Nelson
d62a2b673e temporarily remove the token system (will restore later) 2018-04-24 16:36:06 -04:00
Jude Nelson
743d83ec89 temporarily remove the token system (will restore later) 2018-04-24 16:35:54 -04:00
Jude Nelson
ac3dc9e0da temporarily remove the token system (will restore later) 2018-04-24 16:35:44 -04:00
Jude Nelson
b06a8ec7a6 temporarily remove the token system (will restore later) 2018-04-24 16:35:36 -04:00
Jude Nelson
a30b51ba8e temporarily remove the token system (will restore later) 2018-04-24 16:35:22 -04:00
Jude Nelson
02f7b9012c temporarily remove the token system (will restore later) 2018-04-24 16:34:32 -04:00
Jude Nelson
978094924c temporarily remove the token system (will restore later) 2018-04-24 16:34:20 -04:00
Jude Nelson
c1e9bf0f6d temporarily remove the token system (will restore later) 2018-04-24 16:34:05 -04:00
Jude Nelson
a94184dc40 temporarily remove the token system (will restore later) 2018-04-24 16:33:52 -04:00
Jude Nelson
d07400db6a temporarily remove token suppport (will restore later) 2018-04-24 16:33:35 -04:00
Jude Nelson
79565f08eb temporarily remove STACKs token (will restore later) 2018-04-24 16:33:22 -04:00
Jude Nelson
014f75f63a temporarily remove the account system (will restore later) 2018-04-24 16:33:02 -04:00
Jude Nelson
64162f89df temporarily remove the token system (will restore later) 2018-04-24 16:32:44 -04:00
Jude Nelson
8f51bcb4a0 separate out error validation 2018-04-24 10:43:00 -04:00
Jude Nelson
eb646ba665 add doctests to scripts module 2018-04-23 16:17:46 -04:00
Jude Nelson
c2a6bd5eb8 note that in the next release, we're going to have to change the subdomain regex 2018-04-23 16:17:28 -04:00
Jude Nelson
6c676a4290 include metadata with an account in the genesis block 2018-04-23 16:17:11 -04:00
Jude Nelson
9513f5d672 check that the name is valid in register/renewal (we already do this implicitly through the check() method, but we should do it explicitly for clarity) 2018-04-23 16:16:49 -04:00
Jude Nelson
ff4488eed5 add doctests to b40 module 2018-04-23 16:16:38 -04:00
Jude Nelson
3775dfac97 clean up subdomains infrastructure port from develop 2018-04-20 18:51:05 -04:00