Commit Graph

76 Commits

Author SHA1 Message Date
Jude Nelson
bd3edd8997 Expand namespace lifetime by 4x 2016-07-20 10:37:08 -04:00
Jude Nelson
0a7c5996cc get_name_history() should return a dict, keyed by block height 2016-07-18 15:59:00 -04:00
Jude Nelson
a59a62c27c store server version in the config file, and use it to determine whether
or not the config file is obsolete and needs to be regenerated
2016-07-13 15:42:47 -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
d1839e40c0 zonefiles are 4K tops, in order to preserve backwards-compatibility with
UDP-based protocols (like the old DHT)
2016-07-12 16:33:05 -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
22f015f847 'zonefile_storage_drivers' and 'profile_storage_drivers' config options 2016-07-10 14:46:56 -04:00
Jude Nelson
01e04f876c parse the right data 2016-07-08 16:37:43 -04:00
Jude Nelson
739257e440 add is_namespace_valid() 2016-07-08 16:37:31 -04:00
Jude Nelson
bbdf3d214d remove dead code 2016-07-08 16:37:23 -04:00
Jude Nelson
57aaf9188c maximum zonefile/profile replication sizes 2016-07-08 16:37:09 -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
ad6579d634 add storage module 2016-07-08 12:51:12 -04:00
Jude Nelson
5c31c0f449 if the zonefile directory doesn't exist, create it 2016-07-08 12:31:24 -04:00
Jude Nelson
87da0001a8 bugfix: cache until invalidated, and set invalidation timers
appropriately
2016-07-06 15:49:05 -04:00
Jude Nelson
a79f64b5a6 corner case: in case it takes a very long time to load the DB from RAM,
ensure mutual exclusivity on loading it
2016-07-06 12:55:42 -04:00
Jude Nelson
3390162543 add comments on when/how to use BlockstackDB class 2016-07-06 12:55:29 -04:00
Jude Nelson
5dee5cc499 load analytics key from config file 2016-06-28 16:50:13 -04:00
Jude Nelson
203869b10a rely on check time, not mtime 2016-06-21 02:42:20 -04:00
Jude Nelson
4e3a66e2eb Optimization: keep the database in RAM, except when indexing. Be sure to invalidate
when finished indexing.  The only thing clients will pull from the db is
the current consensus hash.
2016-06-21 01:48:28 -04:00
Jude Nelson
0b79d37e5a set config options directly; prefix bitcoind options with 'bitcoind_'
for virtualchain
2016-06-15 17:40:44 -04:00
Jude Nelson
3aae968e46 remove more testset/testnet (should be handled implicitly by bitcoind
anyway); make sure `configure` works
2016-06-15 15:19:37 -04:00
Jude Nelson
b0201b7c1c move most configuration out of blockstack and into blockstack-client 2016-06-15 11:24:52 -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
ce89e6643b remove testset 2016-06-14 11:31:13 -04:00
Jude Nelson
144d1dbe1d remove dead code 2016-06-14 11:31:04 -04:00
Jude Nelson
33329b373d remove testset 2016-06-14 11:30:53 -04:00
Jude Nelson
6a14fa441e remove testset 2016-06-14 11:30:43 -04:00
Jude Nelson
383b903f1f Remove needless testnet/testset 2016-06-14 11:30:19 -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
e56d202a4d return None if there are no names with a given value hash 2016-06-09 03:18:12 -04:00
Jude Nelson
b3a7f79445 supply subsidy key via config 2016-06-09 03:17:35 -04:00
Jude Nelson
011576a168 WIP: move most nameop handling to the client 2016-06-09 03:17:15 -04:00
Jude Nelson
daac6d43fa BLOCKSTORE --> BLOCKSTACK 2016-06-06 17:44:33 -04:00
Jude Nelson
76b3223a96 backport automatic db backup and restore from develop 2016-05-18 15:45:53 -04:00
Jude Nelson
a7390848b0 fix bug on lack of zonefile error path 2016-05-11 18:03:52 -04:00
Jude Nelson
8c74e5ce23 use new virtualchain log facility 2016-05-11 18:03:44 -04:00
Jude Nelson
ee3e97e06f Use new virtualchain log facility 2016-05-11 18:03:21 -04:00
Jude Nelson
a62535e500 use new virtualchain log facility 2016-05-11 18:03:02 -04:00
Jude Nelson
b85bfe6f70 preserve 'first_registered' and 'last_renewed' across re-registers
(affects SNV, not consensus).  Also, bugfix on namespace reveal
expiration
2016-05-11 18:02:34 -04:00
Jude Nelson
94a4f283c9 enable different constants during testing to speed things up; fix
announcement API to be compatible with latest client
2016-05-11 18:02:00 -04:00
Jude Nelson
6ac27c75ae Use relative import paths 2016-05-11 18:01:47 -04:00
Jude Nelson
bfffc61511 always ensure database is fresh 2016-04-26 03:36:48 -04:00
Jude Nelson
176aaef9fa DRY __version__ 2016-04-26 03:36:33 -04:00