Commit Graph

290 Commits

Author SHA1 Message Date
Jude Nelson
46b085eb55 clean up imports; sync with storage API when storing mutable data as part of the storage gateway 2017-04-27 19:23:49 -04:00
Jude Nelson
d6884b2929 clean up imports 2017-04-27 19:23:35 -04:00
Jude Nelson
70606144ae clean up imports 2017-04-27 19:23:26 -04:00
Jude Nelson
15bcb452ee clean up imports 2017-04-27 19:23:15 -04:00
Jude Nelson
e94eadf8c8 clean up imports 2017-04-27 19:23:07 -04:00
Jude Nelson
2008a80d2d clean up imports 2017-04-27 19:22:57 -04:00
Jude Nelson
927e71ae96 clean up imports 2017-04-27 19:22:49 -04:00
Jude Nelson
7cbe1b4a44 clean up imports; do not shell-out for tar/bzip2/bunzip2. Instead, use tarfile module 2017-04-27 19:22:28 -04:00
Jude Nelson
4d792e2494 clean up imports 2017-04-27 19:22:16 -04:00
Jude Nelson
63dda984a0 clean up imports 2017-04-27 19:22:08 -04:00
Jude Nelson
500735eb4c clean up imports 2017-04-27 19:21:13 -04:00
Jude Nelson
6274248683 clean up imports 2017-04-27 19:21:03 -04:00
Jude Nelson
f52666a1f8 only use two directories per zone file 2017-04-25 20:21:39 -04:00
Jude Nelson
4e4166a648 refactor Atlas peer code to use context manages for locking global data structures and accessing the database 2017-04-25 20:20:59 -04:00
Jude Nelson
06a4ef0b34 improve documentation of collision-checker methods to indicate that they are not called directly. Also, fix potential NameError (doesn't happen in practice, but let's be careful) 2017-04-25 20:20:07 -04:00
Jude Nelson
3bf38e2dde reduce Atlas inode usage by using a different zonefile directory structure 2017-04-25 11:12:37 -04:00
Jude Nelson
ad5948c30a better database-is-locked error handling 2017-04-24 20:11:06 -04:00
Jude Nelson
a3e5487edc move get_file_hash() to fast_sync 2017-04-24 20:10:57 -04:00
Jude Nelson
82edadff96 remove pybitcoin and pybitcointools dependencies 2017-04-20 17:38:02 -04:00
Jude Nelson
eb06526aa4 use generic virtualchain multisig script check 2017-04-20 17:37:17 -04:00
Jude Nelson
9c12126d95 use generic virtualchain multisig script check 2017-04-20 17:37:02 -04:00
Jude Nelson
ff07b90bd1 use keylib base58 instead of pybitcoin base58 2017-04-20 17:36:49 -04:00
Jude Nelson
40d94506a0 use virtualchain address methods instead of pybitcoin address methods 2017-04-20 17:36:32 -04:00
Jude Nelson
845d23cc60 do not require pybitcoin, except for unit tests 2017-04-20 17:36:16 -04:00
Jude Nelson
3cde47c606 use virtualchain hashing library instead of pybitcoin 2017-04-20 17:36:04 -04:00
Jude Nelson
1a07180041 remove dead code 2017-04-17 15:38:59 -04:00
Jude Nelson
95c472dcca port fix from master re: storing queued profiles 2017-04-13 16:43:46 -04:00
Jude Nelson
deb588ffb3 separate out keychain path generation logic 2017-04-13 10:59:06 -04:00
Jude Nelson
62965d4f00 remove dead code 2017-04-12 17:10:15 -04:00
Jude Nelson
c66b44ac7e when building an import keychain, optionally take a directory in which to store it (so clients can do this) 2017-04-12 17:09:53 -04:00
Jude Nelson
e40c510693 send raw data text; don't expect json 2017-04-05 15:05:29 -04:00
Jude Nelson
29389dea8a get version from blockstack_client 2017-03-28 11:12:01 -04:00
Jude Nelson
58ce4ba8cc clean up imports 2017-03-27 15:12:23 -04:00
Jude Nelson
251d61fe13 remove pybitcoin import 2017-03-27 15:12:12 -04:00
Jude Nelson
1ef16e5e28 remove pybitcoin import 2017-03-27 15:12:03 -04:00
Jude Nelson
2c2353b10d remove pybitcoin import 2017-03-27 15:11:53 -04:00
Jude Nelson
c5ab587523 return false on mismatched sender (backport from master) 2017-03-09 20:02:49 -05:00
Jude Nelson
b4d4255682 by default, back up every 144 blocks 2017-03-01 19:18:20 -05:00
Jude Nelson
04387af18e clean up on snapshot 2017-03-01 19:17:32 -05:00
Jude Nelson
22e08aa525 say that we're fetching 2017-02-28 23:02:08 -05:00
Jude Nelson
91533cb7d1 always return old working dir 2017-02-28 16:49:59 -05:00
Jude Nelson
6d45459a6c don't set None 2017-02-28 16:49:07 -05:00
Jude Nelson
eb3e0a1ede clean up code a bit; fixed bug found in testing 2017-02-24 19:17:34 -05:00
Jude Nelson
c00c05c4c9 add fast_sync_inspect_snapshot convenience method 2017-02-23 17:23:21 -05:00
Jude Nelson
402e7d10b7 format and encode the path 2017-02-23 17:21:31 -05:00
Jude Nelson
d196bbd2ff preserve 'tried_storage' when we queue new zone files 2017-02-23 17:21:09 -05:00
Jude Nelson
cf91518ae0 fix up symbols 2017-02-20 21:17:21 -05:00
Jude Nelson
9d2e77c9c5 Improve multisig algorithm for fast-sync snapshots: only sign the digest. Also, make it so we can incrementally sign fast-sync snapshots. 2017-02-20 20:53:48 -05:00
Jude Nelson
1e9bc037d4 Use sqlite3 .backup instead of shutil.copyfile() for backing up SQLite3 databases 2017-02-20 20:53:23 -05:00
Jude Nelson
72a1226796 just have one public key for fast_sync (for now; will up to 3 on release) 2017-02-20 20:52:24 -05:00