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
Aaron Blankstein
ec4ea24b20
force paging on the /v1/names/<name>/history endpoint
2018-06-20 17:49:38 -04: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
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
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
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
Jude Nelson
577562afc2
port subdomains endpoints to this branch
2018-04-20 18:50:47 -04:00
Jude Nelson
e0b07f8aa8
catch socket errors for all RPC methods:
...
* return HTTP 502 hint for invalid data and connection errors that are not timeouts
* return HTTP 503 for timeouts
* return HTTP 500 for errors that are not any of the above
2018-04-20 18:49:49 -04:00
Jude Nelson
4fc7c5f999
Merge branch 'develop' into feature/token-v1
2018-04-20 15:54:54 -04:00
Aaron Blankstein
51f8e61d7b
add+refactor to /v1/subdomains and /v1/blockchains/bitcoin/subdomains_count
2018-04-20 12:02:08 -04:00
Aaron Blankstein
7a5bf1751c
include subdomains in response to /v1/names/ pagination
2018-04-20 11:11:19 -04:00
Jude Nelson
7d4fb4f57a
history can include token information, as well as name/namespace information
2018-04-19 19:07:38 -04:00
Jude Nelson
ad12302fa1
be liberal in what we accept as RESTful arguments, so we can distinguish between a 400 and a 404 (instead of universally replying 404 for invalid arguments)
2018-04-19 19:07:00 -04:00
Jude Nelson
cdf97d02ba
rename some columns for tokentransfer so they're consistent with the name_records table
2018-04-19 19:06:40 -04:00
Jude Nelson
438ec5c071
note on state_create_put_preorder()
2018-04-19 19:06:31 -04:00
Jude Nelson
8698e660c6
make sure that we keep the token fee as a string when we go to store it in the name db
2018-04-19 19:06:12 -04:00
Jude Nelson
b56e5f2d7b
raise validation error if the back-plane does not return an HTTP hint
2018-04-19 19:05:06 -04:00
Jude Nelson
fd20fead1d
when storing a preorder on namedb_state_create(), make sure its token_fee is a string so we don't accidentally load and return big integers
2018-04-19 19:04:25 -04:00
Jude Nelson
d20bbe6fcc
add input checkers (extracted from the back-plane RPC server)
2018-04-19 11:58:29 -04:00