chore: increase amount of lockup schedules sampled and tested

This commit is contained in:
Matthew Little
2020-12-29 19:33:19 +01:00
parent 5007dc64a9
commit c82864c140

View File

@@ -64,9 +64,10 @@ RUN echo "select address, (cast(credit_value as integer) - cast(debit_value as i
limit 1000" | sqlite3 /stacks1.0-chain/blockstack-server.db > check_addrs.txt
RUN cat check_addrs.txt
# Dump ~1000 randomly sampled vesting schedules
RUN echo "\
SELECT address, vesting_value, block_id FROM account_vesting \
WHERE address IN (SELECT address FROM account_vesting ORDER BY RANDOM() LIMIT 20) \
WHERE address IN (SELECT address FROM account_vesting ORDER BY RANDOM() LIMIT 35) \
ORDER BY address, block_id \
" | sqlite3 /stacks1.0-chain/blockstack-server.db > check_lockups.txt
RUN cat check_lockups.txt