Commit Graph

201 Commits

Author SHA1 Message Date
Jude Nelson
8ea62795bb allow multisig owner address and keys 2017-11-16 17:52:47 -05:00
Jude Nelson
dc4c8e816a properly pass and set new owner address on renewal 2017-11-16 17:24:10 -05:00
Jude Nelson
cbd61b7b1b allow the API endpoint to accept the integration test framework's Origin headers 2017-11-16 13:05:43 -05:00
Jude Nelson
d666126304 modify API endpoint for /v1/blockchains/bitcoin/name_count to take all=True as an optional query argument, to get the cumulative number of names instead of the number of unexpired names 2017-11-08 11:42:14 -05:00
Jude Nelson
e3373f2c2f add timeout recovery to all rpc requests, to mask timeout failure in the test framework 2017-10-31 11:55:21 -04:00
Jude Nelson
a4be04ffd1 Merge branch 'hotfix/nameop-library-support' into hotfix/did-support 2017-10-30 16:39:36 -04:00
Aaron Blankstein
0c1972f5ed blockstack-storage.js assumes it needs to create an uncompressed address for the datastore id, replicate that here 2017-10-27 13:43:40 -04:00
Jude Nelson
39861d2b8c fix error path reference to undeclared variable 2017-10-27 11:38:08 -04:00
Aaron Blankstein
bb17de507f remove app private key as requirement from authentication requests 2017-10-27 10:06:17 -04:00
Jude Nelson
d27aa02c57 prefer ecdsa_private_key() over ECPrivateKey() 2017-10-25 15:44:56 -04:00
Jude Nelson
6577fc5dd9 don't die on lack of pip; don't die of address is in use (just return an error) 2017-10-19 14:28:43 -04:00
Jude Nelson
be377b60e3 coerce int 2017-10-12 18:43:09 -04:00
Jude Nelson
a18b7816c9 Merge branch 'master' of https://github.com/blockstack/blockstack-core 2017-10-11 14:38:04 -04:00
Jude Nelson
06934103af take a zonefile for renewal on the CLI 2017-10-11 14:37:58 -04:00
Aaron Blankstein
d81d2ea6b9 add min_confs as allowed to renew requests 2017-10-10 14:20:15 -04:00
Aaron Blankstein
6a72c3f686 refuse with status 400 to send 0 bitcoin when passed as amount 2017-10-07 11:36:09 -04:00
Aaron Blankstein
cdd6722c43 withdraw requests with not enough balance (either for fee or in general) now return 400 code always 2017-10-07 11:02:35 -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
27d6971ac3 Add support for recipient+zonefile to REST renews, test for the renews (queues 25 names w/ different payment keys, owner keys, recipients), addd test-out to .dockerignore 2017-10-05 13:41:00 -04:00
Jude Nelson
499d039258 Merge branch 'develop' into develop-hardfork 2017-10-02 10:57:46 -04:00
Aaron Blankstein
c3a3853d57 add 400 error to malformed addresses in insight-api 2017-10-01 12:55:45 -04:00
Larry Salibra
bb7ed0a86f make mock insight api behave the same as real api by trying to fix #626 & #627 2017-10-01 23:14:30 +08:00
Jude Nelson
ad5f92f352 log when the app domain matches the origin 2017-09-29 03:14:57 -04:00
Jude Nelson
792b4a2df9 use rpc.py from develop branch, which still has legacy gaia 2017-09-29 02:00:33 -04:00
Jude Nelson
6c32005d5a pass along zonefile, keyfile, and new owner; fix #316 2017-09-29 00:50:02 -04:00
Jude Nelson
531e74341e log all 401's 2017-09-29 00:50:01 -04:00
Aaron Blankstein
59488fbc57 a bunch of hacks to try to get integration test framework to work with disk+(gaia_hub or dropbox) 2017-09-29 00:49:38 -04:00
Aaron Blankstein
a54fda30fe fix some app domain name parsing bugs 2017-09-29 00:49:36 -04:00
Aaron Blankstein
255b64a5d1 Merge branch 'master' into develop-mock-insight-api 2017-09-25 13:40:17 -04:00
Aaron Blankstein
ef83b72240 adds /v1/blockchains/bitcoin/name_count endpoint 2017-09-21 18:00:26 -04:00
Aaron Blankstein
f38c5fa605 add /insight/addr/:addr/balance and unconfirmedBalance endpoints 2017-09-19 10:08:47 -04:00
Aaron Blankstein
70b37b15ca adds payment key to withdraw POSTs 2017-09-11 10:25:03 -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
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
19e98f59ac clearing out more wildcards 2017-08-21 15:22:05 -04:00
Aaron Blankstein
d59322fcce wallet only writes changes when change detected + make ownerkey reading play nicely with different cli_update calling mechanisms 2017-08-18 09:24:27 -04:00
Aaron Blankstein
17d6043731 added integration test for persistent setting of the payment key, fixed bugs that it surfaced 2017-08-17 17:39:31 -04:00
Aaron Blankstein
5c0e4f2606 Merge branch 'develop' into set-payment-keys 2017-08-17 16:02:18 -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
8eda4c5529 first modifications to support persistent setting of payment key 2017-08-16 17:50:01 -04:00
Aaron Blankstein
683109cbb6 turn on support for talking to node.blockstack.org via https by default 2017-08-16 11:04:57 -04:00
Aaron Blankstein
c27fd304d4 Merge branch 'master' into updates-with-owner-key 2017-08-15 17:06:56 -04:00
Aaron Blankstein
6d217b1ce0 fixes issue in subdomain lookups for addresses in regtest mode- the subdomain registrar isn't 'regtest-aware', so it submits mainnet addresses, therefore the address shouldn't be converted in the lookup for subdomains 2017-08-15 14:51:05 -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
efce90ebe9 first skeleton of code -- tests coming next 2017-08-14 17:09:15 -04:00
Aaron Blankstein
d47dc43e99 fixes wallet migration logic for 14.2->14.3->14.4. fixes status code for /v1/names/ on missing subdomains. add cli support for 'whois <foo.bar.tld>' 2017-08-13 09:45:01 -04:00