Commit Graph

70 Commits

Author SHA1 Message Date
Jude Nelson
4e4dadda8a add min-confs to renew; fix up some owner address detection 2017-11-14 17:36:04 -05: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
4537fb8d32 be more aggressive about address encoding checks; pass config paths where appropriate 2017-10-25 15:43:06 -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
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
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
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
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
d2d59ff094 include new owner, new zonefile, and new keyfile in renew 2017-09-29 00:50:02 -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
Jude Nelson
9bc8c6087f allow tx_fee to be passed in on some operations 2017-09-29 00:49:37 -04:00
Jude Nelson
5a80667893 pass along burn address to renewal checker 2017-09-29 00:49:36 -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
71ec76c901 pass along value hash and name owner in renewal and registration 2017-09-29 00:49:26 -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
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
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
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
c012cc8c2e updates with passed owner key now passing first integration test 2017-08-15 12:03:52 -04:00
Aaron Blankstein
a4d4442fe9 first pass at fast price lookups 2017-07-18 13:59:42 -04:00
Aaron Blankstein
d28543e86b Merge branch 'rc-0.14.3' into rc-0.14.3-registrar-tracking-owner 2017-07-11 14:14:38 -04:00
Aaron Blankstein
b5c62cc332 fixing some bugs in integration tests 2017-07-11 14:14:13 -04:00
Aaron Blankstein
9f6c8043fc first pass at getting registrar to track the owner key while doing a multi-step registration 2017-07-11 14:11:31 -04:00
Aaron Blankstein
93d07d68b3 This reverts us *all* the way back to 523cf405d7 -- this removes all changes to support the token file from this branch.
Revert "added example request and response for PUT /v1/wallet/keys/owner to api docs"

This reverts commit d52ee4b31e.

Revert "cutting down on the verbosity of logging outputs -- registrar now only prints 1 line on wakeups. storage drivers are concatenated into 1 line"

This reverts commit 87e3e7ab0d.

Revert "adding dropbox as a default storage driver to load, and switched default 'required' drivers to 'disk,dropbox'"

This reverts commit 9471b0a20a.

Revert "adding test case for issue 483, which *also* required fixing the app session schema to handle empty string methods a little bit more gracefully"

This reverts commit 32efc99d62.

Revert "bugfix for the address reencoding in get_zonefile -- checks to see if the address is an address before trying to reencode"

This reverts commit 1488013b93.

Revert "Merge branch 'rc-0.14.3' of github.com:blockstack/blockstack-core into rc-0.14.3"

This reverts commit f75ab67960, reversing
changes made to fe863bcd3c.

Revert "don't create the metadata dir"

This reverts commit fe863bcd3c.

Revert "make all metadata directories inside the critical section"

This reverts commit e66236abd2.

Revert "don't cast 'None' to string by accident"

This reverts commit c6250d5349.

Revert "force string"

This reverts commit e72d43d0be.

Revert "add unbound proxy variable"

This reverts commit 7f1f7e9731.

Revert "return raw zonefile"

This reverts commit 51e858428d.

Revert "force string"

This reverts commit 1ce371644f.

Revert "force string"

This reverts commit 5353cb1015.

Revert "require virtualchain rc-0.14.3 and jsontokens-py 0.0.4"

This reverts commit 346f042db7.

Revert "Merge branch 'rc-0.14.3' of https://github.com/blockstack/blockstack-core into rc-0.14.3"

This reverts commit 1fa1de3e54, reversing
changes made to 523cf405d7.
2017-07-10 14:59:23 -04:00
Jude Nelson
30b91122d8 Merge branch 'rc-0.14.3' of https://github.com/blockstack/blockstack-core into rc-0.14.3 2017-07-05 17:40:03 -04:00
Jude Nelson
167292adb2 we register with token files now, not profiles 2017-07-05 17:29:54 -04:00
Aaron Blankstein
c8a12d4edb rename flag 'aggressive_registration' -> 'unsafe' + added information to the api doc 2017-07-05 10:10:36 -04:00
Aaron Blankstein
b1004dbb39 better registrar error messages (added to the return of info command) 2017-07-04 17:56:29 -04:00
Aaron Blankstein
7ee99f2ee0 dangerous registrations! ignore safety! 2017-07-04 16:29:13 -04:00
Aaron Blankstein
3f73bae398 propagate min payment confs setting from the PREORDER op to REG/UPDATE 2017-07-04 14:46:42 -04:00
Aaron Blankstein
f5863ccef2 registrations in 6 confirmations => 4 confs for preorder, 1 for register, 1 for update... now to test it with a local bsk node and see if utxo.blockstack.org shouts at me 2017-07-03 19:18:09 -04:00
Aaron Blankstein
ff63b464c0 fix doubling of the dust fee 2017-06-20 10:46:39 -04:00
Aaron Blankstein
2efaddaa08 merging in from rc-0.14.2 2017-06-20 09:59:47 -04:00
Aaron Blankstein
12cafce2d1 fix arguments to make_subsidizable 2017-06-20 06:15:16 -04:00
Jude Nelson
ced5e6f647 fix stack overflow on getattr() with UTXOWrapper 2017-06-19 23:25:01 -04:00
Aaron Blankstein
890766cad7 initial fix for too-low fee estimation. will test tonight with a registration from browser 2017-06-19 18:18:20 -04:00
Jude Nelson
0f0e05be15 subsidize, not subsidized 2017-06-16 18:39:56 -04:00
Jude Nelson
4a9143f610 refactor most of the fee estimation logic to generate the actual transaction we'll send, and use that as the basis of fee estimation (i.e. no more "rough estimates" and padding). Also, minimize the number of UTXOs that will be consumed in each transaction. 2017-06-15 11:02:56 -04:00
Jude Nelson
a083cc8732 rework most fee estimation logic to calculate the tx fee by multiplying the fee per byte against the tx length, and in doing so, cut down on the bitcoind RPCs we make and enable us to more easily select UTXOs to use to pay for transactions 2017-06-07 19:14:59 -04:00
Jude Nelson
daf0b37c41 pass along minimum confirmations from UTXO service client when doing sanity checks 2017-05-09 18:28:57 -04:00
Jude Nelson
166199f8da remove unnecessary print 2017-05-01 16:37:53 -04:00
Jude Nelson
8014743617 clean up imports 2017-04-27 19:27:05 -04:00
Jude Nelson
2b71130f2c Merge branch 'rc-0.14.2' of https://github.com/blockstack/blockstack-core into rc-0.14.2 2017-04-20 17:49:47 -04:00