Commit Graph

387 Commits

Author SHA1 Message Date
Jude Nelson
313eacb2fd Sync with master 2015-09-18 16:58:06 -04:00
Muneeb Ali
2417088cd2 moving presentations to github.com/blockstack/blockstore-papers 2015-09-18 16:18:35 -04:00
Jude Nelson
0abe4ddaef Add 'clean' command (#118) 2015-09-18 15:31:39 -04:00
Jude Nelson
f2c8b05908 Add 'reconfigure' (#118) 2015-09-18 12:45:26 -04:00
Jude Nelson
0bd5a82d95 Use correct DHT server list format 2015-09-18 12:45:16 -04:00
Jude Nelson
21ade7fe47 Off-by-one error 2015-09-17 19:19:26 -04:00
Jude Nelson
0ca8da0f15 Need keychain 2015-09-17 19:13:09 -04:00
Jude Nelson
29d0dfe482 license and removal of old blockstore-cli 2015-09-17 19:12:53 -04:00
Jude Nelson
ad713ba70a Get names in order 2015-09-17 19:12:32 -04:00
Jude Nelson
e9b3be22d9 Add get_consensus_at, get_all_names, get_names_in_namespace 2015-09-17 19:12:17 -04:00
Jude Nelson
14081402bb Stringify bucket exponents on serialize 2015-09-16 12:56:07 -04:00
Jude Nelson
10e98b0a51 Ensure that blockstore's settings are 0600 2015-09-16 12:55:46 -04:00
Jude Nelson
6f779744f8 Use absolute path when daemonizing; always run twistd in the foreground
(we will supervise it)
2015-09-16 12:55:26 -04:00
Jude Nelson
da0e1ace05 Remove the need to report changes to virtualchain; add the db_serialize
implementation to serialize name records discovered in a block.
2015-09-15 22:10:48 -04:00
Jude Nelson
3249986e58 Update list of classes to import 2015-09-15 22:10:26 -04:00
Jude Nelson
b782c34a8d Remove blockstore iterator class (it is no longer needed by
virtualchain); remove the need for reporting state changes to
virtualchain.
2015-09-15 22:09:56 -04:00
Jude Nelson
848a470848 Add a "serialize" method to each name operation, so as to make it easier
to generate merkle trees over them
2015-09-15 22:09:04 -04:00
Jude Nelson
d2ed80bbc9 Group opcodes; set genesis consensus hash 2015-09-15 22:08:39 -04:00
Jude Nelson
34903c048d Proper daemonization, logfile-handling, and SIGINT handling while
indexing.  Also, start the RPC server early (before we sync with the
blockchain), and have the RPC server send an error that we're busy
re-indexing while blockstore is starting up (like how bitcoind does).
2015-09-15 22:07:49 -04:00
Jude Nelson
24704aceea Remove dead code 2015-09-15 22:07:33 -04:00
Jude Nelson
8051ad6556 Make db_commit return True if records actually changed. 2015-09-15 02:27:03 -04:00
Jude Nelson
f6735e9c56 Support TESTSET namespace pricing; make commit_* methods return True if
they actually changed anything (e.g. for recording changes caused by
expiration)
2015-09-15 02:26:25 -04:00
Jude Nelson
48a2fc557f Select and save default config values; better option name
transformations for user prompting.
2015-09-15 02:25:55 -04:00
Jude Nelson
b7124ce00c Redirect logfiles when daemonizing 2015-09-15 02:25:38 -04:00
Jude Nelson
2698e3b7bb PDF version of slides 2015-09-14 11:57:13 -04:00
Jude Nelson
40a2d80445 Add blockstack devops slides 2015-09-12 12:15:33 -04:00
Jude Nelson
36e4c4625f Make sure the pubkey we select matches the namespace revealer address 2015-09-11 13:28:33 -04:00
Jude Nelson
e262e53bc5 Cache the keyring once generated, so we don't waste time generating it
again
2015-09-11 12:27:13 -04:00
Jude Nelson
94bcc47809 Allow the name importer to derive a set of keys through which to do the
import.  The default number of keys is set to 300.  Update the code to
use the first imported name's sender's public key as the seed.
2015-09-11 11:51:58 -04:00
Jude Nelson
6881611277 Better daemonization (WIP), control the number of confirmations before
accepting a name
2015-09-11 11:51:30 -04:00
Jude Nelson
0ac272721d Stop the indexer as well as the twistd server on termination signals. 2015-09-10 10:54:34 -04:00
Jude Nelson
8d5e903a29 TEST: Separate broadcaster from utxo provider for imports 2015-09-09 22:17:21 -04:00
Jude Nelson
158e544cef Add [blockstore] ini header, to pick the utxo provider and the tx
broadcast provider endpoints
2015-09-09 22:17:00 -04:00
Jude Nelson
86de9ca70e Update comments 2015-09-09 19:30:32 -04:00
Jude Nelson
809e9baab0 Make the UTXO provider configurable, and support all of which are
provided in pybitcoin
2015-09-09 19:29:28 -04:00
Jude Nelson
551bb5dd89 Remove dead line of code 2015-09-09 19:29:18 -04:00
Jude Nelson
756ceb0046 Remove old CLI tool 2015-09-08 17:48:51 -04:00
Jude Nelson
16a8af3291 Prompt for bitcoin and chaincom details if there is no .ini file.
Supply defaults, and prompt if there are fields missing.
2015-09-08 17:34:38 -04:00
Jude Nelson
0be84c313a Remove gratuitous debugging 2015-09-08 17:34:26 -04:00
Jude Nelson
1df9ca8e16 Include port in default opts; fix bug in prefix-stripping and
prefix-restoring when prompting interactively
2015-09-08 16:36:53 -04:00
Jude Nelson
84416550f5 Don't use the name of a globally-scoped variable, for safety 2015-09-08 16:36:40 -04:00
Jude Nelson
30e9a77ee0 Enable production name pricing 2015-09-08 14:45:25 -04:00
Jude Nelson
a1202de300 Production namespace prices 2015-09-08 14:45:05 -04:00
Jude Nelson
563d8c0104 Lookup namespace API call; check lengths on name lookup 2015-09-08 14:44:46 -04:00
Jude Nelson
ed5a4e0052 Remove fee check for name import, since imports are free once the
namespace is defined.
2015-09-08 00:51:08 -04:00
Jude Nelson
d2a341d355 Use the dust fee for the change address; don't pay twice for it. 2015-09-08 00:50:24 -04:00
Jude Nelson
379429949a No burn address output in name import 2015-09-08 00:49:48 -04:00
Jude Nelson
664dbaf9ac No fee for imports 2015-09-08 00:49:35 -04:00
Jude Nelson
8a8ff02827 Disable name_import fee 2015-09-07 20:41:37 -04:00
Jude Nelson
fc65056738 Updated name pricing to use new namespace rules construction; fixed bug
in denying register/reveal when there are duplicate register/reveal
operations sent in the same block for the same name/namespace
2015-09-07 20:23:23 -04:00