Skip to content

Commit c98b404

Browse files
committed
Merge branch 'master' into chore/merge-2.4.0.1.0-to-develop
2 parents bc0366f + c659fca commit c98b404

File tree

150 files changed

+5106
-2956
lines changed

Some content is hidden

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

150 files changed

+5106
-2956
lines changed

CHANGELOG.md

Lines changed: 33 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,24 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to the versioning scheme outlined in the [README.md](README.md).
77

8-
## [2.4.0.0.5]
8+
## [2.4.0.1.0]
99

10-
This introduces a set of improvements to the Stacks miner behavior. In
10+
### Added
11+
12+
- When the Clarity library is built with feature flag `developer-mode`, comments
13+
from the source code are now attached to the `SymbolicExpression` nodes. This
14+
will be useful for tools that use the Clarity library to analyze and
15+
manipulate Clarity source code, e.g. a formatter.
16+
- New RPC endpoint at /v2/constant_val to fetch a constant from a contract.
17+
- A new subsystem, called StackerDB, has been added, which allows a set of
18+
Stacks nodes to store off-chain data on behalf of a specially-crafter smart
19+
contract. This is an opt-in feature; Stacks nodes explicitly subscribe to
20+
StackerDB replicas in their config files.
21+
- Message definitions and codecs for Stacker DB, a replicated off-chain DB
22+
hosted by subscribed Stacks nodes and controlled by smart contracts
23+
- Added 3 new public and regionally diverse bootstrap nodes: est.stacksnodes.org, cet.stacksnodes.org, sgt.stacksnodes.org
24+
25+
In addition, this introduces a set of improvements to the Stacks miner behavior. In
1126
particular:
1227
* The VRF public key can be re-used across node restarts.
1328
* Settings that affect mining are hot-reloaded from the config file. They take
@@ -26,6 +41,22 @@ contract-calls).
2641
* When configured, the node will optionally only RBF block-commits if it can
2742
produce a block with strictly more transactions.
2843

