Jude Nelson
|
a938073c73
|
remove dead code
|
2018-08-15 16:54:42 -04:00 |
|
Jude Nelson
|
12f64b9c07
|
add usage documentation
|
2018-08-15 16:54:30 -04:00 |
|
Jude Nelson
|
f56c8527a6
|
add code to restore a gaia bucket
|
2018-08-15 16:53:51 -04:00 |
|
Jude Nelson
|
417492dd45
|
expand gaia test to cover dumping and restoring buckets, and testing with /'s in the file names
|
2018-08-15 16:53:21 -04:00 |
|
Jude Nelson
|
c08a504b05
|
test creating and altering profiles that have a legacy profile path (e.g. 0/profile.json)
|
2018-08-15 16:52:57 -04:00 |
|
Jude Nelson
|
e128aa4c5c
|
jsontokens 2.x
|
2018-08-13 17:36:18 -04:00 |
|
Jude Nelson
|
c895b36862
|
test the case where a subdomain is announced and indexed out-of-order by a duplicate zone file (i.e. bar.foo1.test seq=1, bar.foo1.test seq=0, bar.foo1.test seq=1). Verify that a zone file that was already processed for subdomains will be re-processed if its hash is re-announced
|
2018-08-13 16:02:20 -04:00 |
|
Jude Nelson
|
b8caeb2044
|
serialize all calls to enqueue zone files
|
2018-08-13 16:02:10 -04:00 |
|
Jude Nelson
|
f1bf6ee5ea
|
dead comment
|
2018-08-13 16:02:04 -04:00 |
|
Jude Nelson
|
25491164ed
|
when synchronizing the atlasdb with the namedb, call the storage callback for each zone file we already have. That way, if a zone file hash is re-announced, it will be processed by the storage callback again (as desired)
|
2018-08-13 16:01:57 -04:00 |
|
Jude Nelson
|
c99e7947f6
|
api tweak: pass the server state to the virtualchain hooks (including the atlas state)
|
2018-08-13 16:01:51 -04:00 |
|
Jude Nelson
|
784766ff68
|
update a few bugs in the readme
|
2018-08-13 16:01:44 -04:00 |
|
Jude Nelson
|
d1bb179f4c
|
check virtualchain for unclean shutdown and handle accordingly
|
2018-08-13 16:01:36 -04:00 |
|
Jude Nelson
|
8c0de77db3
|
Add a best-practices doc (#736)
|
2018-08-13 16:01:26 -04:00 |
|
Jude Nelson
|
0ebb91a82b
|
pass through fsync
|
2018-08-13 16:01:09 -04:00 |
|
Jude Nelson
|
c1bd6d2bf5
|
fix a race condition in the atlas database that can occasionally cause a zone file to not get forwarded to the subdomain system
|
2018-08-13 16:00:47 -04:00 |
|
Jude Nelson
|
f5f8891d77
|
remove blockstack_client from test framework. We're done here.
|
2018-08-07 14:43:16 -04:00 |
|
Jude Nelson
|
961b17cb16
|
Merge branch 'master' into feature/token-v1
|
2018-08-07 14:39:29 -04:00 |
|
Jude Nelson
|
5091126f61
|
remove needless import
|
2018-08-07 14:22:21 -04:00 |
|
Jude Nelson
|
4bb492c6aa
|
test dumping a gaia bucket
|
2018-08-07 14:22:13 -04:00 |
|
Jude Nelson
|
f541c57a7b
|
version bump
|
2018-08-07 14:22:01 -04:00 |
|
Jude Nelson
|
d7bb18fecb
|
add test for dumping a gaia bucket
|
2018-08-07 14:21:51 -04:00 |
|
Jude Nelson
|
695b3610ee
|
fix a couple of usability bugs in gaia hub read server config; add pre-flight
|
2018-08-07 14:21:26 -04:00 |
|
Jude Nelson
|
875a505766
|
/v2 CORS
|
2018-08-07 14:21:05 -04:00 |
|
Jude Nelson
|
2f2508bc2a
|
need jsonschema
|
2018-08-07 14:20:52 -04:00 |
|
Jude Nelson
|
bac8ff90c5
|
fix a few bugs in the readme
|
2018-08-07 14:20:28 -04:00 |
|
Jude Nelson
|
a7b92da6d1
|
cap the number of zone files we process per block for subdomains
|
2018-07-19 22:09:07 -04:00 |
|
Jude Nelson
|
f0854feb46
|
test large zone files packed with subdomains, and make sure we process them in a performant way
|
2018-07-18 21:11:03 -04:00 |
|
Jude Nelson
|
f497fc7007
|
test duplicate zone file processing in batches
|
2018-07-18 21:10:53 -04:00 |
|
Jude Nelson
|
586bd56460
|
slightly change the way we test subdomain DID resolution, so we can pair DID resolution tests to the subdomain we are testing
|
2018-07-18 21:10:47 -04:00 |
|
Jude Nelson
|
cea93eaaed
|
disable durability pragmas in the subdomain db, since if the node crashes we have to restore the subdomain db anyway (2x speed improvement). also, add a 'zonefile_offset' column to the subdomain db that fixes DID creation in the case where the same owner address created multiple subdomains in the same zone file
|
2018-07-18 21:10:39 -04:00 |
|
Jude Nelson
|
40e4faa2e7
|
nearly 100x performance improvement if we don't fsync() each time we write a zone file (not strictly necessary for subdomain zone files, but definitely necessary for zone files arriving via Atlas)
|
2018-07-18 21:10:33 -04:00 |
|
Jude Nelson
|
1d4940f5f7
|
also export subdomain db and atlas db (meant mainly for testing)
|
2018-07-18 21:10:24 -04:00 |
|
Jude Nelson
|
d0e7570b7e
|
if we don't get a DID back, then the name doesn't exist
|
2018-07-18 21:10:12 -04:00 |
|
Jude Nelson
|
399f94d1ce
|
check environ for genesis block on startup
|
2018-07-18 21:10:04 -04:00 |
|
Jude Nelson
|
633c467f61
|
remove init-api
|
2018-07-18 21:07:24 -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
|
f586d8efbc
|
Merge pull request #841 from blockstack/hotfix/bigger-rpc-max-len
Hotfix/bigger rpc max len
|
2018-07-06 12:25:46 -05:00 |
|
Jude Nelson
|
a67e4120fe
|
test RPC size limits on fetching 100 40K zone files
|
2018-07-05 23:42:24 -04:00 |
|
Jude Nelson
|
d7eb1cfa33
|
get RPC size constants from blockstack
|
2018-07-05 23:42:09 -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
|
6bac9087bc
|
do not pass the genesis block by argument anymore (API change); also, access the genesis block rows explicitly now that the blockstackdb class takes both the genesis block rows and commit history
|
2018-07-05 18:48:07 -04:00 |
|
Jude Nelson
|
8fc449e22f
|
write out a genesis block to disk, and have blockstackd load it
|
2018-07-05 18:47:38 -04:00 |
|
Jude Nelson
|
c62794f1b9
|
use getter for genesis block
|
2018-07-05 18:47:27 -04:00 |
|