Commit Graph

51 Commits

Author SHA1 Message Date
Jude Nelson
5bab713635 add debug message when loading zonefiles 2017-05-02 22:57:30 -04:00
Jude Nelson
46b085eb55 clean up imports; sync with storage API when storing mutable data as part of the storage gateway 2017-04-27 19:23:49 -04:00
Jude Nelson
d6884b2929 clean up imports 2017-04-27 19:23:35 -04:00
Jude Nelson
f52666a1f8 only use two directories per zone file 2017-04-25 20:21:39 -04:00
Jude Nelson
3bf38e2dde reduce Atlas inode usage by using a different zonefile directory structure 2017-04-25 11:12:37 -04:00
Jude Nelson
95c472dcca port fix from master re: storing queued profiles 2017-04-13 16:43:46 -04:00
Jude Nelson
e40c510693 send raw data text; don't expect json 2017-04-05 15:05:29 -04:00
Jude Nelson
1d49201f6e make sure mutable data in the storage gateway doesn't collide (do so by prefixing by blockchain ID) 2017-02-06 15:01:57 -05:00
Jude Nelson
b949631bd0 store mutable data, but only if the caller owns a public blockchain ID (stops anonymous users from spamming) 2017-01-30 01:35:00 -05:00
Jude Nelson
ed6f45ade1 use required, not profile_storage_drivers 2017-01-20 17:52:55 -05:00
Jude Nelson
51e953400c move storage pusher to blockstackd.py; remove need for names when pushing zonefiles; have the zonefile-pushing logic inform the Atlas logic that the zonefile has been replicated. 2016-11-22 14:25:22 -05:00
Jude Nelson
063c648edf asynchronously queue up and replicate profiles and zonefiles 2016-11-21 18:09:08 -05:00
Jude Nelson
e0449d6ed7 clean up symbols 2016-10-24 03:23:24 -04:00
Jude Nelson
e67b506619 remove superfluous method 2016-10-24 03:23:16 -04:00
Jude Nelson
d857be4762 move verify_zonefile to the client 2016-10-24 03:23:03 -04:00
Jude Nelson
0774dcb072 update symbols 2016-10-11 08:16:27 -04:00
Jude Nelson
c5142344a8 remove all need to open the name database, so the atlas logic no longer
shares the db with the blockchain indexer
2016-10-11 08:15:57 -04:00
Jude Nelson
1e32f1e506 remove is_current_zonefile_hash, since it's not used 2016-10-11 08:15:48 -04:00
Jude Nelson
2a78fb1ad4 add a way to remove invalid cached zonefiles, and check that the
zonefile *data* is cached (not that the zonefile cached is a standard
zonefile).
2016-10-03 00:20:55 -04:00
Jude Nelson
527f7d3e16 require a name for getting the txid 2016-09-28 20:28:57 -04:00
Jude Nelson
7b5fe6deff Merge branch 'develop' into release-candidate 2016-09-21 14:11:10 -04:00
Jude Nelson
6ed3457ea2 remove unused code; pass through db from RPC endpoint 2016-09-21 14:04:28 -04:00
Jude Nelson
6df34adb46 when looking up the txid that funded a zonefile update, go and look up
the name if we aren't given one
2016-09-16 17:45:47 -04:00
Jude Nelson
d8f9367e16 remove dead code 2016-09-15 15:46:42 -04:00
Jude Nelson
e9af1f6406 be pedantic: close the DB handle when we're done with it 2016-09-14 18:17:02 -04:00
Jude Nelson
2a8352a17d separate zonefile parsing from storage processing 2016-09-14 17:38:54 -04:00
Jude Nelson
90bd4fa2aa sync symbols 2016-09-14 17:38:45 -04:00
Jude Nelson
49f4e3e624 zonefile cache directories are broken down by byte 2016-09-14 16:19:26 -04:00
Jude Nelson
ed67947572 pass zonefile=True hint when loading zonefiles 2016-09-14 16:12:57 -04:00
Jude Nelson
67ce3c557b use 2-char zonefile directory names 2016-09-14 14:52:26 -04:00
Jude Nelson
5d39ee7fc9 pass along name to zonefile storage driver whenever possible 2016-09-13 16:31:40 -04:00
Jude Nelson
4ac8651741 use correct zonefile cache path; disable update tx check when testing 2016-08-18 18:33:08 -04:00
Jude Nelson
5e570de5bf remove dead code 2016-08-15 18:19:12 -04:00
Jude Nelson
21285a9d7e remove dead code 2016-08-15 18:19:00 -04:00
Jude Nelson
a5d0c1e68f (temporarily) remove get_zonefile_from_peers from the module 2016-07-12 16:34:56 -04:00
Jude Nelson
16e2cf9f12 store zonefiles as directory trees to avoid filling a single directory
with too many entries
2016-07-12 16:34:00 -04:00
Jude Nelson
271ce3ba3d zonefile_dict 2016-07-10 16:29:30 -04:00
Jude Nelson
8c9dcd42b8 use caller-given zonefile drivers 2016-07-10 16:28:10 -04:00
Jude Nelson
cdf85a8702 optional required drivers argument 2016-07-10 14:47:17 -04:00
Jude Nelson
01e04f876c parse the right data 2016-07-08 16:37:43 -04:00
Jude Nelson
72265c68b3 dealing with serialized zonefiles 2016-07-08 14:59:59 -04:00
Jude Nelson
946b3a2bdd store *serialized* zonefile 2016-07-08 12:51:40 -04:00
Jude Nelson
5c31c0f449 if the zonefile directory doesn't exist, create it 2016-07-08 12:31:24 -04:00
Jude Nelson
99d9637237 zone_file-->blockstack_zones 2016-06-14 12:06:57 -04:00
Jude Nelson
07632cf4e7 zone_file --> blockstack_zones 2016-06-14 11:31:24 -04:00
Jude Nelson
47469fe6fa update symbols 2016-06-09 03:18:42 -04:00
Jude Nelson
c52ff0b3b6 bugfixes to handle zonefile replication correctly 2016-06-09 03:18:26 -04:00
Jude Nelson
a7390848b0 fix bug on lack of zonefile error path 2016-05-11 18:03:52 -04:00
Jude Nelson
42e494cb82 bugs fixed in testing 2016-04-23 23:32:59 -04:00
Jude Nelson
40479be895 expose storage methods 2016-04-23 23:32:45 -04:00