stacks-blockchain-api icon indicating copy to clipboard operation
stacks-blockchain-api copied to clipboard

Update docs to include a simple sql query

Open wileyj opened this issue 2 years ago • 3 comments

Adds an additional line to the markdown docs for deploying the API:

3. Verify data is being written to the database: `select * from blocks limit 1;`

During the step to verify the DB is setup, running this query will confirm data is being written to the DB.

in the case where the blockchain was syncing from genesis without the event observer, then restarted with the event observer, the previous commands will make it appear as though the DB is fine, but not adding records. this single query will confirm if the API is running normally.

wileyj avatar Aug 10 '22 13:08 wileyj

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Aug 10 '22 13:08 CLAassistant

Coverage Status

Coverage decreased (-15.5%) to 61.339% when pulling 4f1dbf0b43bfc5b6aa93ac9345a93f3d91bc28ea on wileyj:develop into b013afc0df81eda293404c00d4e23dee9bd0d587 on hirosystems:develop.

coveralls avatar Aug 10 '22 14:08 coveralls

https://github.com/hirosystems/stacks-blockchain-api/issues/1200

wileyj avatar Aug 10 '22 14:08 wileyj

:tada: This PR is included in version 6.0.0-beta.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

blockstack-devops avatar Sep 13 '22 13:09 blockstack-devops

:tada: This PR is included in version 6.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

blockstack-devops avatar Oct 06 '22 18:10 blockstack-devops

:tada: This PR is included in version 7.0.0-stacks-2.1.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

blockstack-devops avatar Dec 21 '22 14:12 blockstack-devops