Commit Graph

138 Commits

Author SHA1 Message Date
Jude Nelson
c1825c868a return whether or not a name is expired 2017-09-29 00:50:02 -04:00
Jude Nelson
64f9c1f951 remove analytics; pass along expire_block and renewal_deadline 2017-09-29 00:49:36 -04:00
Aaron Blankstein
77f76166ae version bump plus fix in the migration code 2017-09-14 13:42:15 -04:00
Aaron Blankstein
c878b62c8a /usr/bin/env python -> python2. our code is not python3 friendly, we should specify that 2017-08-17 13:40:01 -04:00
Aaron Blankstein
e0cb5f04f6 support for greedily filling the subdomain cache by querying blockstack core for new zonefiles 2017-08-08 15:00:52 -04:00
Aaron Blankstein
299bf350c3 start of getting everything to be a bit more greedy in building up subdomains 2017-08-07 19:08:55 -04:00
Jude Nelson
f2db7e63f5 shutdown the socket when asked 2017-08-04 11:34:34 -04:00
Jude Nelson
65542e85d8 don't store data to the resolver (which is read-only) 2017-08-04 11:20:35 -04:00
Aaron Blankstein
e7cf70201a update blockstackd's call to get_profile to match refactor from 2063c88305 2017-06-20 10:21:45 -04:00
Jude Nelson
1c3b00b565 extra logging message 2017-06-19 23:24:26 -04:00
Jude Nelson
9fd544afc9 start GC thread earlier 2017-05-03 12:38:23 -04:00
Jude Nelson
4776ccfad6 differentiate between read and write drivers for profiles, zonefiles, and data 2017-05-02 22:47:20 -04:00
Jude Nelson
f90d003548 add --testnet3 option 2017-05-01 19:54:57 -04:00
Jude Nelson
3b099fc72a fix bugs in supporting mutable data v2 in the storage proxy component; fix arg-parsing bug 2017-04-27 19:20:38 -04:00
Jude Nelson
5a7dd7433b use virtualchain hashing library instead of pybitcoin 2017-04-20 17:35:50 -04:00
Jude Nelson
95c472dcca port fix from master re: storing queued profiles 2017-04-13 16:43:46 -04:00
Jude Nelson
fec388aadc return an integer for expired block 2017-04-12 17:09:40 -04:00
Jude Nelson
f777a890ac get off of virtualchain.BitcoinPublicKey wherever possible in favor of keylib 2017-03-30 14:59:14 -04:00
Jude Nelson
cffb5437d8 Automatic GC collect 2017-03-12 22:41:26 -04:00
Jude Nelson
15608bcc06 automatic gc collector 2017-03-12 22:41:12 -04:00
Jude Nelson
af6033b0fc remove old hard-fork activation check; make it possible to safely exit the indexer without the network; make network attempts back-off exponentially on failure 2017-03-01 11:54:02 -05:00
Jude Nelson
b7feeeb547 give helpful pre- and post-sync feedback 2017-02-28 23:02:18 -05:00
Jude Nelson
7ac41b14c3 blockstack-core, not blockstack-server 2017-02-28 16:49:15 -05:00
Jude Nelson
a841b00935 take public key CSV as an argument 2017-02-20 21:24:44 -05:00
Jude Nelson
679ce7ff53 WIP: CLI interface for creating and loading fast-sync images 2017-02-20 20:52:43 -05:00
Jude Nelson
2229f00eb6 check that we actually enqueue the zonefile 2017-02-06 15:00:35 -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
afa09cdf56 fast_sync and fast_sync_snapshot commands 2017-01-23 19:03:09 -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
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
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
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
3223ccc28d If the blockstack server was interrupted while indexing, restore from
known-good state (#255)
2016-11-02 15:15:45 -04:00
Jude Nelson
1cee73473c break sleep loop when signaled 2016-10-28 17:29:50 -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
1ff0fb85a4 standard response wrapper; disable block-on-indexing 2016-10-28 11:20:19 -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
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
a699af9af9 don't do server-side name history traversal from an RPC call. Instead,
have the client determine which names were affected at which block,
query the name's history rows, and do the re-assembly and traversal
client-side.  This takes a lot less time per RPC call (even though the
overall method will be slower), and stops us from running out of memory.
2016-10-24 03:16:37 -04:00
Jude Nelson
0b7b20e572 pass name and txid to zonefile driver storage logic 2016-10-11 08:14:36 -04:00
Jude Nelson
08b9739c5f better printing for get peers 2016-10-10 12:27:35 -04:00
Jude Nelson
4e8fd312d1 add get_all_namespaces(), add get_last_nameops(), fix #240 in a
backwards-compatible way (needs more testing)
2016-10-10 11:57:34 -04:00
Jude Nelson
d70028ca44 do not activate new features until F-day 2016-10-05 14:38:50 -04:00
Jude Nelson
93ed8389ad when getting zonefiles and profiles, don't forget that they can be
non-standard and not necessariliy parseable
2016-10-03 18:34:19 -04:00
Jude Nelson
dbad8e4b7f better logging of error cases when requesting zonefiles 2016-10-03 01:40:21 -04:00
Jude Nelson
753fcc76af do not attempt to pull zonefiles from storage drivers in the RPC loop.
The zonefile crawler logic in the Atlas system does this.
2016-10-03 01:27:16 -04:00