Commit Graph

7750 Commits

Author SHA1 Message Date
Jude Nelson
cdf97d02ba rename some columns for tokentransfer so they're consistent with the name_records table 2018-04-19 19:06:40 -04:00
Jude Nelson
438ec5c071 note on state_create_put_preorder() 2018-04-19 19:06:31 -04:00
Jude Nelson
8698e660c6 make sure that we keep the token fee as a string when we go to store it in the name db 2018-04-19 19:06:12 -04:00
Jude Nelson
b56e5f2d7b raise validation error if the back-plane does not return an HTTP hint 2018-04-19 19:05:06 -04:00
Jude Nelson
fd20fead1d when storing a preorder on namedb_state_create(), make sure its token_fee is a string so we don't accidentally load and return big integers 2018-04-19 19:04:25 -04:00
Jude Nelson
6395be4688 forward http status on name lookup 2018-04-19 19:04:13 -04:00
Jude Nelson
c9d7826440 remove merge conflict artifact 2018-04-19 14:05:14 -04:00
Jude Nelson
8abdc3bbad Merge branch 'develop' into feature/token-v1 2018-04-19 12:13:22 -04:00
Jude Nelson
7844901b32 WIP: do a better job documenting error paths 2018-04-19 12:03:12 -04:00
Jude Nelson
1321faf783 performance test for vesting 800 accounts 2018-04-19 12:02:47 -04:00
Jude Nelson
715d765bb3 add test for vesting lockups on multiple addresses 2018-04-19 12:02:36 -04:00
Jude Nelson
e187637890 add test for vesting lock-ups 2018-04-19 12:02:27 -04:00
Jude Nelson
21684f3a83 add browser test environment with stacks tokens 2018-04-19 12:02:12 -04:00
Jude Nelson
47e09f41a2 test sending tokens and doing nameops in the same block (so we can test SNV) 2018-04-19 12:01:50 -04:00
Jude Nelson
8d021114c2 test sending tokens to an address and using it to buy multiple names in the same block 2018-04-19 12:01:36 -04:00
Jude Nelson
e467a8d2c9 test sending tokens to an address and using it to buy multiple names 2018-04-19 12:01:24 -04:00
Jude Nelson
51908b3d58 test sending tokens to and address and using them to buy a name 2018-04-19 12:00:57 -04:00
Jude Nelson
9637495034 test sending multiple batches of tokens per block 2018-04-19 12:00:42 -04:00
Jude Nelson
79c65d1116 audit account credits at each block; add get_wallet_balances() method to allow tests to audit wallets 2018-04-19 11:59:50 -04:00
Jude Nelson
d3981a2832 make portal_test_env run *without* stacks (and add a separate portal_test_env_stacks for testing *with* stacks) 2018-04-19 11:59:25 -04:00
Jude Nelson
ee565cefb4 add support for vesting lock-ups to the test framework genesis block; do a better job at testing for whether or not we're in a docker container 2018-04-19 11:58:51 -04:00
Jude Nelson
d20bbe6fcc add input checkers (extracted from the back-plane RPC server) 2018-04-19 11:58:29 -04:00
Jude Nelson
727f744ad7 fix account history query to be more REST-y; also be more rigorous about checking inputs using the check_*() methods (now in blockstack.lib.scripts) 2018-04-19 11:57:57 -04:00
Jude Nelson
aea826bd80 execute account vesting commits as a single transaction (greatly improves performance), also change some method names to clarify that they concern only name operations 2018-04-19 11:56:51 -04:00
Jude Nelson
e6a84586d7 clarify names of some methods to mention that they specifically concern name operations (not token operations) 2018-04-19 11:56:31 -04:00
Jude Nelson
44e6224589 be more rigorous about checking for the presence of required consensus fields *early* 2018-04-19 11:56:10 -04:00
Jude Nelson
c1788b1974 be more rigorous about giving back http status hints on error paths 2018-04-19 11:55:54 -04:00
Jude Nelson
f912bf4179 remove check_*() code into blockstack/lib/scripts.py; be more rigorous about returning HTTP error codes; WIP add methods to query account operations and history 2018-04-19 11:35:22 -04:00
Jude Nelson
5896d46333 Merge pull request #799 from odinho/improve_name_count_api_doc
Add fail example to /v1/blockchains/*/name_count
2018-04-19 10:31:40 -05:00
Odin Hørthe Omdal
23ba450bf8 Add fail example to /v1/blockchains/*/name_count 2018-04-18 23:44:58 +01:00
Jude Nelson
439d7e3066 Merge pull request #797 from vsund/develop
Add deprecated notice to /v1/names/zonefile
2018-04-16 13:51:23 -05:00
Valentin Sundermann
94a71bdfee Add deprecated notice to /v1/names/zonefile 2018-04-16 17:31:11 +02:00
Jude Nelson
b451918171 simple test to transfer tokens 2018-04-15 22:37:43 -04:00
Jude Nelson
20d510c1f8 check account credits at each block 2018-04-15 22:37:29 -04:00
Jude Nelson
f028e108df small bugfixes 2018-04-15 22:37:20 -04:00
Jude Nelson
c0b416b09d small bugfixes 2018-04-15 22:37:11 -04:00
Jude Nelson
c6caca22eb ascending, not descending 2018-04-15 22:37:01 -04:00
Jude Nelson
c763e03122 small bugfixes 2018-04-15 22:36:46 -04:00
Jude Nelson
c927e5f8d1 test vesting multiple addresses over many blocks 2018-04-13 19:22:43 -04:00
Jude Nelson
97c47e30ba test vesting multiple addresses at once 2018-04-13 19:22:35 -04:00
Jude Nelson
62e9f24233 test stacks vesting with HUGE integers 2018-04-13 19:22:23 -04:00
Jude Nelson
bcc9c3adca test stacks vesting 2018-04-13 19:22:16 -04:00
Jude Nelson
bcf0da448d test preorder/register in the same block with stacks, when there isn't enough balance 2018-04-13 19:22:03 -04:00
Jude Nelson
37df948313 test preorder/register in the same block with stacks 2018-04-13 19:21:46 -04:00
Jude Nelson
cd0a8702e6 check register/renew with stacks with the incorrect type of token burn, and with under/overpaying 2018-04-13 19:21:23 -04:00
Jude Nelson
bd423d33ca test register/renew with stacks when there are insufficient stacks funds 2018-04-13 19:21:11 -04:00
Jude Nelson
a1a195a015 update the genesis block schema to include a vesting schedule 2018-04-13 19:20:38 -04:00
Jude Nelson
d276ed9556 test account vesting at each block; do a better job at interfacing with various node.js CLI operations 2018-04-13 19:20:13 -04:00
Jude Nelson
0df7a09bbe define the account schema 2018-04-13 19:19:29 -04:00
Jude Nelson
0319985a87 define check-wrappers and state tags for token operations 2018-04-13 19:19:07 -04:00