Commit Graph

315 Commits

Author SHA1 Message Date
Jude Nelson
aaa4ebf3eb whitespace 2017-10-31 14:33:33 -04:00
Jude Nelson
5c019ee9dd fix using a separate key 2017-10-26 00:41:45 -04:00
Jude Nelson
c7f8590e6b fix typos; ecdsa_private_key doesn't take compressed (yet) 2017-10-25 20:18:26 -04:00
Jude Nelson
8532807835 support segwit and multisig owner and payment keys passed in from the browser 2017-10-25 19:41:37 -04:00
Jude Nelson
e00db4a709 aggressive address encoding 2017-10-25 15:44:22 -04:00
Jude Nelson
f2f7d5a7cb have registrar methods return the names they did (and did not) register; when encrypting owner/private keys, allow the registrar to specify scrypt parameters (taken from the environment) 2017-10-25 15:43:48 -04:00
Jude Nelson
05e37da5cf whitespacing 2017-10-25 15:43:38 -04:00
Jude Nelson
4537fb8d32 be more aggressive about address encoding checks; pass config paths where appropriate 2017-10-25 15:43:06 -04:00
Jude Nelson
fbb90491eb allow the aes_encrypt() caller to pass scrypt parameters 2017-10-25 15:42:46 -04:00
Jude Nelson
bb1f3e42b7 accept config path 2017-10-25 15:42:35 -04:00
Jude Nelson
15f6bbca8a pass owner address through 2017-10-23 17:08:34 -04:00
Jude Nelson
99d1f0c510 whitespace 2017-10-23 17:08:23 -04:00
Jude Nelson
889e70fe5d allow accepting only the owner address, in case the owner private key is not known 2017-10-23 17:08:06 -04:00
Jude Nelson
97dcab7cb3 allow running the registrar once, in one pass. Also, accept config overrides in its constructor 2017-10-23 17:07:44 -04:00
Jude Nelson
85cf161800 fix race condition visible in test framework when creating a registrar queue 2017-10-19 14:28:19 -04:00
Jude Nelson
6d51ade869 name_import is part of the registrar state 2017-10-18 14:30:21 -04:00
Jude Nelson
9767abbb00 update fee warning 2017-10-17 11:59:45 -04:00
Aaron Blankstein
9f54bcf21e use /tmp/ for the registrar lockfile, prior location was breaking registrar worker in Windows 2017-10-12 18:15:50 -04:00
Jude Nelson
feb02859ae remove dead code 2017-10-12 17:11:54 -04:00
Jude Nelson
278d656bf1 version bump; omit unneeded safety check on namespace_reveal (thanks @mark!) 2017-10-12 11:12:36 -04:00
Jude Nelson
56b032474b not guaranteed to have a zonefile hash in all uses of this method 2017-10-11 14:38:40 -04:00
Jude Nelson
932c6fec6f for zonefile lookups via blockstack-server, use rpc_get_name_blockchain_record() to get the zone file hash 2017-10-10 11:23:39 -04:00
Aaron Blankstein
c63893484b be a little more graceful when not configured yet 2017-10-09 16:05:49 -04:00
Jude Nelson
8f00556f1b have the Gaia hub driver log error messages 2017-10-09 13:48:51 -04:00
Aaron Blankstein
fd62c3bccf adds a dust_included flag to tell the tx serialization code not to add any more dust fees, because those fees are already included in txfee, this prevents double-adds of dust fees 2017-10-06 16:11:50 -04:00
Aaron Blankstein
6af117d3b9 add single_sig query string to /v1/prices/names/:foo endpoint to use a dummy single sig address to compute prices 2017-10-06 11:24:22 -04:00
Aaron Blankstein
78a29df651 fix price estimate to use 2-step instead of 3-4 step price estimate 2017-10-06 10:07:26 -04:00
Jude Nelson
b8275e4518 make sure that we use the right burn address, accounting for whether or not we're in a v2 namespace's fee collection period 2017-10-04 00:05:13 -04:00
Jude Nelson
1b272bb668 calculate the right burn address for preorder and renewal 2017-10-04 00:04:56 -04:00
Jude Nelson
f078174789 bugfix on error path: namespace version 2017-10-03 13:06:33 -04:00
Aaron Blankstein
75b45758ef revert token-file changes for gaia_hub driver 2017-10-02 10:04:19 -04:00
Jude Nelson
05281624d1 fix update() arguments 2017-09-29 16:03:44 -04:00
Jude Nelson
c238e711b1 require tx fee and renewal fee 2017-09-29 16:03:36 -04:00
Jude Nelson
dfac4311bb remove keyfile logic and revert to profiles (artifact of rebase) 2017-09-29 01:59:56 -04:00
Jude Nelson
4db28f08cb propagate new zonefile and keyfile on processing a name renew 2017-09-29 00:50:02 -04:00
Jude Nelson
d2d59ff094 include new owner, new zonefile, and new keyfile in renew 2017-09-29 00:50:02 -04:00
Jude Nelson
97c3c994c9 if we don't have UTXOs yet, then simulate them 2017-09-29 00:50:02 -04:00
Jude Nelson
59fe228de4 value_hash -> zonefile_hash 2017-09-29 00:49:38 -04:00
Jude Nelson
99243c4a8a handle reg/up transactions by broadcasting their zone files and keyfiles once the registration confirms 2017-09-29 00:49:38 -04:00
Jude Nelson
6cd8245d86 record whether or not a registration is really a reg/up 2017-09-29 00:49:38 -04:00
Jude Nelson
443d17395e register and update take zone files and new addresses as arguments; rename value_hash to zonefile_hash 2017-09-29 00:49:38 -04:00
Aaron Blankstein
caad4a215d patch gaia_hub driver for multi-reader storage 2017-09-29 00:49:38 -04:00
Jude Nelson
ac20d116c5 return URL on put mutable 2017-09-29 00:49:38 -04:00
Jude Nelson
14cc53f3f3 check to see that a name is not in the grace period 2017-09-29 00:49:37 -04:00
Jude Nelson
9bc8c6087f allow tx_fee to be passed in on some operations 2017-09-29 00:49:37 -04:00
Aaron Blankstein
18ad8f58c5 fixes issue 619, a bug in the regtest bitcoind utxo provider 2017-09-29 00:49:36 -04:00
Jude Nelson
14dc0e959f on preorder/renew, verify that the burn address is correct 2017-09-29 00:49:36 -04:00
Jude Nelson
5a80667893 pass along burn address to renewal checker 2017-09-29 00:49:36 -04:00
Jude Nelson
5563bfbe6a update safety checks so we don't allow epoch3 operations until the hard-fork date 2017-09-29 00:49:35 -04:00
Jude Nelson
f8f9d9c500 check_renewal() takes the new address as the transfer_address kwarg 2017-09-29 00:49:35 -04:00