Commit Graph

5093 Commits

Author SHA1 Message Date
Jude Nelson
a49dfba9b6 fill in get_fees() 2017-04-12 17:12:45 -04:00
Jude Nelson
5b0d506a2a include estimated sizes for namespace_preorder, namespace_reveal, namespace_ready, and name_import transactions 2017-04-12 17:12:24 -04:00
Jude Nelson
b7bdb1aa97 expand the safety checker to include namespace_preorder, namespace_reveal, namespace_ready, and name_import. Also, expand the fee calculations to include fee estimates for these operations. 2017-04-12 17:11:54 -04:00
Jude Nelson
ef07e594dd have do_namespace_preorder, do_namespace_reveal, and do_namespace_ready use the safety module to verify safety properties prior to executing the transaction. Also, extend the fee estimators to include dust fees. 2017-04-12 17:11:07 -04:00
Jude Nelson
a106aeeff8 implement CLI commands for namespace_preorder, namespace_reveal, and namespace_ready. Include interactive wizards for configuring namespaces and acknowledging fees at each step. 2017-04-12 17:10:27 -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
fec388aadc return an integer for expired block 2017-04-12 17:09:40 -04:00
Jude Nelson
0a6436e40f make our Insight API endpoint the default UTXO provider 2017-04-10 11:51:16 -04:00
Jude Nelson
7edeb76bff update config and symbols for UTXO clients 2017-04-10 11:49:29 -04:00
Jude Nelson
a4f64bd1bf renamed old blockstack_utxo to blockstack_core as UTXO endpoint 2017-04-10 11:49:13 -04:00
Jude Nelson
580b5cbb11 Renamed blockstack_utxo to refer to the Insight API endpoint we'll be running; consolidated code for the explorer UTXO endpoint and the dedicated UTXO endpoint we maintain (both use insight API) 2017-04-10 11:48:44 -04:00
Jude Nelson
311687d322 consolidated insight API code 2017-04-10 11:48:32 -04:00
Jude Nelson
5eb0b227f7 Merge branch 'rc-0.14.2' of https://github.com/blockstack/blockstack-core into rc-0.14.2 2017-04-06 18:03:33 -04:00
Jude Nelson
a4503cecad verify_profile should work with a p2pkh owner address as well as the data public key (thanks @rawkode.id!) 2017-04-06 18:02:51 -04:00
Jude Nelson
6206aaf681 add OS X blockstack .spec file for pyinstaller 2017-04-05 18:37:31 -04:00
Jude Nelson
e0dc00cddd only encode secrets if we need to 2017-04-05 17:49:07 -04:00
Jude Nelson
59803e4ff7 if we can't parse secrets, then use an empty dict 2017-04-05 17:45:49 -04:00
Jude Nelson
45369420e1 Add endpoints for getting the Core node logfile, and for appending to the logfile 2017-04-05 16:25:53 -04:00
Jude Nelson
425b982225 log system information on API startup 2017-04-05 15:45:38 -04:00
Jude Nelson
5707298c73 sync with new immutable data api 2017-04-05 15:08:13 -04:00
Jude Nelson
f91a67f28b sync with new storage API for immutable data 2017-04-05 15:08:02 -04:00
Jude Nelson
87532e67a1 store and load secrets across execv() without using envars 2017-04-05 15:07:44 -04:00
Jude Nelson
b13075d275 new secrets API, for passing secrets to child processes across execv(2) without using environment variables. The jist is pretty simple: write them to an unlinked file and have the execv'ed process read them back. Also, take care that no other process has the unlinked file open (e.g. via lsof), in order to ensure that not even another one of the user's processes is trying to race blockstack to get the secrets. 2017-04-05 15:06:40 -04:00
Jude Nelson
7d320668e7 get secrets with new secrets API, not envars 2017-04-05 15:06:25 -04:00
Jude Nelson
01094b56e9 pass secrets to API runner with new secrets API 2017-04-05 15:06:13 -04:00
Jude Nelson
ef525e27af pass file path to put_immutable; use new get_secret() API 2017-04-05 15:05:57 -04:00
Jude Nelson
f0f2b82d5d clarify variable name--we don't expect json 2017-04-05 15:05:42 -04:00
Jude Nelson
e40c510693 send raw data text; don't expect json 2017-04-05 15:05:29 -04:00
Jude Nelson
45962065f5 log API server version when starting (WIP: log more things) 2017-04-05 11:24:31 -04:00
Jude Nelson
fefae026f3 add is_zonefile_data_current(), which takes a raw zone file (unlike is_zonefile_current()) 2017-04-05 11:24:14 -04:00
Jude Nelson
9097fdecf3 expose get_utxos(), broadcast_tx() 2017-04-05 11:24:04 -04:00
Jude Nelson
62ffdd5a23 add changed-fields support for migrating the config file (e.g. always migrate the version number between releases) 2017-04-05 11:23:40 -04:00
Jude Nelson
61fbd0576d expose get_mutable_data_version() and put_mutable_data_version() 2017-04-05 11:23:27 -04:00
Jude Nelson
b96af3df08 refactor zone file sanity-checking logic. Also, only take a path to a new zone file on the CLI (#375) 2017-04-05 11:22:43 -04:00
Jude Nelson
daacde86f7 for doing zone file updates and loading data for put_mutable, only take a path on the CLI 2017-04-05 11:22:13 -04:00
Jude Nelson
468cf1fd5f print test finished before loading db 2017-04-05 11:21:50 -04:00
Jude Nelson
9a7cba4497 bugfix: don't reencode pubkeys 2017-04-03 14:52:32 -04:00
Jude Nelson
0cd0a8ad3c update get_started.sh with the latest test branch 2017-04-03 14:50:54 -04:00
Jude Nelson
d6b96247ac update get_started.sh script 2017-04-03 14:50:19 -04:00
Jude Nelson
3ec52b6899 fix bug in checking API version 2017-03-31 18:09:11 -04:00
Jude Nelson
1c763224c5 Have the API server report its version on ping(), and make the API client check the version before doing anything (and aborting if the client version is different) 2017-03-30 19:55:51 -04:00
Jude Nelson
46e84402d6 use new ecdsa_private_key() wrapper to enforce our compression semantics 2017-03-30 18:26:45 -04:00
Jude Nelson
befde95a59 for now, unless the private key explicitly signals '01' for compressed, assume uncompressed 2017-03-30 18:26:29 -04:00
Jude Nelson
44dcb38580 require virtualchain 0.14.2 2017-03-30 17:32:58 -04:00
Jude Nelson
a1b6d2912c more robust for failed connections 2017-03-30 17:13:55 -04:00
Jude Nelson
34be06c4c8 log connection info 2017-03-30 17:13:50 -04:00
Jude Nelson
0314db1207 time out after 30 seconds if we can't connect to bitcoind 2017-03-30 16:29:56 -04:00
Jude Nelson
e9697de248 remove gnupg 2017-03-30 16:21:46 -04:00
Jude Nelson
d40032d0aa clean up deps 2017-03-30 16:15:42 -04:00