44+
### Changed
45+
46+
- `developer-mode` is no longer enabled in the default feature set. This is the correct default behavior, since the stacks-node should NOT build with developer-mode enabled by default. Tools that need to use developer-mode should enable it explicitly.
47+
48+
### Fixed
49+
50+
- The transaction receipts for smart contract publish transactions now indicate
51+
a result of `(err none)` if the top-level code of the smart contract contained
52+
runtime error and include details about the error in the `vm_error` field of
53+
the receipt. Fixes issues #3154, #3328.
54+
- Added config setting `burnchain.wallet_name` which addresses blank wallets no
55+
longer being created by default in recent bitcoin versions. Fixes issue #3596
56+
- Use the current burnchain tip to lookup UTXOs (Issue #3733)
57+
- The node now gracefully shuts down even if it is in the middle of a handshake with
58+
bitcoind. Fixes issue #3734.
59+
2960
## [2.4.0.0.4]
3061

3162
This is a high-priority hotfix that addresses a bug in transaction processing which
@@ -56,41 +87,6 @@ could impact miner availability.
5687
This is a hotfix that changes the logging failure behavior from panicking to dropping
5788
the log message (PR #3784).
5889

59-
## [Unreleased]
60-
61-
### Added
62-
63-
- When the Clarity library is built with feature flag `developer-mode`, comments
64-
from the source code are now attached to the `SymbolicExpression` nodes. This
65-
will be useful for tools that use the Clarity library to analyze and
66-
manipulate Clarity source code, e.g. a formatter.
67-
- New RPC endpoint at /v2/constant_val to fetch a constant from a contract.
68-
- A new subsystem, called StackerDB, has been added, which allows a set of
69-
Stacks nodes to store off-chain data on behalf of a specially-crafter smart
70-
contract. This is an opt-in feature; Stacks nodes explicitly subscribe to
71-
StackerDB replicas in their config files.
72-
- Message definitions and codecs for Stacker DB, a replicated off-chain DB
73-
hosted by subscribed Stacks nodes and controlled by smart contracts
74-
- Added 3 new public and regionally diverse bootstrap nodes: est.stacksnodes.org, cet.stacksnodes.org, sgt.stacksnodes.org
75-
- satoshis_per_byte can be changed in the config file and miners will always use
76-
the most up to date value
77-
78-
### Changed
79-
80-
- `developer-mode` is no longer enabled in the default feature set. This is the correct default behavior, since the stacks-node should NOT build with developer-mode enabled by default. Tools that need to use developer-mode should enable it explicitly.
81-
82-
### Fixed
83-
84-
- The transaction receipts for smart contract publish transactions now indicate
85-
a result of `(err none)` if the top-level code of the smart contract contained
86-
runtime error and include details about the error in the `vm_error` field of
87-
the receipt. Fixes issues #3154, #3328.
88-
- Added config setting `burnchain.wallet_name` which addresses blank wallets no
89-
longer being created by default in recent bitcoin versions. Fixes issue #3596
90-
- Use the current burnchain tip to lookup UTXOs (Issue #3733)
91-
- The node now gracefully shuts down even if it is in the middle of a handshake with
92-
bitcoind. Fixes issue #3734.
93-
9490
## [2.4.0.0.1]
9591

9692
This is a minor change to add `txid` fields into the log messages from failing

build-scripts/Dockerfile.linux-glibc-arm64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN --mount=type=tmpfs,target=${BUILD_DIR} cp -R /src/. ${BUILD_DIR}/ \
1818
&& CC=aarch64-linux-gnu-gcc \
1919
CC_aarch64_unknown_linux_gnu=aarch64-linux-gnu-gcc \
2020
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc \
21-
cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} \
21+
cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} --bin stacks-node --bin stacks-inspect --bin clarity-cli --bin blockstack-cli \
2222
&& mkdir -p /out \
2323
&& cp -R ${BUILD_DIR}/target/${TARGET}/release/. /out
2424

build-scripts/Dockerfile.linux-glibc-armv7

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ RUN --mount=type=tmpfs,target=${BUILD_DIR} cp -R /src/. ${BUILD_DIR}/ \
1818
&& CC=arm-linux-gnueabihf-gcc \
1919
CC_armv7_unknown_linux_gnueabihf=arm-linux-gnueabihf-gcc \
2020
CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc \
21-
cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} \
21+
cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} --bin stacks-node --bin stacks-inspect --bin clarity-cli --bin blockstack-cli \
2222
&& mkdir -p /out \
2323
&& cp -R ${BUILD_DIR}/target/${TARGET}/release/. /out
2424

2525
FROM scratch AS export-stage
26-
COPY --from=build /out/stacks-inspect /out/blockstack-cli /out/clarity-cli /out/stacks-node /
26+
COPY --from=build /out/stacks-inspect /out/blockstack-cli /out/clarity-cli /out/stacks-node /

build-scripts/Dockerfile.linux-glibc-x64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y git
1515
RUN --mount=type=tmpfs,target=${BUILD_DIR} cp -R /src/. ${BUILD_DIR}/ \
1616
&& cd ${BUILD_DIR} \
1717
&& rustup target add ${TARGET} \
18-
&& cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} \
18+
&& cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} --bin stacks-node --bin stacks-inspect --bin clarity-cli --bin blockstack-cli \
1919
&& mkdir -p /out \
2020
&& cp -R ${BUILD_DIR}/target/${TARGET}/release/. /out
2121

build-scripts/Dockerfile.linux-musl-arm64

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ COPY . .
1313
RUN --mount=type=tmpfs,target=${BUILD_DIR} cp -R /src/. ${BUILD_DIR}/ \
1414
&& cd ${BUILD_DIR} \
1515
&& rustup target add ${TARGET} \
16-
&& cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} \
16+
&& cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} --bin stacks-node --bin stacks-inspect --bin clarity-cli --bin blockstack-cli \
1717
&& mkdir -p /out \
1818
&& cp -R ${BUILD_DIR}/target/${TARGET}/release/. /out
1919

2020
FROM scratch AS export-stage
2121
COPY --from=build /out/stacks-inspect /out/blockstack-cli /out/clarity-cli /out/stacks-node /
22+

