Skip to content

Commit 300ddb1

Browse files
committed
merge: merge develop and resolve changelog conflict
2 parents 52fcf78 + 38b7c30 commit 300ddb1

File tree

403 files changed

+18802
-11877
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

403 files changed

+18802
-11877
lines changed

.cargo/config.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[alias]
22
stacks-node = "run --package stacks-node --"
33
fmt-stacks = "fmt -- --config group_imports=StdExternalCrate,imports_granularity=Module"
4-
clippy-stacks = "clippy -p libstackerdb -p stacks-signer -p pox-locking -p clarity -p libsigner -p stacks-common --no-deps --tests --all-features -- -D warnings"
4+
clippy-stacks = "clippy -p stx-genesis -p libstackerdb -p stacks-signer -p pox-locking -p clarity -p libsigner -p stacks-common --no-deps --tests --all-features -- -D warnings -A clippy::uninlined-format-args"
5+
clippy-stackslib = "clippy -p stackslib --no-deps -- -Aclippy::all -Wclippy::indexing_slicing"
56

67
# Uncomment to improve performance slightly, at the cost of portability
78
# * Note that native binaries may not run on CPUs that are different from the build machine

.github/CODEOWNERS

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
# These owners will be the default owners for everything in
22
# the repo. Unless a later match takes precedence,
33
#
4-
# require both blockchain-team-codeowners and blockchain-team to review all PR's not specifically matched below
5-
* @stacks-network/blockchain-team-codeowners @stacks-network/blockchain-team
6-
7-
8-
# Signer code
9-
# require both blockchain-team-codeowners and blockchain-team-signer to review PR's for the signer folder(s)
10-
libsigner/**/*.rs @stacks-network/blockchain-team-codeowners @stacks-network/blockchain-team-signer
11-
stacks-signer/**/*.rs @stacks-network/blockchain-team-codeowners @stacks-network/blockchain-team-signer
4+
# require both blockchain-team-codeowners and blockchain-team-reviewers to review all PR's not specifically matched below
5+
* @stacks-network/blockchain-team-codeowners @stacks-network/blockchain-team-reviewers
126

137
# CI workflows
14-
# require both blockchain-team and blockchain-team-ci teams to review PR's modifying CI workflows
15-
/.github/workflows/ @stacks-network/blockchain-team @stacks-network/blockchain-team-ci
16-
/.github/actions/ @stacks-network/blockchain-team @stacks-network/blockchain-team-ci
8+
# require both blockchain-team-ci and blockchain-team-reviewers teams to review PR's modifying CI workflows
9+
/.github/workflows/ @stacks-network/blockchain-team-ci @stacks-network/blockchain-team-reviewers
10+
/.github/actions/ @stacks-network/blockchain-team-ci @stacks-network/blockchain-team-reviewers

.github/actions/dockerfiles/Dockerfile.alpine-binary

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN case "${TAG}" in \
3131
;; \
3232
*) \
3333
echo "/bin/stacks-node mainnet" > /tmp/command.sh && \
34-
rm /bin/blockstack-cli /bin/clarity-cli /bin/relay-server /bin/stacks-events /bin/stacks-inspect \
34+
rm /bin/blockstack-cli /bin/clarity-cli /bin/stacks-events /bin/stacks-inspect \
3535
;; \
3636
esac && \
3737
chmod +x /tmp/command.sh

.github/actions/dockerfiles/Dockerfile.debian-binary

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN case "${TAG}" in \
3131
;; \
3232
*) \
3333
echo "/bin/stacks-node mainnet" > /tmp/command.sh && \
34-
rm /bin/blockstack-cli /bin/clarity-cli /bin/relay-server /bin/stacks-events /bin/stacks-inspect \
34+
rm /bin/blockstack-cli /bin/clarity-cli /bin/stacks-events /bin/stacks-inspect \
3535
;; \
3636
esac && \
3737
chmod +x /tmp/command.sh

.github/workflows/pr-differences-mutants.yml

Lines changed: 0 additions & 245 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ testnet/index.html
6161
/testnet/helium/target/
6262
/contrib/tools/puppet-chain/target/
6363
/contrib/core-contract-tests/.cache/
64+
/contrib/tools/config-docs-generator/target/
6465

6566
# These are backup files generated by rustfmt
6667
**/*.rs.bk

.vscode/settings.json

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
{
2-
"lldb.launch.sourceLanguages": [
3-
"rust"
4-
],
5-
"rust-analyzer.runnables.extraEnv": {
6-
"BITCOIND_TEST": "1"
7-
},
8-
"rust-analyzer.rustfmt.extraArgs": [
9-
"+nightly"
10-
],
11-
"files.eol": "\n"
12-
}
2+
"lldb.launch.sourceLanguages": ["rust"],
3+
"rust-analyzer.runnables.extraEnv": {
4+
"BITCOIND_TEST": "1"
5+
},
6+
"rust-analyzer.rustfmt.extraArgs": ["+nightly"],
7+
"files.eol": "\n"
8+
}

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,56 @@ and this project adheres to the versioning scheme outlined in the [README.md](RE
1111

1212
- When a previous block commit is unable to be RBFed, the miner will now just wait for it to be confirmed instead of submitting a new block commit which breaks the miner's UTXO chain.
1313

14+
## [3.1.0.0.13]
15+
16+
### Added
17+
18+
- 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.
19+
- Improve prometheus metrics to gain more insights into the current state of the mempool
20+
- `stacks_node_miner_stop_reason_total`: Counts the number of times the miner stopped mining due to various reasons.
21+
- Always report the number of transactions mined in the last attempt, even if there were 0
22+
23+
- Added a new option `--hex-file <file_path>` to `blockstack-cli contract-call` command, that allows to pass a serialized Clarity value by file.
24+
- Added a new option `--postcondition-mode [allow, deny]` to `blockstack-cli publish` command, to set the post-condition mode to allow or deny on the transaction (default is deny)
25+
26+
### Changed
27+
28+
- Changed default mempool walk strategy to `NextNonceWithHighestFeeRate`
29+
30+
### Fixed
31+
32+
- Fixed an issue that prevented the correct usage of anchor mode options (`--microblock-only`, `--block-only`) when using `blockstack-cli publish` command.
33+
- Fix several bugs in the mock-miner that caused it to fail to mine blocks in certain conditions
34+
35+
## [3.1.0.0.12]
36+
37+
### Added
38+
39+
- Document missing config structs
40+
- Document MinerConfig parameters
41+
- Document BurnchainConfig parameters
42+
- Document NodeConfig parameters
43+
44+
### Changed
45+
46+
- `get_fresh_random_neighbors` to include allowed neigbors
47+
- Logging improvements and cleanup
48+
- Move serde serializers to stacks_common
49+
- Depend on clarity backing store interface
50+
- Updated `./docs/event-dispacher.md`
51+
52+
### Fixed
53+
54+
- Handle Bitcoin reorgs during Stacks tenure extend
55+
1456
## [3.1.0.0.11]
1557

1658
- Hotfix for p2p stack misbehavior in mempool syncing conditions
1759

1860
## [3.1.0.0.10]
1961

2062
### Added
63+
2164
- Persisted tracking of StackerDB slot versions for mining. This improves miner p2p performance.
2265

2366
## [3.1.0.0.9]

0 commit comments

Comments
 (0)