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: CHANGELOG.md
+32Lines changed: 32 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,13 +5,45 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to the versioning scheme outlined in the [README.md](README.md).
7
7
8
+
# Unreleased
9
+
10
+
### Added
11
+
12
+
- Added a new RPC endpoint `/v3/health` to query the node's health status. The endpoint returns a 200 status code with relevant synchronization information (including the node's current Stacks tip height, the maximum Stacks tip height among its neighbors, and the difference between these two). A user can use the `difference_from_max_peer` value to decide what is a good threshold for them before considering the node out of sync. The endpoint returns a 500 status code if the query cannot retrieve viable data.
13
+
14
+
### Changed
15
+
16
+
- Changed default mempool walk strategy to `NextNonceWithHighestFeeRate`
17
+
18
+
## [3.1.0.0.12]
19
+
20
+
### Added
21
+
22
+
- Document missing config structs
23
+
- Document MinerConfig parameters
24
+
- Document BurnchainConfig parameters
25
+
- Document NodeConfig parameters
26
+
27
+
### Changed
28
+
29
+
-`get_fresh_random_neighbors` to include allowed neigbors
30
+
- Logging improvements and cleanup
31
+
- Move serde serializers to stacks_common
32
+
- Depend on clarity backing store interface
33
+
- Updated `./docs/event-dispacher.md`
34
+
35
+
### Fixed
36
+
37
+
- Handle Bitcoin reorgs during Stacks tenure extend
38
+
8
39
## [3.1.0.0.11]
9
40
10
41
- Hotfix for p2p stack misbehavior in mempool syncing conditions
11
42
12
43
## [3.1.0.0.10]
13
44
14
45
### Added
46
+
15
47
- Persisted tracking of StackerDB slot versions for mining. This improves miner p2p performance.
@@ -157,7 +157,7 @@ JSON object _without_ the `balance_proof` or `nonce_proof` fields.
157
157
158
158
Attempt to vetch a data var from a contract. The contract is identified with [Stacks Address] and
159
159
[Contract Name] in the URL path. The variable is identified with [Var Name].
160
-
160
+
161
161
Returns JSON data in the form:
162
162
163
163
```json
@@ -202,7 +202,7 @@ Returns JSON data in the form:
202
202
Where data is the metadata formatted as a JSON string.
203
203
204
204
### GET /v2/constant_val/[Stacks Address]/[Contract Name]/[Constant Name]
205
-
Attempt to fetch a constant from a contract. The contract is identified with [Stacks Address] and
205
+
Attempt to fetch a constant from a contract. The contract is identified with [Stacks Address] and
206
206
[Contract Name] in the URL path. The constant is identified with [Constant Name].
207
207
208
208
Returns JSON data in the form:
@@ -219,7 +219,7 @@ Where data is the hex serialization of the constant value.
219
219
220
220
Attempt to fetch data from a contract data map. The contract is identified with [Stacks Address] and
221
221
[Contract Name] in the URL path. The map is identified with [Map Name].
222
-
222
+
223
223
The _key_ to lookup in the map is supplied via the POST body. This should be supplied as the hex string
224
224
serialization of the key (which should be a Clarity value). Note, this is a _JSON_ string atom.
225
225
@@ -539,8 +539,8 @@ data.
539
539
540
540
This will return 404 if the block does not exist.
541
541
542
-
This endpoint also accepts a querystring parameter `?tip=` which when supplied
543
-
will return the block relative to the specified tip allowing the querying of
542
+
This endpoint also accepts a querystring parameter `?tip=` which when supplied
543
+
will return the block relative to the specified tip allowing the querying of
544
544
sibling blocks (same height, different tip) too.
545
545
546
546
### GET /v3/tenures/[Block ID]
@@ -595,3 +595,13 @@ This feature requires enabling of transaction indexing by setting the `txindex`
595
595
596
596
This will return 404 if the transaction does not exist and 501 (Not Implemented) if
597
597
transaction indexing is not enabled.
598
+
599
+
600
+
### GET /v3/health
601
+
602
+
Determine node's synchronization health, comparing the node's current Stacks tip height
603
+
with the maximum Stacks tip height observed among its connected peers.
604
+
If there are no valid initial peers or data for the node to determine this information, this endpoint returns an error. The endpoint returns the node's current Stacks tip height, the maximum Stacks tip height observed among its connected peers, and the difference between these two heights.
605
+
A user can utilize the `difference_from_max_peer` to establish their own criteria for determining if a node is out of sync.
606
+
607
+
See OpenAPI [spec](./rpc/openapi.yaml) for details.
0 commit comments