Commit Graph

7636 Commits

Author SHA1 Message Date
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
Jude Nelson
32552487e0 add state invariant tags for account debits 2018-03-22 19:19:59 -04:00
Jude Nelson
2c15d29f03 add wrappers for querying account state; make it so committing preorders can trigger an account debit; update interfaces to pass in the token genesis block 2018-03-22 19:19:26 -04:00
Jude Nelson
66966f5011 add a multi-token accounting system:
* add a table for token expenditure history
* track debits and credits separately
* initialize the database with a caller-given genesis block and vesting schedule
* add operations to debit accounts
* add safety checks to ensure that accounts can never go negative
* add methods to query accounts' balances and tokens
* add methods to query account history
2018-03-22 19:17:23 -04:00
Jude Nelson
253cf826d8 patch a few bugs v0.26.1-browser v0.25.0-browser v0.26.0-browser v0.26.2-browser 2018-02-27 18:10:38 -05:00
Jude Nelson
49ffb06b6c address aaron's feedback 2018-02-27 18:04:22 -05:00
Jude Nelson
98f7fa3be1 present live examples of transactions 2018-02-27 18:04:13 -05:00
Jude Nelson
b3a1892146 Merge branch 'hotfix/subdomain-response-validation' v0.18.0 2018-02-27 17:02:19 -05:00
Aaron Blankstein
53cab2ed74 version bump 2018-02-27 16:50:16 -05:00
Aaron Blankstein
a1f3874cf4 fix subdomain name record schema validation 2018-02-27 16:49:10 -05:00
Aaron Blankstein
4397486087 fix bad path in api_tests 2018-02-27 11:51:38 -05:00
Jude Nelson
e466809eff check that DIDs are strings 2018-02-26 16:58:02 -05:00
Jude Nelson
7d1c8214e5 mark deprecated methods as deprecated; flesh out some methods documentations; point users to blockstack.js 2018-02-26 16:56:02 -05:00
Jude Nelson
a8e8b4dba1 Merge branch 'dhurley94-patch-1' 2018-02-26 15:47:56 -05:00
Jude Nelson
e8bf7948c6 Merge branch 'patch-1' of https://github.com/dhurley94/blockstack-core into dhurley94-patch-1 2018-02-26 15:47:32 -05:00
Jude Nelson
dfedc4fd3f add pic of the web test panel 2018-02-26 00:14:25 -05:00
Jude Nelson
2373eeae1a add description of the web test panel 2018-02-26 00:14:10 -05:00
Jude Nelson
60ee2fbb1b fix links 2018-02-25 23:50:20 -05:00
Jude Nelson
152f862496 fix links 2018-02-25 23:49:17 -05:00
Jude Nelson
c33834b347 fix links 2018-02-25 23:48:13 -05:00
Jude Nelson
18444a8a15 whitespace 2018-02-25 23:43:46 -05:00
Jude Nelson
254ff6246b fix link 2018-02-25 23:43:38 -05:00
Jude Nelson
88ccfab4b3 flesh out a few more commonly-asked questions 2018-02-25 23:43:26 -05:00
Jude Nelson
1dbc2f63b0 parenthesis 2018-02-25 23:43:19 -05:00
Jude Nelson
20838f232c update links 2018-02-25 23:06:53 -05:00