Commit Graph

285 Commits

Author SHA1 Message Date
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
Aaron Blankstein
efa72f98f1 payment key test passes! adding options to renew as well 2017-09-08 11:46:32 -04:00
Aaron Blankstein
c006610f75 added options to the rpc schemas, begin testing the new payment key registrations 2017-09-07 17:26:17 -04:00
Aaron Blankstein
ce63e4c4dc add support for propagating payment key through registrar, first step in supporting a 'passed' payment key 2017-09-06 16:57:29 -04:00
Aaron Blankstein
c550a341b1 fix case where stale manifest_page returns from index_cache, caused error in name_preorder_register_update_app_datastore_multiuser 2017-08-24 11:09:50 -04:00
Aaron Blankstein
b81747c44d add "owner_key" data field for PUT /v1/names/foo/owner and integration test 2017-08-21 18:08:43 -04:00
Aaron Blankstein
5e7c9308f5 removed all wildcard imports from non-init, non-storage-driver files in blockstack_client 2017-08-21 16:54:08 -04:00
Aaron Blankstein
cae9a2e0b8 removed a few more wildcard imports, fixed a handful of pylint errors 2017-08-21 16:02:58 -04:00
Aaron Blankstein
c878b62c8a /usr/bin/env python -> python2. our code is not python3 friendly, we should specify that 2017-08-17 13:40:01 -04:00
Aaron Blankstein
bcbab3ef19 fixes bug in https support changes by making rpc proxy default to 'http' 2017-08-16 17:23:40 -04:00
Aaron Blankstein
c27fd304d4 Merge branch 'master' into updates-with-owner-key 2017-08-15 17:06:56 -04:00
Aaron Blankstein
aaeae2ad06 adding debug statements to storage and dropbox, trying to figure out what is going on in issue #490 2017-08-15 16:57:12 -04:00