Commit Graph

296 Commits

Author SHA1 Message Date
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
Jude Nelson
5680e22af7 isolate burn-address calculation; have NAME_RENEwAL select the right burn address automatically 2017-09-29 00:49:35 -04:00
Jude Nelson
5c22105684 when preordering a name, make sure to select the right burn address. Also, API sync with transaction creation logic 2017-09-29 00:49:35 -04:00
Jude Nelson
3ba220b45b consider value hash in fee estimation (since it changes the length of the transaction for register and renew) 2017-09-29 00:49:26 -04:00
Jude Nelson
71ec76c901 pass along value hash and name owner in renewal and registration 2017-09-29 00:49:26 -04:00
Aaron Blankstein
36e1365b73 Authentication headers should be Authorization headers for gaia_hub 2017-09-29 00:49:25 -04:00
Aaron Blankstein
04c6af1389 fixes typo bug in gaia hub driver 2017-09-29 00:49:25 -04:00
Jude Nelson
b4d2301ed8 rely in virtualchain for fee estimation 2017-09-29 00:49:02 -04:00
Jude Nelson
7c21322731 API sync with virtualchain: pass in the inputs we'll use when building a transaction so we match the right output script and amount to the input signature 2017-09-29 00:49:02 -04:00
Jude Nelson
ef484052a7 include support for segwit 2017-09-29 00:49:02 -04:00
Jude Nelson
8912c36ff3 use virtualchain fee estimator 2017-09-29 00:49:02 -04:00
Jude Nelson
120c1b2d21 try to import addresses if there are no outputs and we're in test mode 2017-09-29 00:49:02 -04:00
Aaron Blankstein
96e31abd86 dashes become underscores in the gaia_hub driver config 2017-09-29 00:48:49 -04:00
Aaron Blankstein
7e52b721ae first working prototype of a gaia/hub driver, needs clean up on error handling, but this successfully communicated PUTs/GETs to my local s3 backed gaia hub! 2017-09-29 00:48:48 -04:00
Aaron Blankstein
762e81c242 fixes issue 619, a bug in the regtest bitcoind utxo provider 2017-09-26 11:13:02 -04:00
Aaron Blankstein
095d5594e4 Authentication headers should be Authorization headers for gaia_hub 2017-09-19 17:53:39 -04:00
Aaron Blankstein
b1823fce03 fixes typo bug in gaia hub driver 2017-09-19 13:29:25 -04:00
Aaron Blankstein
1d86d05b7d dashes become underscores in the gaia_hub driver config 2017-09-14 17:15:29 -04:00
Aaron Blankstein
8b002af077 first working prototype of a gaia/hub driver, needs clean up on error handling, but this successfully communicated PUTs/GETs to my local s3 backed gaia hub! 2017-09-13 18:07:12 -04:00
Aaron Blankstein
7afd0f55a7 updated tests to test payment key support with updates, transfers, and renewals. plus better handling in 0-UTXO safety check 2017-09-08 15:31:35 -04:00