Commit Graph

407 Commits

Author SHA1 Message Date
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
c4e618c8cf fix counting zonefiles as we compress them 2017-02-06 15:01:25 -05:00
Jude Nelson
bdd0484f10 if the zonefile has already hit our cache, we can mark it as present in the atlas db vector 2017-02-06 15:00:56 -05:00
Jude Nelson
2229f00eb6 check that we actually enqueue the zonefile 2017-02-06 15:00:35 -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
99810d512a use the announcement API in the blockstack client 2017-01-30 01:34:43 -05:00
Jude Nelson
f91a8d6932 add config options for activating and using the storage gateway; remove announcement API since it's duplicated in the client library. 2017-01-30 01:34:20 -05:00
Jude Nelson
022215d30a bugfixes to fast-sync protocol found in testing 2017-01-30 01:33:56 -05:00
Jude Nelson
e9d7b20dcf WIP: optionally run a blockstack node not as an indexer, but as a storage gateway for mutable data 2017-01-30 01:33:25 -05:00
Jude Nelson
2100cdef5b symbol update 2017-01-23 19:03:39 -05:00
Jude Nelson
fa2214e1db hard-coded fast_sync public key 2017-01-23 19:03:23 -05:00
Jude Nelson
afa09cdf56 fast_sync and fast_sync_snapshot commands 2017-01-23 19:03:09 -05:00
Jude Nelson
fbb17c8c2e Initial fast-sync logic 2017-01-23 19:02:55 -05:00
Jude Nelson
ed6f45ade1 use required, not profile_storage_drivers 2017-01-20 17:52:55 -05:00
Jude Nelson
0d3a61b842 don't forget the queue_path 2017-01-20 17:52:46 -05:00
Jude Nelson
e42843be32 sanity check types on the profile and zonefile queues 2017-01-20 16:06:16 -05:00
Jude Nelson
e812f25830 merge from rc-0.14.1 2017-01-17 11:18:42 -05:00
Jude Nelson
eabc8305af key error (typo) 2017-01-07 21:39:02 -05:00
Jude Nelson
7e64872fab remove dead code; fix number of args in queue_append 2016-12-06 11:38:03 -05:00
Jude Nelson
c301963d56 bugfixes: be careful in how we keep track of already-found zonefiles 2016-11-22 16:13:44 -05:00
Jude Nelson
d24da1225c don't ask for zonefiles more than once 2016-11-22 16:07:23 -05:00
Jude Nelson
1bfd3a4066 check to stop crawling zonefiles on each zonefile hash considered, not each batch considered 2016-11-22 15:26:23 -05:00
Jude Nelson
25100ff8cc bugfix: don't even consider already-cached zonefiles (since the storage pusher takes care of them) 2016-11-22 14:48:07 -05:00
Jude Nelson
b45cbcfdf8 no need for name when passing zonefile data 2016-11-22 14:26:41 -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
06da510c1f version 0.14.1 2016-11-21 18:09:38 -05:00
Jude Nelson
063c648edf asynchronously queue up and replicate profiles and zonefiles 2016-11-21 18:09:08 -05:00
Jude Nelson
a75297ecb9 upgrade atlas zonefile pusher (still not activated) to push zonefiles to storage 2016-11-21 18:08:43 -05:00
Jude Nelson
ca98669dd5 asynchronously replicate zonefiles and profiles 2016-11-21 18:08:14 -05:00
Jude Nelson
6e48c834b1 use get_state_paths properly 2016-11-07 11:49:44 -05:00
Jude Nelson
b8db5fdfa4 implement get_state_paths 2016-11-07 11:49:30 -05:00
Jude Nelson
3f476a54ae do not remove lines from atlas.db, ever. 2016-11-06 17:55:38 -05:00
Jude Nelson
e8f2c78ce5 get new zonefile vectors once every 10 minutes 2016-11-02 15:16:10 -04:00
Jude Nelson
3223ccc28d If the blockstack server was interrupted while indexing, restore from
known-good state (#255)
2016-11-02 15:15:45 -04:00
Larry Salibra
ebe974d53d minimum name price no longer 1 satoshi 2016-11-02 16:59:00 +08:00
Jude Nelson
1cee73473c break sleep loop when signaled 2016-10-28 17:29:50 -04:00
Jude Nelson
935fcaa4af fix debug output for zonefile availability 2016-10-28 16:49:33 -04:00
Jude Nelson
fa458bdaeb push deadline for hard fork to 436650 2016-10-28 16:48:27 -04:00
Jude Nelson
081fc801ae make atlas compatible with integration test framework (now that it's moved);
also, don't re-request zonefiles from peers that don't have them
2016-10-28 13:54:56 -04:00
Jude Nelson
c2ce8a5961 correct logfile name; return base64-encoded zonefiles on get_zonefiles
and get_zonefiles_by_names
2016-10-28 13:54:32 -04:00
Jude Nelson
ac74c68889 if we're testing, we're always running 2016-10-28 13:54:18 -04:00
Jude Nelson
a2f0ec0a63 fast_getlastblock 2016-10-28 11:22:19 -04:00
Jude Nelson
1ff0fb85a4 standard response wrapper; disable block-on-indexing 2016-10-28 11:20:19 -04:00
Jude Nelson
dc58363948 also gc before/after atlasdb sync 2016-10-27 16:24:33 -04:00
Jude Nelson
01d6d83b7a don't forget gc 2016-10-27 16:24:25 -04:00
Jude Nelson
c43858ccef strategic garbage collect 2016-10-27 16:10:27 -04:00
Jude Nelson
a82cd3cb1e strategic garbage collection 2016-10-27 15:47:49 -04:00
Jude Nelson
6abc1f0644 remove dead code 2016-10-27 15:47:20 -04:00
Larry Salibra
83c5351282 undo whitespace changes 2016-10-28 00:57:56 +08:00
Larry Salibra
460e982929 fix variable name typo 2016-10-28 00:48:59 +08:00