Commit Graph

161 Commits

Author SHA1 Message Date
Jude Nelson
4c6562b5c8 nulldata can be None if it isn't parseable 2018-01-17 00:30:53 -05:00
Jude Nelson
544f265cf0 ~/.blockstack-server 2018-01-17 00:15:42 -05:00
Jude Nelson
a60916dec2 os.path.expanduser 2018-01-17 00:14:34 -05:00
Jude Nelson
1feb34687d use is_atlas_enabled(); pass atlasdb path on subdomain lookup 2018-01-17 00:08:33 -05:00
Jude Nelson
1a8ad99376 properly instantiate the namedb and atlasdb 2018-01-16 16:34:25 -05:00
Jude Nelson
d8fd4d5284 rework the RPC client: remove the storage and profile load/store APIs (now handled by gaiahub), simplify the SNV API so that we can simply paginate through historic name snapshots (which is now efficient, thanks to the new database schema), remove the asynchronous storage queue (now that we don't load/store data via blockstack_client), remove old CLI options (rebuilddb, importdb), rely on functionality provided by virtualchain wherever possible (like for verifydb) 2018-01-12 18:30:15 -05:00
Jude Nelson
4d9987e23f add get_historic_name_at() for expired names 2017-11-10 13:12:53 -05:00
Jude Nelson
76bf68bff8 add API endpoints in the indexer to get the *unexpired* name count and the *cumulative* name count 2017-11-08 11:27:56 -05:00
Jude Nelson
8c3f10e822 check offset/count 2017-10-31 14:33:23 -04:00
Jude Nelson
172676580f don't restore unless we have to; always use snapshots if available 2017-10-31 12:34:00 -04:00
Jude Nelson
a4be04ffd1 Merge branch 'hotfix/nameop-library-support' into hotfix/did-support 2017-10-30 16:39:36 -04:00
Jude Nelson
7504818e7a auto-restore on restart from improper shutdown 2017-10-30 11:57:56 -04:00
Jude Nelson
37bd9cfa42 add RPC methods to find out the list of names ever created by an address 2017-10-27 19:24:48 -04:00
Jack Zampolin
d0893197dd Kick CI 2017-10-17 15:33:54 -07:00
Jude Nelson
ef6bbdff17 properly use rpc_port 2017-10-12 17:12:13 -04:00
Jude Nelson
19685fb5ee deny gzipped data 2017-10-11 19:07:10 -04:00
Jude Nelson
29b4e5d94b minimim allowed block can be 1 when testing 2017-10-11 17:26:13 -04:00
Jude Nelson
5aca5c3a1b harden the RPC interface: deny messages over a certain size and type-check all parameters 2017-10-11 14:38:16 -04:00
Jude Nelson
13eb9b4141 remove rpc_get_zonefiles_by_names(); remove deprecated profile-verification-by-hash (we now use timestamp+signature to stop replay attacks) 2017-10-10 11:20:15 -04:00
Jude Nelson
0d450dca9a expanduser on snapshots path 2017-10-05 12:33:29 -04:00
Jude Nelson
0113c1d17c better output on fast_sync 2017-10-05 12:15:16 -04:00
Jude Nelson
3adbc2bc11 don't require url on fast_sync 2017-10-04 19:02:07 -04:00
Jude Nelson
33a1c1d995 abort when the config version is obsolete 2017-10-04 17:54:27 -04:00
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