Commit Graph

8218 Commits

Author SHA1 Message Date
Jude Nelson
8f3e7dd873 fix name of gaia.md file 2018-10-11 17:36:53 -04:00
Jude Nelson
4b96a5ba96 add examples of 400 and 404 errors; update /v2 price docs; flesh out some schemas 2018-10-11 17:36:17 -04:00
Jude Nelson
5f7956a15e merged /v1/ and /v2/ price outputs 2018-10-03 16:48:07 -04:00
Jude Nelson
95c85e344e set develop environ for transaction broadcaster 2018-10-03 11:58:11 -04:00
Jude Nelson
9022bc1b8d include multiple '/'s in gaia read path, if given 2018-10-03 11:57:19 -04:00
Jude Nelson
e6d1e80082 print profile 2018-10-02 23:41:17 -04:00
Jude Nelson
1c7cc1f7f3 document where we expect name costs to be burned and paid, and account for new tx fee calculation 2018-10-02 23:41:07 -04:00
Jude Nelson
30faeef980 deprecate this test 2018-10-02 23:40:21 -04:00
Jude Nelson
5aa3689121 merge /v1/prices and /v2/prices -- make the /v2 endpoint return the same information expected by the /v1 endpoint 2018-10-02 23:40:09 -04:00
Jude Nelson
84093a3224 account history no longer takes startblock or endblock 2018-10-02 23:40:00 -04:00
Jude Nelson
3768dc115b set blockstack atlas hostname (BLOCKSTACK_ATLAS_HOSTNAME) as an environ 2018-10-02 23:39:38 -04:00
Jude Nelson
8c01542272 f-day 2018 is now october 22 2018-10-02 23:39:30 -04:00
Jude Nelson
0c29918c82 change _nameops_ to _blockstack_ops_ where appropriate 2018-09-27 17:44:25 -04:00
Jude Nelson
cf85372c6e test vesting in 5000 wallets 2018-09-27 17:44:11 -04:00
Jude Nelson
f3d42ce5c0 sync CLI command structure for dump/restore bucket 2018-09-27 17:43:41 -04:00
Jude Nelson
d330f0709b test new dump/restore bucket commands 2018-09-27 17:43:29 -04:00
Jude Nelson
b70a2f8a59 avoid filling wallets with empty balances; speed up determining the path of a module 2018-09-27 17:42:59 -04:00
Jude Nelson
746a36059d rename *_nameops_* to *_blockstack_ops_* for code clarity 2018-09-27 17:42:17 -04:00
Jude Nelson
313e2c6d6c expand account tests to test short but well-formed addresses 2018-09-20 17:52:23 -04:00
Jude Nelson
ed47176e98 test RESTful API calls for names 2018-09-20 17:28:08 -04:00
Jude Nelson
ce027f3a76 expand api call tests 2018-09-20 17:27:13 -04:00
Jude Nelson
bc89efb797 get subdomain history in reverse chronological order; add method to test if a zone file hash was created by a subdomain 2018-09-20 17:27:06 -04:00
Jude Nelson
6a6e9cc1f8 have GET /v1/names/:name/zonefile/:hash use the is_name_zonefile_hash() client method, which is considerably faster (both in absolute terms and asymptotic terms) than the status quo 2018-09-20 17:27:00 -04:00
Jude Nelson
a00a1fbe36 fix bug in getting subdomain history; add method to check if a name created a zone file 2018-09-20 17:26:52 -04:00
Jude Nelson
c3b7ac84ea add method to check if a name created a zone file hash; remove dead code 2018-09-20 17:26:29 -04:00
Jude Nelson
040b2aa4e2 pass through new DB methods 2018-09-20 17:25:25 -04:00
Jude Nelson
7015e486dc fix bugs in getting the history for subdomains; add a method to check if a zone file was created by a name (to speed up the GET /v1/names/:name/zonefile/:hash endpoint) 2018-09-20 17:24:45 -04:00
Moxiegirl
556897a068 Merge pull request #852 from moxiegirl/site-restructuring
docs Modifications for new docs site
2018-09-20 17:16:33 -04:00
Jude Nelson
2045840f8a add test for REST API endpoints for accounts (for both b58 and c32 addresses) 2018-09-20 17:05:20 -04:00
Jude Nelson
7744b46329 an account address can be c32. add methods to convert to c32 2018-09-20 17:04:53 -04:00
Jude Nelson
91b0615e76 querying an account's history with no page will cause page to be set to 0 2018-09-20 17:04:38 -04:00
Jude Nelson
ab58ef2bbe account API can take a b58 or a c32 address (c32 addresses will be converted to b58) 2018-09-20 17:04:17 -04:00
Jude Nelson
7a437261dc return sorted token types 2018-09-20 17:04:03 -04:00
Jude Nelson
fcdf7dbc22 add tests for c32check in Python 2018-09-20 17:03:48 -04:00
Jude Nelson
3d2a2fa1b1 implement c32check in Python 2018-09-20 17:03:21 -04:00
Jude Nelson
f0d589ab29 modify the BoundedThreadingMixIn so it will eagerly close client sockets when it has too many outstanding requests. Do some housekeeping so that we can use this in both the backplane RPC server and the API server, and update the relevant integration test to test for this behavior 2018-09-18 17:48:19 -04:00
Jude Nelson
917af62716 get_index_range() should return a tuple; return HTTP status code from RPC 2018-09-17 18:35:03 -04:00
Jude Nelson
ac4ad9dba1 push back f-day 2018 2018-09-17 18:34:24 -04:00
Jude Nelson
7155be45e5 add tests for the /v1/accounts API endpoints 2018-09-14 13:38:51 -04:00
Jude Nelson
d5b1503161 rework vesting test code to be clearer 2018-09-14 13:38:33 -04:00
Jude Nelson
801fce07a5 add a mock not-distributed account for testing; fix bug in generating vesting schedules from wallet data in tests 2018-09-14 13:38:09 -04:00
Jude Nelson
a3b3f92f39 expand check for addresses to include not-distributed address placeholders 2018-09-14 13:37:50 -04:00
Jude Nelson
f59369f4c3 an account address pattern can be a "special" address, and the genesis block as it will be loaded will contain b58 addresses, not c32 addresses 2018-09-14 13:37:23 -04:00
Jude Nelson
015179372b expand expected address length to accomodate "special addresses" like those that are unallocated or not distributed 2018-09-14 13:35:22 -04:00
Jude Nelson
c90b2803db add fake treasury and unallocated genesis block entries 2018-09-13 16:20:43 -04:00
Jude Nelson
c0859d7bb1 propagating api change -- query account history by page, not block range 2018-09-13 16:20:27 -04:00
Jude Nelson
591a42c787 do not require a block range when getting an account's history; also, update the genesis block ingestion code to allow an arbitrary string to be an address *so long as it cannot receive tokens*. This is used to add "owned-by-contract" token allocations 2018-09-13 16:19:30 -04:00
Jude Nelson
d4bfb3fe85 sync CLI out-call for getting a name's history with the new API 2018-09-13 16:19:18 -04:00
Jude Nelson
51fcc92f4f use get_name_history_page for getting pages of a name's history. do not rely on start_block or end_block, since we have the power to paginate directly 2018-09-13 16:19:10 -04:00
Jude Nelson
0a6376a5ff use check_account_address() for account addresses; stop coercing mainnet addresses for on-chain name records 2018-09-13 16:18:51 -04:00