Skip to content

Commit ef984b8

Browse files
Merge branch 'develop' into fix-log-message
2 parents 183a5ce + dd1ebe6 commit ef984b8

34 files changed

+939
-1012
lines changed

CHANGELOG.md

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ and this project adheres to the versioning scheme outlined in the [README.md](RE
77

88
## [Unreleased]
99

10-
- Added support for Clarity 3
10+
## [3.0.0.0.0]
11+
12+
### Added
13+
14+
- **Nakamoto consensus rules, activating in epoch 3.0 at block 867,867** (see [SIP-021](https://github.com/stacksgov/sips/blob/main/sips/sip-021/sip-021-nakamoto.md) for details)
15+
- Clarity 3, activating with epoch 3.0
1116
- Keywords / variable
1217
- `tenure-height` added
1318
- `stacks-block-height` added
@@ -16,10 +21,29 @@ and this project adheres to the versioning scheme outlined in the [README.md](RE
1621
- `get-stacks-block-info?` added
1722
- `get-tenure-info?` added
1823
- `get-block-info?` removed
19-
- Added `/v3/signer/{signer_pubkey}/{reward_cycle}` endpoint
20-
- Added `tenure_height` to `/v2/info` endpoint
21-
- Added optional `timeout_ms` to `events_observer` configuration
22-
- Added support for re-sending events to event observers across restarts
24+
- New RPC endpoints
25+
- `/v3/blocks/:block_id`
26+
- `/v3/blocks/upload/`
27+
- `/v3/signer/:signer_pubkey/:cycle_num`
28+
- `/v3/sortitions`
29+
- `/v3/stacker_set/:cycle_num`
30+
- `/v3/tenures/:block_id`
31+
- `/v3/tenures/fork_info/:start/:stop`
32+
- `/v3/tenures/info`
33+
- `/v3/tenures/tip/:consensus_hash`
34+
- Re-send events to event observers across restarts
35+
- Support custom chain-ids for testing
36+
- Add `replay-block` command to CLI
37+
38+
### Changed
39+
40+
- Strict config file validation (unknown fields will cause the node to fail to start)
41+
- Add optional `timeout_ms` to `events_observer` configuration
42+
- Modified RPC endpoints
43+
- Include `tenure_height` in `/v2/info` endpoint
44+
- Include `block_time` and `tenure_height` in `/new/block` event payload
45+
- Various improvements to logging, reducing log spam and improving log messages
46+
- Various improvements and bugfixes
2347

2448
## [2.5.0.0.7]
2549

CONTRIBUTING.md

Lines changed: 128 additions & 145 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Stacks is a layer-2 blockchain that uses Bitcoin as a base layer for security an
1212

1313
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg?style=flat)](https://www.gnu.org/licenses/gpl-3.0)
1414
[![Release](https://img.shields.io/github/v/release/stacks-network/stacks-core?style=flat)](https://github.com/stacks-network/stacks-core/releases/latest)
15-
[![Build Status](https://github.com/stacks-network/stacks-core/actions/workflows/ci.yml/badge.svg?branch=master&event=workflow_dispatch&style=flat)](https://github.com/stacks-network/stacks-core/actions/workflows/ci.yml?query=event%3Aworkflow_dispatch+branch%3Amaster)
1615
[![Discord Chat](https://img.shields.io/discord/621759717756370964.svg)](https://stacks.chat)
1716

1817
## Building

SECURITY.md

Lines changed: 14 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
## Supported Versions
5-
Please see [Releases](https://github.com/stacks-network/stacks-blockchain/releases). It is recommended to use the [most recently released version](https://github.com/stacks-network/stacks-blockchain/releases/latest).
5+
Please see [Releases](https://github.com/stacks-network/stacks-core/releases). It is recommended to use the [most recently released version](https://github.com/stacks-network/stacks-core/releases/latest).
66

77

88
## Reporting a vulnerability
@@ -21,61 +21,22 @@ You may also contact us with any questions or to report a vulnerabilty using the
2121

2222
| Name | Fingerprint |
2323
| ------- | ------------------ |
24-
| [email protected] | 8A8B 3C3B 803A 0603 8FB5 3F69 357C 80AB 0885 87A |
24+
| [email protected] | ABA3 7FA3 6DBB A591 B0E5 5949 0E94 D065 B32E C7E6 |
2525

2626

2727
```
28-
----BEGIN PGP PUBLIC KEY BLOCK-----
29-
30-
mQINBGSBJLgBEACb6bnuvchM5wzmCBh8tvb5Fc90AGmUC9Bfiw85kTNr5N+6Y+fj
31-
Gcyy2ohUEh+5hQ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l9bN0B
31+
jKFBIRS0KXNlY3VyaXR5QHN0YWNrcy5vcmcgPHNlY3VyaXR5QHN0YWNrcy5vcmc+
32+
iJAEExYIADgWIQSro3+jbbulkbDlWUkOlNBlsy7H5gUCZrJ2wAIbAwULCQgHAgYV
33+
CgkICwIEFgIDAQIeAQIXgAAKCRAOlNBlsy7H5tznAQC6iKqtjCqn2RjtCkr2V6xe
34+
kCe92RfwWsG0415jVpVlDgEA350TCqIT1Jwyqz2aNT2TQ9F6fyKzAiNpLVRImOLH
35+
4Aq4OARmsnbAEgorBgEEAZdVAQUBAQdAvwusRitvUX9hSC8NKS48VTT3LVvZvn87
36+
JQXRc2CngAEDAQgHiHgEGBYIACAWIQSro3+jbbulkbDlWUkOlNBlsy7H5gUCZrJ2
37+
wAIbDAAKCRAOlNBlsy7H5oCNAQDae9VhB98HMOvZ99ZuSEyLqXxKjK7xT2P0y1Tm
38+
GuUnNAEAhI+1BjFvO/Hy50DcZTmHWvHJ6/dzibw5Ah+oE458IQo=
39+
=yhSO
7940
-----END PGP PUBLIC KEY BLOCK-----
8041
```
8142

docs/SIPS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ Stacks improvement proposals (SIPs) are aimed at describing the implementation o
44

55
See [SIP 000](https://github.com/stacksgov/sips/blob/main/sips/sip-000/sip-000-stacks-improvement-proposal-process.md) for more details.
66

7-
The SIPs now located in the [stacksgov/sips](https://github.com/stacksgov/sips) repository as part of the [Stacks Community Governance organization](https://github.com/stacksgov).
7+
The SIPs are located in the [stacksgov/sips](https://github.com/stacksgov/sips) repository as part of the [Stacks Community Governance organization](https://github.com/stacksgov).

docs/branching.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Git Branching
2+
3+
The following is a slightly modified version of the gitflow branching strategy described in <https://nvie.com/posts/a-successful-git-branching-model/>
4+
5+
## Main Branches
6+
7+
- **master** - `master` is the main branch where the source code of HEAD always reflects a production-ready state.
8+
- **develop** - `develop` is the branch where the source code of HEAD always reflects a state with the latest delivered development changes for the next release.
9+
- **next** - `next` may contain consensus-breaking changes for a future release.
10+
- **release/X.Y.Z.A.n** is the release branch.
11+
12+
When the source code in the develop branch reaches a stable point and is ready to be released, a release branch is created as `release/X.Y.Z.A.n` (see [release-process.md](./release-process.md)).
13+
After release, the following will happen:
14+
15+
- `release/X.Y.Z.A.n` branch is merged back to `master`.
16+
- `master` is then merged into `develop`, and development continues in the `develop` branch.
17+
- `develop` is then merged into `next`.
18+
19+
## Supporting Branches
20+
21+
Branch names should use a prefix that conveys the overall goal of the branch.
22+
All branches should be based off of `develop`, with the exception being a hotfix branch which may be based off of `master`.
23+
24+
- `feat/some-fancy-new-thing`: For new features.
25+
- `fix/some-broken-thing`: For hot fixes and bug fixes.
26+
- `chore/some-update`: Any non code related change (ex: updating CHANGELOG.md, adding comments to code).
27+
- `docs/something-needs-a-comment`: For documentation.
28+
- `ci/build-changes`: For continuous-integration changes.
29+
- `test/more-coverage`: For branches that only add more tests.
30+
- `refactor/formatting-fix`: For refactors of the codebase.
31+
32+
The full branch name **must**:
33+
34+
- Have a maximum of 128 characters.
35+
- Only includes ASCII lowercase and uppercase letters, digits, underscores, periods and dashes.

0 commit comments

Comments
 (0)