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 |
|
Jude Nelson
|
f0ed26b948
|
add /v1/prices and /v2/prices endpoints; add account status and history endpoints; do a better job of not returning HTTP 500 unless we have a backplane connection error
|
2018-04-13 19:18:32 -04:00 |
|
Jude Nelson
|
16744ed3a8
|
make all check() failures log as a warning, instead of as debug
|
2018-04-13 19:18:11 -04:00 |
|
Jude Nelson
|
f59b63b6b7
|
remvoe dead code; patch in TOKEN_TRANSFER callbacks
|
2018-04-13 19:17:53 -04:00 |
|
Jude Nelson
|
a07d932074
|
add TOKEN_TRANSFER opcode implementation
|
2018-04-13 19:17:40 -04:00 |
|
Jude Nelson
|
e994fb319a
|
commit vesting at block_height+1 at the end of the block, so vested tokens are immediately usable. Also, expand the set of acceptable operations to include token operations
|
2018-04-13 19:17:06 -04:00 |
|
Jude Nelson
|
86d5102bb0
|
add full-fledged support for token operations that both credit and debit accounts when they are applied. Also, add high-level methods for querying account state
|
2018-04-13 19:16:37 -04:00 |
|
Jude Nelson
|
aa729548c7
|
add a transfer-lock to accounts to force them to vest and spend, instead of sell tokens. Also, remove some dead code and add the ability to query account histories
|
2018-04-13 19:16:03 -04:00 |
|