Commit Graph

5264 Commits

Author SHA1 Message Date
Jude Nelson
d01d42e9ed Merge remote-tracking branch 'origin/api' into rc-0.14.2 2017-04-17 15:40:36 -04:00
Jude Nelson
7e9a2cc736 add simple netlog server for testing logging to Portal 2017-04-17 15:39:32 -04:00
Jude Nelson
9463448831 fix netlog implementation 2017-04-17 15:39:12 -04:00
Jude Nelson
1a07180041 remove dead code 2017-04-17 15:38:59 -04:00
Jude Nelson
6a3b46f918 add missing imports 2017-04-17 15:38:50 -04:00
Jude Nelson
23dfd947f7 catch assertion error and ecdsa error on signature verification 2017-04-17 15:38:35 -04:00
Jude Nelson
d95e5d74ac whitespace 2017-04-17 15:38:26 -04:00
Jude Nelson
3812ae905b include netlog server requirements; bump version 2017-04-17 15:38:11 -04:00
Jude Nelson
3e850c11cf add netlog server to binaries 2017-04-17 15:38:01 -04:00
Aaron
e70c2b15db Merge pull request #391 from kantai/api-aaron
Merging rc14.2 and updated search endpoint forwarding and unit tests
2017-04-17 15:22:05 -04:00
Aaron Blankstein
1dfb2d8adb switch back to letting the underlying api service deal with forcing paginated /v1/names calls 2017-04-17 15:19:35 -04:00
Aaron Blankstein
4e1970eab1 Merge remote-tracking branch 'origin/rc-0.14.2' into api-aaron 2017-04-17 10:11:14 -04:00
Aaron Blankstein
42b0fa5f38 limit count size on 'get all names' requests 2017-04-14 12:52:44 -04:00
Jude Nelson
4de600435e add support for sending log messages to port 8333 on localhost 2017-04-13 20:29:16 -04:00
Jude Nelson
b879bdd9cc GET /v1/names requires page= argument 2017-04-13 18:42:11 -04:00
Jude Nelson
b8b2324da6 optionally include a message in a withdraw operation (useful for e.g. paying service fees to applications) 2017-04-13 17:52:04 -04:00
Jude Nelson
94e60e929d test including a message in a transaction 2017-04-13 17:51:52 -04:00
Jude Nelson
80eb49a063 fix compatibility with put_mutable_data 2017-04-13 17:50:01 -04:00
Jude Nelson
95c472dcca port fix from master re: storing queued profiles 2017-04-13 16:43:46 -04:00
Jude Nelson
70e5aefd76 addresses are base58 2017-04-13 16:43:41 -04:00
Aaron Blankstein
58e2af7fe5 fixed /v1/search endpoint -- now it forwards to the searcher blueprint if enabled, or makes request to search.blockstack 2017-04-13 15:29:36 -04:00
Jude Nelson
de64a1b79c typo 2017-04-13 14:15:43 -04:00
Jude Nelson
5948e52749 add validate_zone_file command 2017-04-13 14:10:09 -04:00
Jude Nelson
ec2209513d use blockstack's logger, not virtualchain's 2017-04-13 11:01:05 -04:00
Jude Nelson
db7ee971db extend blockstack_get_zonefile() to return raw data; implement CLI name import test wrapper 2017-04-13 11:00:40 -04:00
Jude Nelson
30d20d131c consistently get blockstack's logger, not virtualchain's 2017-04-13 11:00:24 -04:00
Jude Nelson
b56027a628 change error message 2017-04-13 11:00:14 -04:00
Jude Nelson
61f6052938 fix bugs in name import safety checks (discovered in testing) 2017-04-13 10:59:58 -04:00
Jude Nelson
0df007409c have the registrar track unconfirmed name imports and replicate zone files once they are confirmed 2017-04-13 10:59:34 -04:00
Jude Nelson
0fa6030da8 import cli_name_import() 2017-04-13 10:59:23 -04:00
Jude Nelson
deb588ffb3 separate out keychain path generation logic 2017-04-13 10:59:06 -04:00
Jude Nelson
69727df7fe test name imports (including bad input) via CLI 2017-04-13 10:58:51 -04:00
Jude Nelson
c2d336a43d rename test to be consistent with our test naming scheme 2017-04-13 10:58:18 -04:00
Aaron Blankstein
566c2895ce default search endpoint on, update the copyright notices for the test files, add Cache-Control headers if you want to use edge caching 2017-04-12 18:18:16 -04:00
Jude Nelson
1698e04537 Merge branch 'rc-0.14.2' of https://github.com/blockstack/blockstack-core into rc-0.14.2 2017-04-12 17:16:59 -04:00
Jude Nelson
928a509520 test CLI namespace reveal for bad inputs 2017-04-12 17:16:46 -04:00
Jude Nelson
a50392a23f add CLI test for namespace preorder, namespace reveal, and namespace ready 2017-04-12 17:16:32 -04:00
Jude Nelson
30af1eb633 add CLI namespace preorder + namespace reveal test 2017-04-12 17:16:20 -04:00
Jude Nelson
493b88b77f add namespace_preorder CLI test 2017-04-12 17:16:10 -04:00
Jude Nelson
a6c07f0974 add CLI wrappers for the CLI commands for namespace_preorder, namespace_reveal, and namespace_ready 2017-04-12 17:15:49 -04:00
Jude Nelson
5cddfe5aa4 don't forget return True 2017-04-12 17:15:39 -04:00
Jude Nelson
c67cddbb4d blockstack-storage is going to be separate from blockstack.js 2017-04-12 17:15:25 -04:00
Jude Nelson
cd110dd59c remove namespace API endpoints (these should only be accessed through the CLI) 2017-04-12 17:15:08 -04:00
Jude Nelson
c2509b9568 add is_namespace_revealed() and is_namespace_ready(); extend get_name_blockchain_record() to optionally NOT return expired names 2017-04-12 17:14:40 -04:00
Jude Nelson
7097850b1e document why we add +1 or +2 to the number of inputs in the fee estimation (answer: to account for extra inputs when the transaction gets subsidized) 2017-04-12 17:13:52 -04:00
Jude Nelson
fde745a0f7 implement get_fees(), clean up change amount calculation 2017-04-12 17:13:23 -04:00
Jude Nelson
b4b89615cb fill in get_fees(), clean up change address calculation 2017-04-12 17:13:05 -04:00
Jude Nelson
69bc93c29a fill in get_fees() 2017-04-12 17:12:55 -04:00
Jude Nelson
a49dfba9b6 fill in get_fees() 2017-04-12 17:12:45 -04:00
Jude Nelson
5b0d506a2a include estimated sizes for namespace_preorder, namespace_reveal, namespace_ready, and name_import transactions 2017-04-12 17:12:24 -04:00