Commit Graph

440 Commits

Author SHA1 Message Date
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
fec388aadc return an integer for expired block 2017-04-12 17:09:40 -04:00
Jude Nelson
e40c510693 send raw data text; don't expect json 2017-04-05 15:05:29 -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
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
832c0323e8 version bump 2017-03-13 18:20:13 -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
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
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
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
7ac41b14c3 blockstack-core, not blockstack-server 2017-02-28 16:49:15 -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
a841b00935 take public key CSV as an argument 2017-02-20 21:24:44 -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
679ce7ff53 WIP: CLI interface for creating and loading fast-sync images 2017-02-20 20:52:43 -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
Jude Nelson
97dd382a24 whitespace 2017-02-20 20:52:15 -05:00
Jude Nelson
1d49201f6e make sure mutable data in the storage gateway doesn't collide (do so by prefixing by blockchain ID) 2017-02-06 15:01:57 -05:00
Jude Nelson
c4e618c8cf fix counting zonefiles as we compress them 2017-02-06 15:01:25 -05:00
Jude Nelson
bdd0484f10 if the zonefile has already hit our cache, we can mark it as present in the atlas db vector 2017-02-06 15:00:56 -05:00
Jude Nelson
2229f00eb6 check that we actually enqueue the zonefile 2017-02-06 15:00:35 -05:00
Jude Nelson
b949631bd0 store mutable data, but only if the caller owns a public blockchain ID (stops anonymous users from spamming) 2017-01-30 01:35:00 -05:00
Jude Nelson
99810d512a use the announcement API in the blockstack client 2017-01-30 01:34:43 -05:00
Jude Nelson
f91a8d6932 add config options for activating and using the storage gateway; remove announcement API since it's duplicated in the client library. 2017-01-30 01:34:20 -05:00
Jude Nelson
022215d30a bugfixes to fast-sync protocol found in testing 2017-01-30 01:33:56 -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
2100cdef5b symbol update 2017-01-23 19:03:39 -05:00
Jude Nelson
fa2214e1db hard-coded fast_sync public key 2017-01-23 19:03:23 -05:00
Jude Nelson
afa09cdf56 fast_sync and fast_sync_snapshot commands 2017-01-23 19:03:09 -05:00
Jude Nelson
fbb17c8c2e Initial fast-sync logic 2017-01-23 19:02:55 -05:00
Jude Nelson
ed6f45ade1 use required, not profile_storage_drivers 2017-01-20 17:52:55 -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
e812f25830 merge from rc-0.14.1 2017-01-17 11:18:42 -05:00