You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,11 +9,11 @@
9
9
10
10
### Local
11
11
12
-
This service requires `postgres`, `stacks-node`, `bitcoind`, and a few other components in order to run.
12
+
This service requires `postgres`, `stacks-node`, `bitcoind`, and a few other components in order to run.
13
13
The [`clarinet`](https://github.com/hirosystems/clarinet) project provides an easy way to spin up the API and all these services:
14
14
> clarinet devnet - a local standalone development environment that simulates Bitcoin, Stacks node and other helpful components, similar to a staging environment.
15
15
16
-
Get started at https://docs.hiro.so/clarinet/getting-started
16
+
Get started at https://docs.hiro.so/clarinet/getting-started
17
17
18
18
### Production
19
19
@@ -36,7 +36,7 @@ Check to see if the server started successfully by visiting http://localhost:399
36
36
37
37
## Local Development
38
38
39
-
To run the server, run `npm run dev:integrated`, which uses docker-compose to deploy the service dependencies (e.g., PostgreSQL, Stacks core node, etc.).
39
+
To run the server, run `npm run dev:integrated`, which uses docker-compose to deploy the service dependencies (e.g., PostgreSQL, Stacks core node, etc.).
40
40
41
41
You'll have a server on port 3999.
42
42
@@ -52,7 +52,7 @@ We recommend running the API database on PostgreSQL version 14 or newer for opti
52
52
53
53
## Upgrading
54
54
55
-
If upgrading the API to a new major version (e.g., `3.0.0` to `4.0.0`), then the Postgres database from the previous version will not be compatible, and the process will fail to start.
55
+
If upgrading the API to a new major version (e.g., `3.0.0` to `4.0.0`), then the Postgres database from the previous version will likely be incompatible, and the process will fail to start. However, in some cases, the major versions are for client library changes (which are synced with the api version number). Check the changelog if you're unclear.
56
56
57
57
[Event Replay](#event-replay) must be used when upgrading major versions. Follow the event replay [instructions](#event-replay-instructions) below. Failure to do so will require wiping the Stacks Blockchain chain state data and the API Postgres database and re-syncing from scratch.
58
58
@@ -170,7 +170,7 @@ To run the new event-replay, please follow the instructions at [stacks-event-rep
170
170
* `archival` (default): The process will import and ingest *all* blockchain events that have
171
171
happened since the first block.
172
172
* `pruned`: The import process will ignore some prunable events (mempool, microblocks) until the
173
-
import block height has reached `chain tip - 256` blocks. This saves considerable
173
+
import block height has reached `chain tip - 256` blocks. This saves considerable
174
174
time during import but sacrifices some historical data. You can use this mode if you're mostly
175
175
interested in running an API that prioritizes real-time information.
176
176
@@ -189,7 +189,7 @@ Please **do not** use the issue tracker for personal support requests or to ask
189
189
Development of this product happens in the open on GitHub, and we are grateful to the community forcontributing bug fixes and improvements. Read below to learn how you can take partin improving the product.
190
190
191
191
### Code of Conduct
192
-
Please read our [Code of Conduct](../../../.github/blob/main/CODE_OF_CONDUCT.md) since we expect project participants to adhere to it.
192
+
Please read our [Code of Conduct](../../../.github/blob/main/CODE_OF_CONDUCT.md) since we expect project participants to adhere to it.
193
193
194
194
### Contributing Guide
195
195
@@ -199,7 +199,7 @@ Hiro welcomes all contributions to Hiro documentation. These contributions come
199
199
200
200
Bugs, feature requests, and development-related questions should be directed to our [GitHub issues tracker](https://github.com/hirosystems/stacks-blockchain-api/issues/new).
201
201
202
-
If reporting a bug, try to provide as much context as possible and anything else that might be relevant to the describe the issue. If possible include a simple testcase that we can use to reproduce the problem on our own.
202
+
If reporting a bug, try to provide as much context as possible and anything else that might be relevant to the describe the issue. If possible include a simple testcase that we can use to reproduce the problem on our own.
203
203
204
204
For feature requests, please explain what you're trying to do, and how the requested feature would be a complement to the project.
0 commit comments