Commit Graph

436 Commits

Author SHA1 Message Date
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
Jude Nelson
08fac559d6 synchronize atlasdb state on each block, and check for shutdown requests
using the new db_continue() interface
2016-10-27 00:03:52 -04:00
Jude Nelson
66360657c5 remove dead code 2016-10-27 00:03:43 -04:00
Jude Nelson
363cc3c7cf expected_snapshots is keyed by integer, not string 2016-10-27 00:03:31 -04:00
Jude Nelson
11821fe87a take ownership of global config state getters/setters; also, enable disk
and dht for zonefile storage drivers by default
2016-10-27 00:03:09 -04:00
Jude Nelson
d40e7fabec move some logic over to config so virtualchain_hooks.py can get to it;
also, make it so `--debug` and `--working-dir` can be CLI arguments (in
which case, we'll set them as envars and re-exec so they take effect).
In addition, pass expected_snapshots to verifydb
2016-10-27 00:02:24 -04:00
Jude Nelson
a69f3ea342 when waiting, check every second for thread shutdown request 2016-10-27 00:01:39 -04:00
Jude Nelson
1ac3432f02 update atlas symbols 2016-10-27 00:01:29 -04:00
Jude Nelson
ddecb983f2 move atlas.py to lib/ 2016-10-26 14:48:38 -04:00
Jude Nelson
fe841ed064 move atlas.py to lib 2016-10-26 14:48:06 -04:00
Jude Nelson
71b082832a remove commented-out code 2016-10-24 22:43:49 -04:00
Jude Nelson
ec02bc89a6 comment on what offset/count mean when selecting modifier operations
from a block.
2016-10-24 22:43:25 -04:00
Jude Nelson
05058e4040 return standard-formatted RPC message for prior records 2016-10-24 19:03:13 -04:00
Jude Nelson
5b24430205 standardize the RPC interface further: return {'status': True, ...} on
successful RPCs, and return {'errror': ...} on failures
2016-10-24 17:10:47 -04:00
Jude Nelson
6b6c1f3aad queries for the number of names, number of names by namespace, and block
heights with name operations
2016-10-24 17:10:27 -04:00
Jude Nelson
a18028589e get number of names and number of names in a namespace; fix bugs found
in testing
2016-10-24 17:08:45 -04: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
707e6a9086 move SNV consensus restoration logic to the client 2016-10-24 03:22:47 -04:00
Jude Nelson
22a84cbb78 track 'last_create_op' in the db 2016-10-24 03:22:28 -04:00
Jude Nelson
527e46ad6d use the new 'last_creation_op' column instead of (expensively)
calculating it from the DB.
2016-10-24 03:21:47 -04:00