build-scripts/Dockerfile.linux-musl-armv7

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ COPY . .
1313
RUN --mount=type=tmpfs,target=${BUILD_DIR} cp -R /src/. ${BUILD_DIR}/ \
1414
&& cd ${BUILD_DIR} \
1515
&& rustup target add ${TARGET} \
16-
&& cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} \
16+
&& cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} --bin stacks-node --bin stacks-inspect --bin clarity-cli --bin blockstack-cli \
1717
&& mkdir -p /out \
1818
&& cp -R ${BUILD_DIR}/target/${TARGET}/release/. /out
1919

2020
FROM scratch AS export-stage
21-
COPY --from=build /out/stacks-inspect /out/blockstack-cli /out/clarity-cli /out/stacks-node /
21+
COPY --from=build /out/stacks-inspect /out/blockstack-cli /out/clarity-cli /out/stacks-node /

build-scripts/Dockerfile.linux-musl-x64

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ RUN apk update && apk add git musl-dev
1515
RUN --mount=type=tmpfs,target=${BUILD_DIR} cp -R /src/. ${BUILD_DIR}/ \
1616
&& cd ${BUILD_DIR} \
1717
&& rustup target add ${TARGET} \
18-
&& cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} \
18+
&& cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} --bin stacks-node --bin stacks-inspect --bin clarity-cli --bin blockstack-cli \
1919
&& mkdir -p /out \
2020
&& cp -R ${BUILD_DIR}/target/${TARGET}/release/. /out
2121

2222
FROM scratch AS export-stage
2323
COPY --from=build /out/stacks-inspect /out/blockstack-cli /out/clarity-cli /out/stacks-node /
24+

build-scripts/Dockerfile.macos-arm64

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ RUN --mount=type=tmpfs,target=${BUILD_DIR} cp -R /src/. ${BUILD_DIR}/ \
2121
&& cd ${BUILD_DIR} \
2222
&& rustup target add ${TARGET} \
2323
&& . /opt/osxcross/env-macos-aarch64 \
24-
&& cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} \
24+
&& cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} --bin stacks-node --bin stacks-inspect --bin clarity-cli --bin blockstack-cli \
2525
&& mkdir -p /out \
2626
&& cp -R ${BUILD_DIR}/target/${TARGET}/release/. /out
2727

2828
FROM scratch AS export-stage
2929
COPY --from=build /out/stacks-inspect /out/blockstack-cli /out/clarity-cli /out/stacks-node /
30+

build-scripts/Dockerfile.macos-x64

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ RUN --mount=type=tmpfs,target=${BUILD_DIR} cp -R /src/. ${BUILD_DIR}/ \
2121
&& cd ${BUILD_DIR} \
2222
&& rustup target add ${TARGET} \
2323
&& . /opt/osxcross/env-macos-x86_64 \
24-
&& cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} \
24+
&& cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} --bin stacks-node --bin stacks-inspect --bin clarity-cli --bin blockstack-cli \
2525
&& mkdir -p /out \
2626
&& cp -R ${BUILD_DIR}/target/${TARGET}/release/. /out
2727

2828
FROM scratch AS export-stage
2929
COPY --from=build /out/stacks-inspect /out/blockstack-cli /out/clarity-cli /out/stacks-node /
30+

build-scripts/Dockerfile.windows-x64

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ RUN --mount=type=tmpfs,target=${BUILD_DIR} cp -R /src/. ${BUILD_DIR}/ \
1717
&& rustup target add ${TARGET} \
1818
&& CC_x86_64_pc_windows_gnu=x86_64-w64-mingw32-gcc \
1919
CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER=x86_64-w64-mingw32-gcc \
20-
cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} \
20+
cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} --bin stacks-node --bin stacks-inspect --bin clarity-cli --bin blockstack-cli \
2121
&& mkdir -p /out \
2222
&& cp -R ${BUILD_DIR}/target/${TARGET}/release/. /out
2323

2424
FROM scratch AS export-stage
25-
COPY --from=build /out/stacks-inspect.exe /out/blockstack-cli.exe /out/clarity-cli.exe /out/stacks-node.exe /
25+
COPY --from=build /out/stacks-inspect.exe /out/blockstack-cli.exe /out/clarity-cli.exe /out/stacks-node.exe /

0 commit comments

Comments
 (0)