Commit Graph

7660 Commits

Author SHA1 Message Date
Jude Nelson
1e5d2ff2e0 add load_configuration() for non-interactive configuration loading 2018-04-05 17:30:48 -04:00
Jude Nelson
790de7c616 reply JSON for name counts; fix route 2018-04-05 17:30:35 -04:00
Jude Nelson
ceb53bb0bd restore get_zonefiles_by_block 2018-04-05 17:30:24 -04:00
Jude Nelson
f11bc7df06 import subdomains 2018-04-05 17:30:12 -04:00
Jude Nelson
0aefefb901 remove reliance on utilitybelt 2018-04-05 17:30:00 -04:00
Jude Nelson
6f75f4747e support starting blocktackd in "api-only" mode 2018-04-05 17:29:44 -04:00
Jude Nelson
1f9b977475 use installed transaction-broadcaster and installed subdomain registrar when possible 2018-04-05 17:29:22 -04:00
Jude Nelson
504fa05bc3 fix up some small bigs in testlib from the blockstack_client removal 2018-04-03 19:02:43 -04:00
Jude Nelson
5801064a9b install blockstack_client dependencies in the integration test framework 2018-04-03 19:02:28 -04:00
Jude Nelson
cee004d970 fix bitcoind connection bug that restores SNV 2018-04-03 19:02:10 -04:00
Jude Nelson
9deaa8d0de remove misleading comment 2018-04-03 19:01:59 -04:00
Jude Nelson
e73d9c1012 remove unused route 2018-04-03 19:01:15 -04:00
Jude Nelson
1f93bd3c72 for name_import, set the op_fee field to the price of the name *only* if the name's namespace is priced in BTC. Otherwise, set it to 0, and set the token_fee field to the price of the name 2018-04-03 19:00:44 -04:00
Jude Nelson
8f4f2f6653 typo in comment 2018-04-03 19:00:37 -04:00
Jude Nelson
24fe97f75d these epoch features aren't really doable, given the limited size of op_returns 2018-04-03 19:00:15 -04:00
Jude Nelson
e51b11e3ea use the right authserviceproxy 2018-04-03 19:00:04 -04:00
Jude Nelson
a0394740fe use the test framework's blockstack_client 2018-04-03 18:15:50 -04:00
Jude Nelson
52657b1a9c fix import 2018-04-03 18:14:31 -04:00
Jude Nelson
5973334c4d move blockstack_client to integration_tests/blockstack_integration_tests/scenarios, where it will live out the rest of its days in support of testing features like multisig and segwit that are not yet supported by the node.js CLI 2018-04-03 18:13:22 -04:00
Jude Nelson
4459f6adb9 draw version from blockstack/version.py, and do not install the blockstack CLI 2018-04-03 18:03:32 -04:00
Jude Nelson
3659bbd636 migrate SNV over to blockstack 2018-04-03 18:01:24 -04:00
Jude Nelson
b546844282 fix up imports 2018-04-03 18:01:18 -04:00
Jude Nelson
66d541041f fix copyright statement 2018-04-03 18:01:05 -04:00
Jude Nelson
3737f2250a add compatibility code that emulates the insight-api for use in the regtest framework (until the browser stops needing it) 2018-04-03 18:00:42 -04:00
Jude Nelson
9e1e46a366 fix decoding bug 2018-04-03 18:00:31 -04:00
Jude Nelson
3579d59274 only expect tokens to be burned in a NAME_PREORDER if the OP_RETURN provides them 2018-04-03 18:00:09 -04:00
Jude Nelson
5426171feb typo in debug output 2018-04-03 17:59:51 -04:00
Jude Nelson
87b9f85e11 preserve the ability to decode zonefiles to JSON, and the ability to connect to bitcoind 2018-04-03 17:59:28 -04:00
Jude Nelson
ba3c74d824 expunge blockstack_client from all tests, and use the node.js CLI and blockstack.lib packages where applicable 2018-04-03 17:51:43 -04:00
Jude Nelson
77ac3392ee start up a blockstack gaia node and transaction broadcaster in each test, and check that the node.js cli exists 2018-04-03 17:51:13 -04:00
Jude Nelson
28f902fd71 remove vast swaths of testlib.py that were concerned with testing the python CLI and REST service, since this will soon be deprecated 2018-04-03 17:50:33 -04:00
Jude Nelson
233c9b47ec expire a bunch of tests that only test features in blockstack_client, which is about to be deprecated 2018-04-03 17:49:57 -04:00
Jude Nelson
9b89387864 whipe out deprecated price fields 2018-03-22 19:26:16 -04:00
Jude Nelson
f8ce72ce90 version bump! 2018-03-22 19:26:04 -04:00
Jude Nelson
745bf13706 check the history of account debits at each block and confirm that it exactly matches the burns we performed. also, interfacing updates due to internal changes (WIP!) 2018-03-22 19:25:25 -04:00
Jude Nelson
9c8dd7652d test register in STACKs 2018-03-22 19:25:16 -04:00
Jude Nelson
36fe1220b8 test register/renew in STACKs 2018-03-22 19:25:08 -04:00
Jude Nelson
2f7f51e682 update test runner to fill in a genesis token block and to start the RESTful server 2018-03-22 19:24:53 -04:00
Jude Nelson
2a5d7e7491 port RESTful API to blockstackd (#774) 2018-03-22 19:24:28 -04:00
Jude Nelson
8d426ca9b5 vest tokens at each block 2018-03-22 19:24:14 -04:00
Jude Nelson
30bf4ceb06 patch through account methods, and start/stop the RESTful API within blockstackd 2018-03-22 19:24:00 -04:00
Jude Nelson
dfe26d7a71 price names and namespace in a particular unit 2018-03-22 19:23:44 -04:00
Jude Nelson
5bb752a0d8 copyright :) 2018-03-22 19:23:35 -04:00
Jude Nelson
66764b7973 query account token types 2018-03-22 19:23:25 -04:00
Jude Nelson
7be1628903 extend the configuration section to include [blockstack-api] 2018-03-22 19:23:11 -04:00
Jude Nelson
60c24e5c04 update register to verify that the preorder burned the right token
update renew to require token burns if the namespace has a token
2018-03-22 19:22:30 -04:00
Jude Nelson
55d74edab9 update preorder to allow the sender to burn STACKs instead of BTC 2018-03-22 19:21:48 -04:00
Jude Nelson
867834b409 ensure that a namespace preorder paid the right amount of STACKs when it is revealed (but only if we're in the STACKs epochs) 2018-03-22 19:21:25 -04:00
Jude Nelson
584293fc8a a namespace-preorder can include an 8-byte field of the number of STACKs it must burn. enforce STACKs burning exclusively (next epoch!) 2018-03-22 19:20:45 -04:00
Jude Nelson
7e9141bb09 remove the "typecast" semantics of op_check 2018-03-22 19:20:21 -04:00