Jude Nelson
|
b55d23f609
|
also export subdomain db and atlas db (meant mainly for testing)
|
2018-07-18 18:56:21 -04:00 |
|
Jude Nelson
|
7114040e3a
|
if we don't get a DID back, then the name doesn't exist
|
2018-07-18 18:56:03 -04:00 |
|
Jude Nelson
|
e1b4c0b5bc
|
lint
|
2018-07-06 15:20:58 -04:00 |
|
Jude Nelson
|
b82d6428ed
|
de-lint
|
2018-07-06 14:23:36 -04:00 |
|
Jude Nelson
|
58604448fd
|
Merge branch 'master' into develop
|
2018-07-06 14:08:31 -04:00 |
|
Jude Nelson
|
efbcaccc5a
|
up to 1000 threads (only 1024 file descriptors are available anyway)
|
2018-07-06 14:06:58 -04:00 |
|
Jude Nelson
|
01ef6b022b
|
de-lint; version bump
|
2018-07-06 14:04:09 -04:00 |
|
Jude Nelson
|
733e3ce9ef
|
delinting!
|
2018-07-06 13:48:24 -04:00 |
|
Jude Nelson
|
803f2cd9ef
|
delinting; also, be sure to remove a zone file if it is corrupt (check it ourselves to be sure)
|
2018-07-06 13:47:57 -04:00 |
|
Jude Nelson
|
5af4311c63
|
remove old and new zonefile paths when removing a zonefile
|
2018-07-06 13:47:41 -04:00 |
|
Jude Nelson
|
a1709b3a2f
|
reduce the multiplier for the maximum rpc size to 150 (really can get away with more like 133, but let's play it safe--it's only 0.6 MB)
|
2018-07-05 23:41:39 -04:00 |
|
Jude Nelson
|
541c20afd6
|
set MAX_DATA in all places where we import defusedxml packages
|
2018-07-05 23:41:27 -04:00 |
|
Jude Nelson
|
1582197c7a
|
version bump
|
2018-07-05 21:43:13 -04:00 |
|
Jude Nelson
|
800f82911d
|
make the max RPC length equal to the expected amount of space 100 fully-loaded zone files take when encoded
|
2018-07-05 21:42:26 -04:00 |
|
Jude Nelson
|
c62794f1b9
|
use getter for genesis block
|
2018-07-05 18:47:27 -04:00 |
|
Jude Nelson
|
e28314eae6
|
add getters/setters for global genesis block
|
2018-07-05 18:47:17 -04:00 |
|
Jude Nelson
|
cd45b533ec
|
pass in genesis block data to namedb initialization code
|
2018-07-05 18:47:00 -04:00 |
|
Jude Nelson
|
260cec690f
|
sanity-check the genesis block on start-up
|
2018-07-05 18:46:37 -04:00 |
|
Jude Nelson
|
16a071a62b
|
make the default maximum number of RPC connections 1000 (we have ~6 open at any given point in time, but this expands briefly when the server processes a new block)
|
2018-07-05 17:42:13 -04:00 |
|
Jude Nelson
|
875ce2dba4
|
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:32:55 -04:00 |
|
Jude Nelson
|
503e5137c7
|
docs: big-endian token representation
|
2018-07-05 17:32:04 -04:00 |
|
Jude Nelson
|
c321451c23
|
docs: big-endian token representation
|
2018-07-05 17:31:54 -04:00 |
|
Jude Nelson
|
5b0e170e7d
|
docs: big-endian token representation
|
2018-07-05 17:31:44 -04:00 |
|
Jude Nelson
|
8a3621b0fb
|
docs: big-endian token representation
|
2018-07-05 17:31:31 -04:00 |
|
Jude Nelson
|
4c19b29d90
|
take the global GENESIS_BLOCK
|
2018-07-05 17:31:21 -04:00 |
|
Jude Nelson
|
d5bccbec17
|
block_height is an int
|
2018-07-05 17:31:12 -04:00 |
|
Jude Nelson
|
fd2a2f4236
|
clarify query-string args
|
2018-07-05 17:30:59 -04:00 |
|
Jude Nelson
|
892c2801a7
|
genesis block will be obtained from blockstack/lib/config.py, always
|
2018-07-05 17:29:04 -04:00 |
|
Jude Nelson
|
b609ece33e
|
load genesis block from a module, or from source
|
2018-07-05 17:28:46 -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
|
4b46473c3b
|
genesis block schema
|
2018-07-05 13:48:04 -04:00 |
|
Jude Nelson
|
f3621fa5c9
|
Merge branch 'develop' into feature/blockstack_client_refactor
|
2018-06-27 17:36:34 -04:00 |
|
Jude Nelson
|
b849169ade
|
store the hash of the canonical serialization of the genesis history in the accounts table
|
2018-06-21 18:29:59 -04:00 |
|
Jude Nelson
|
660db55060
|
advance block time for the next fork to "sometime in the indefinite future"
|
2018-06-20 19:08:23 -04:00 |
|
Jude Nelson
|
1c1d4eeb96
|
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:59:18 -04:00 |
|
Jude Nelson
|
e5829f523d
|
name records can have a resolver field
|
2018-06-20 18:58:58 -04:00 |
|
Jude Nelson
|
edd7a866b0
|
use name record's resolver to find subdomains
|
2018-06-20 18:58:20 -04:00 |
|
Jude Nelson
|
01fe7c9fbe
|
remove <<<<<< from merge
|
2018-06-20 18:58:13 -04:00 |
|
Jude Nelson
|
f502c203d3
|
bugfix; pass resolver from subdomain db to name on get_name_record
|
2018-06-20 18:58:05 -04:00 |
|
Aaron Blankstein
|
19cb51d8a2
|
force paging on the /v1/names/<name>/history endpoint
|
2018-06-20 18:57:44 -04:00 |
|
Jude Nelson
|
acbad556ab
|
optionally get name history rows in reverse
|
2018-06-20 18:57:04 -04:00 |
|
Jude Nelson
|
3b007221e4
|
optionally get name history rows in reverse
|
2018-06-20 18:56:19 -04:00 |
|
Jude Nelson
|
2e01578a8b
|
add code to get a name and its history using pagination, with a fallback to get_name_blockchain_record()
|
2018-06-20 18:55:39 -04:00 |
|
Jude Nelson
|
9138da8da8
|
clarify offset/count
|
2018-06-20 18:55:34 -04:00 |
|
Jude Nelson
|
535f43be67
|
add rpc_get_name_history_page()
|
2018-06-20 18:55:07 -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 |
|