Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Next #55

Merged
merged 205 commits into from
Feb 7, 2024
Merged

Next #55

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
205 commits
Select commit Hold shift + click to select a range
8370213
feat: mutation testing initial integration
ASuciuX Nov 24, 2023
06d68b2
Merge branch 'develop' into test/cargo-mutants-testing
ASuciuX Nov 24, 2023
1c5a75c
fix: made functions discoverable to be mutants
ASuciuX Nov 24, 2023
19f56ea
feat: added mutants output before fix clarity package
ASuciuX Nov 27, 2023
a3caebb
feat: added mutants output after fix clarity package
ASuciuX Nov 27, 2023
e41e89a
Update mutants-testing-general.sh
ASuciuX Nov 27, 2023
b1649a3
feat: renamed mod to lib.rs
ASuciuX Nov 29, 2023
32aa967
Delete Dockerfile.mutation-testing as it is also run locally with cargo
ASuciuX Nov 30, 2023
92b4e23
feat: modular mutations on shell
ASuciuX Dec 1, 2023
5387f44
feat: restructure mutants to new CI workflows
ASuciuX Dec 11, 2023
0bf76dd
feat: update link to stacks action repo
ASuciuX Dec 11, 2023
9616e07
Merge branch 'develop' into test/cargo-mutants-testing
ASuciuX Dec 11, 2023
ababc91
use pull_request to trigger ci runs
wileyj Dec 12, 2023
62c7e4d
Merge pull request #4160 from stacks-network/ci/fix-pr-target-master
wileyj Dec 13, 2023
879b9db
Update CODE_OF_CONDUCT.md
cuevasm Dec 15, 2023
7c91912
feat: keep only filter pr workflow file
ASuciuX Dec 15, 2023
491557d
added specific triggers for the CI action on PR
ASuciuX Dec 15, 2023
dbca59e
change the wording around the signature description
tippenein Dec 11, 2023
30f3b42
use @obycode copy
tippenein Dec 12, 2023
8461714
'list of functions'
tippenein Dec 12, 2023
dac754a
Merge branch 'master' into define-trait-wording-change
tippenein Dec 20, 2023
130220b
Merge pull request #4144 from tippenein/define-trait-wording-change
obycode Dec 20, 2023
816d69c
fix: minor bug in fee-estimate.py
obycode Jan 1, 2024
ab88a77
Merge branch 'master' into cuevasm-patch-2
wileyj Jan 2, 2024
b218f29
Merge pull request #4181 from stacks-network/cuevasm-patch-2
saralab Jan 2, 2024
2d7f9ed
chore: set confidence parameter to 0.9 for bitcoiner.live API
obycode Jan 2, 2024
8a075a0
Merge pull request #4224 from stacks-network/fix/fee-estimate
obycode Jan 4, 2024
fba9fa4
chore: update coordinator tests to return the TestPeer they create, s…
jcnelson Jan 5, 2024
cc07739
feat: new function to get the highest NakamotoTenure for a given tenu…
jcnelson Jan 5, 2024
17aa9e6
feat: add handler for GetNakamotoInv messages and consolidate some co…
jcnelson Jan 5, 2024
f7cec20
chore: codec for GetNakamotoInv/NakamotoInv
jcnelson Jan 5, 2024
6096d2b
chore: API sync with imports
jcnelson Jan 5, 2024
1bb1a5d
feat: GetNakamotoInv/NakamotoInv message types
jcnelson Jan 5, 2024
8524b69
feat: cache NakamotoInv data with PeerNetwork (instead of chainstate,…
jcnelson Jan 5, 2024
4b0f7ff
chore: API sync inv imports
jcnelson Jan 5, 2024
0d7f2ff
refactor: move epoch 2.x inventory state machine and tests into `src/…
jcnelson Jan 5, 2024
7e907f4
feat: implement inventory query interface and inventory message build…
jcnelson Jan 5, 2024
afcc253
chore: test codes for GetNakamotoInv and NakamotoInv
jcnelson Jan 5, 2024
ead0b73
chore: cargo fmt
jcnelson Jan 5, 2024
b493fdb
Merge branch 'next' into feat/nakamoto-block-inv
jcnelson Jan 5, 2024
0a5370f
fix: ensure test names for test peers don't depend on ports
jcnelson Jan 5, 2024
ff3124e
modularize mutants' runs for different package size cases
ASuciuX Jan 7, 2024
b90dc06
feat: rename from `filter-pr` to `pr-differences`
ASuciuX Jan 8, 2024
13f7197
feat: shorter names for steps
ASuciuX Jan 8, 2024
921a01d
feat: check if `tac`, `awk` and `sed` commands exist on host
ASuciuX Jan 8, 2024
c6927a7
feat: check files before accessing them
ASuciuX Jan 9, 2024
23ef4ce
chore: update default testnet hiro bootstrap node
CharlieC3 Jan 9, 2024
ec24364
chore: update default testnet hiro bootstrap node
CharlieC3 Jan 9, 2024
2b812fb
change the wording around the signature description
tippenein Dec 11, 2023
9d8044d
use @obycode copy
tippenein Dec 12, 2023
0813280
'list of functions'
tippenein Dec 12, 2023
a594e8b
Use GITHUB_OUTPUT envvar instead of set-output command as the latter …
arunsathiya Dec 27, 2023
298e8e0
feat: move shell runs from main workflow to composite action
ASuciuX Jan 10, 2024
12388b7
feat: add documentation for mutation testing
ASuciuX Jan 11, 2024
5a4f9b3
feat: mutation testing - update composite branch
ASuciuX Jan 16, 2024
e6dac0a
Merge pull request #4237 from CharlieC3/develop
wileyj Jan 16, 2024
37ad927
Merge pull request #4238 from CharlieC3/master
wileyj Jan 16, 2024
16b7bff
feat: renamed back the lib files as cargo-mutants supports them now
ASuciuX Jan 17, 2024
40207d3
feat: miner behavior improvements (squashed; see CHANGELOG)
jcnelson Jan 17, 2024
924ac90
fix: input_index, not input_vout
jcnelson Jan 17, 2024
8c70e98
fix: reset `consider_no_estimate_tx_prob` to 5 in `zero`
obycode Jan 17, 2024
524b0e1
Merge pull request #4250 from stacks-network/feat/miner-improvements
wileyj Jan 17, 2024
5801992
Merge master to develop
jcnelson Jan 17, 2024
9012cf7
chore: cargo fmt-stacks
jcnelson Jan 17, 2024
4b6638a
Merge pull request #4251 from stacks-network/feat/merge-master-to-dev…
jcnelson Jan 17, 2024
9b54fcb
Merge branch 'develop' into test/mutants-filter-pr
wileyj Jan 18, 2024
4389499
chore: cargo fmt
jcnelson Jan 18, 2024
b6be517
chore: cargo fmt
jcnelson Jan 18, 2024
8508c38
Revert "Address clippy complaints in src/vm/"
jcnelson Jan 18, 2024
18d0d15
Merge branch 'fix/develop-revert-clippy' into feat/cargo-fmt
jcnelson Jan 18, 2024
598d4bf
chore: merge change log
jcnelson Jan 18, 2024
d99bc2f
change --config= to --config
wileyj Jan 18, 2024
a7cf645
chore: cargo fmt
jcnelson Jan 18, 2024
e42195e
chore: a few fixes to neighbor lifecycle to make the node less chatty
jcnelson Jan 18, 2024
3907d7e
chore: move repetative info! to debug!
jcnelson Jan 19, 2024
f67356a
Merge branch 'develop' into master
wileyj Jan 19, 2024
43c91b2
feat: optionally ignore neighbors on private networks
jcnelson Jan 19, 2024
71355c5
fix: expose private_neighbors via config.rs
jcnelson Jan 20, 2024
ff7c549
feat: add /v2/stackerdb/{contract-addr}/{contract-name}/replicas API …
jcnelson Jan 22, 2024
44b6aa7
chore: don't connect to unroutable neighbors if private_neighbors is …
jcnelson Jan 22, 2024
999b1cc
chore: address PR feedback
jcnelson Jan 22, 2024
0ce23d9
Merge branch 'next' into feat/nakamoto-block-inv
jcnelson Jan 22, 2024
e5383ff
chore: cargo fmt
jcnelson Jan 22, 2024
6b86eaa
chore: fix build issue
jcnelson Jan 22, 2024
c32ad7a
chore: debug, not info
jcnelson Jan 22, 2024
806de84
fix: repair connection network handle flush logic, and add a helper t…
jcnelson Jan 22, 2024
210c746
fix: update local peer to indicate that we support stackerdb
jcnelson Jan 22, 2024
69bdbe8
chore: cargo fmt
jcnelson Jan 22, 2024
882ec50
Quote envvar to match documentation
arunsathiya Jan 23, 2024
0875d10
feat: mutants docs - time related outcomes
ASuciuX Jan 23, 2024
3c65785
chore: get stackerdb tests passing again; fix a couple bugs in the st…
jcnelson Jan 23, 2024
f747b00
Merge pull request #4270 from stacks-network/chore/stackerdb-replica-…
jcnelson Jan 23, 2024
cfb1b6d
chore: throttle stackerdb sync to be at least one second
jcnelson Jan 23, 2024
7021752
Merge branch 'release/2.5.0.1.0' of https://github.com/stacks-network…
jcnelson Jan 23, 2024
c0355b2
fix: if we hit message EOF, then return so that the caller can refill…
jcnelson Jan 23, 2024
d0c111a
fix: if walk step times out, then error out
jcnelson Jan 23, 2024
653a116
fix: blocked condition is true regardless of internal buffer contents
jcnelson Jan 23, 2024
23acbf1
chore: reset stackerdb sync state on reset
jcnelson Jan 23, 2024
3c8ec8f
fix: don't buffer zero-length buffers; expand test coverage
jcnelson Jan 23, 2024
b289659
fix: don't partially-buffer p2p messages; send them all at once so if…
jcnelson Jan 24, 2024
b736aaa
fix: compile error
jcnelson Jan 24, 2024
ed24b97
fix: it's not a problem if we don't make any new requests for stacker…
jcnelson Jan 24, 2024
63a7548
chore: log specifically what messages get nacked in stackerdb replica…
jcnelson Jan 24, 2024
401edeb
chore: don't re-send getchunksinv messages
jcnelson Jan 24, 2024
dd2a8a2
chore: coalesce replicas by ipaddr
jcnelson Jan 25, 2024
e6ae325
fix: count always-allowed nodes by pubkey, not port (which can omit i…
jcnelson Jan 25, 2024
c16d87c
feat: update mutants doc format & some extra context
ASuciuX Jan 25, 2024
cc8f86d
fix: walk to always-allowed if we aren't connected to one yet
jcnelson Jan 25, 2024
b6ea099
fix: if we have private_neighbors = false, then don't bother selectin…
jcnelson Jan 25, 2024
5794ee8
fix: missing !
jcnelson Jan 25, 2024
9794e01
Merge branch 'next' into feat/nakamoto-block-inv
jcnelson Jan 25, 2024
bb6e887
Merge pull request #4178 from ASuciuX/test/mutants-filter-pr
ASuciuX Jan 26, 2024
8038c40
Merge branch 'develop' into master
wileyj Jan 26, 2024
bc0366f
Merge pull request #4217 from arunsathiya/master
wileyj Jan 26, 2024
7b7067b
fix: only return routable replicas, and include localpeer if needed
jcnelson Jan 26, 2024
683931c
feat: helper to get neighbor address of local peer, given its public …
jcnelson Jan 26, 2024
7b597c3
fix: don't stop an ongoing walk just because we don't yet have a conn…
jcnelson Jan 26, 2024
4c461c2
refactor: query old neighbors for stackerdbs if we dont' have new ones
jcnelson Jan 26, 2024
67d5711
chore: cargo fmt
jcnelson Jan 26, 2024
40ecd03
fix: ::1 and 127.0.0.0/8 are private range addresses
jcnelson Jan 26, 2024
a8be048
fix: fix failing unit test
jcnelson Jan 29, 2024
7ecbdc3
Merge branch 'next' into feat/nakamoto-block-inv
jcnelson Jan 29, 2024
1d8920e
Merge pull request #4262 from stacks-network/release/2.5.0.1.0
wileyj Jan 29, 2024
893a7c6
Target specific binaries for release builds
wileyj Jan 30, 2024
0354edd
chore: expand warning for having an invalid block-commit
jcnelson Jan 31, 2024
7602c55
fix: correct the number of expected successful tenures
jcnelson Jan 31, 2024
655f104
fix: correctly find the parent sortition for a new nakamoto tenure
jcnelson Jan 31, 2024
6aa97e0
fix: log how many blocks a tenure-change confirms
jcnelson Jan 31, 2024
8f4a3b0
feat: log the variant of a coinbase or tenure-change
jcnelson Jan 31, 2024
0412525
feat: implement a declarative test framework for generating nakamoto …
jcnelson Jan 31, 2024
300aeda
chore: expand test coverage for inventory generation using the new de…
jcnelson Jan 31, 2024
5eab4f6
Merge branch 'next' into feat/nakamoto-block-inv
jcnelson Jan 31, 2024
c659fca
Merge pull request #4312 from stacks-network/ci/fix-release-builds
wileyj Jan 31, 2024
a2a9c27
Merge branch 'next' into feat/nakamoto-block-inv
jcnelson Jan 31, 2024
c98b404
Merge branch 'master' into chore/merge-2.4.0.1.0-to-develop
jcnelson Jan 31, 2024
b5e5539
Merge pull request #4317 from stacks-network/chore/merge-2.4.0.1.0-to…
jcnelson Jan 31, 2024
74e3ced
feat: add signer-key to synthetic pox events
zone117x Feb 1, 2024
a7c5984
Merge pull request #4329 from stacks-network/feat/pox-signer-key-event
zone117x Feb 1, 2024
81ce702
Merge branch 'chore/merge-2.4.0.1.0-to-develop' into chore/merge-2.4.…
jcnelson Feb 1, 2024
8143326
merge develop to next
jcnelson Feb 1, 2024
530aca0
Merge branch 'develop' into chore/merge-2.4.0.1.0-develop-to-next
jcnelson Feb 1, 2024
beeb7d8
Merge branch 'next' into chore/merge-2.4.0.1.0-develop-to-next
jcnelson Feb 1, 2024
d404e5f
fix: compiler errors from merge
jcnelson Feb 1, 2024
dcf7e77
Merge branch 'next' into feat/nakamoto-block-inv
jcnelson Feb 2, 2024
0066cea
fix: fix more merge errors
jcnelson Feb 2, 2024
74648ed
docs: describe loop invariants
jcnelson Feb 2, 2024
8eb772b
Merge branch 'feat/nakamoto-block-inv' of https://github.com/stacks-n…
jcnelson Feb 2, 2024
5c14a44
fix: incorrect arg index in synthetic event
hstove Feb 1, 2024
ec8ed12
updated print statement
setzeus Feb 1, 2024
1dd68d1
updated print w/ more items
setzeus Feb 1, 2024
cb19a6f
forgot formatting
setzeus Feb 1, 2024
339829f
missing comma
setzeus Feb 1, 2024
c9f3fb2
Merge pull request #4324 from stacks-network/update-pox-4-vote-print
saralab Feb 2, 2024
915fef7
Merge branch 'next' into feat/nakamoto-block-inv
jcnelson Feb 2, 2024
a4e8bdc
Merge branch 'next' into chore/merge-2.4.0.1.0-develop-to-next
jcnelson Feb 2, 2024
c9376e4
chore: log headers on failure to decode http resposne
jcnelson Feb 2, 2024
074fd76
Merge pull request #4334 from stacks-network/chore/merge-2.4.0.1.0-de…
wileyj Feb 2, 2024
dd3b2b8
fix: fix flaky integration test for writing to stackerdb
jcnelson Feb 2, 2024
32048fe
Merge branch 'next' into feat/nakamoto-block-inv
jcnelson Feb 2, 2024
b21bbd1
fix: cargo fmt
jcnelson Feb 2, 2024
138c90f
Merge branch 'next' into fix/test-writes-to-stackerdb
jcnelson Feb 2, 2024
22a4567
fix: fix failing unit test
jcnelson Feb 2, 2024
86e3c26
Merge pull request #4232 from stacks-network/feat/nakamoto-block-inv
jcnelson Feb 2, 2024
9286c32
Make miner retrieve signer messages from stackerdb to get a signed block
jferrant Jan 25, 2024
078684f
Fix build issues due to rebase
jferrant Jan 30, 2024
c84e444
Remove bincode by adding serialization functions for all wsts Packet …
jferrant Jan 31, 2024
75e50ac
CRC: cleanup type prefix enum and move wait_for_signature and broadca…
jferrant Jan 31, 2024
dd006d4
CRC: add trait for wsts struct serde
jferrant Feb 2, 2024
7203da2
Add deserialization of RPCPeerInfoData and get_burn_block_height and …
jferrant Jan 26, 2024
223de46
Add helper function to check if stacks node is pre epoch 3.0 activation
jferrant Jan 26, 2024
8997b22
Add SignerMessage::Transactions to event.rs and update rest of code
jferrant Jan 26, 2024
1744375
get stacks transactions from signers stackerdb slot
jferrant Jan 26, 2024
f408e15
Update get_signer_transactions to retry
Jan 26, 2024
5f9418a
Cargo fmt stuff
jferrant Jan 26, 2024
32bd01d
Remove unwrap in get_signer_transactions_with_retry
jferrant Jan 26, 2024
2afb1fb
Add transaction verification function
jferrant Jan 26, 2024
c4fb9fd
Broadcast missing transactions to the miner as a hint
jferrant Jan 27, 2024
e6c1c93
Broadcast expected transactions to the stackerdb instance for miners …
jferrant Jan 27, 2024
119e2bf
Add get signer transactions with retry unit test
jferrant Jan 27, 2024
517157a
Add missing chnage to remove extra arg from send message with retry
jferrant Jan 29, 2024
8a75ba9
Filter on only special cased transactions from valid signer ids when …
jferrant Jan 29, 2024
c9318fe
use stackerdb writers to verify transaction comes from expected sende…
jferrant Jan 30, 2024
055791c
Clippy cleanup
jferrant Jan 30, 2024
07b69b1
Add tests to filtering of invalid transactions
jferrant Feb 1, 2024
c5102b1
Add tests to filtering of invalid transactions
jferrant Feb 1, 2024
3c2f3a4
Add verify transactions valid test
jferrant Feb 2, 2024
c9f38f6
CRC: cleanup nits and test failures due to clarity changes
jferrant Feb 2, 2024
4440414
Cleanup RejectCode serde and fix tmissing transactions test
jferrant Feb 3, 2024
61302a7
feat: read reward set from state updated in .signers
kantai Jan 26, 2024
c44ba36
feat: add `stacker_set` RPC endpoint
kantai Jan 29, 2024
4cb5be5
fix: no need to bump coinbase height
kantai Jan 30, 2024
05e0f69
chore: fmt-stacks
kantai Jan 31, 2024
85a243b
ci: add correct_burn_outs to workflows
kantai Feb 1, 2024
6ded8d7
chore: address PR comments
kantai Feb 1, 2024
c6a54db
fix: address merge issues from `next`
kantai Feb 3, 2024
c90d0b4
chore: cargo fmt-stacks
kantai Feb 3, 2024
3ebc0b5
Merge branch 'next' into fix/test-writes-to-stackerdb
jcnelson Feb 3, 2024
278d88e
Merge pull request #4337 from stacks-network/fix/test-writes-to-stack…
jcnelson Feb 5, 2024
a955244
Merge branch 'next' into feat/reward-set-endpoint
kantai Feb 5, 2024
2c120ad
fix get_stacker_set docs
kantai Feb 5, 2024
20d7869
Use serial to ensure tests do not clash
jferrant Feb 5, 2024
9eeddbb
Merge branch 'next' into feat/reward-set-endpoint
kantai Feb 5, 2024
2d1f1ae
Use the same slot id for retrieving the proposed block
jferrant Feb 5, 2024
c5f4d81
Merge branch 'next' into feat/reward-set-endpoint
kantai Feb 5, 2024
7c7a527
Merge pull request #4311 from stacks-network/feat/reward-set-endpoint
kantai Feb 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/bitcoin-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,13 @@ jobs:
- tests::neon_integrations::test_problematic_txs_are_not_stored
- tests::neon_integrations::use_latest_tip_integration_test
- tests::neon_integrations::confirm_unparsed_ongoing_ops
- tests::neon_integrations::min_txs
- tests::should_succeed_handling_malformed_and_valid_txs
- tests::nakamoto_integrations::simple_neon_integration
- tests::nakamoto_integrations::mine_multiple_per_tenure_integration
- tests::nakamoto_integrations::block_proposal_api_endpoint
- tests::nakamoto_integrations::miner_writes_proposed_block_to_stackerdb
- tests::nakamoto_integrations::correct_burn_outs
- tests::signer::stackerdb_dkg_sign
- tests::signer::stackerdb_block_proposal
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ jobs:
git add src/_data/boot-contracts-reference.json
if $(git diff --staged --quiet --exit-code); then
echo "No reference.json changes, stopping"
echo "::set-output name=open_pr::0"
echo "open_pr=0" >> "$GITHUB_OUTPUT"
else
git remote add robot https://github.com/$ROBOT_OWNER/$ROBOT_REPO
git commit -m "auto: update Clarity references JSONs from stacks-core@${GITHUB_SHA}"
git push robot $ROBOT_BRANCH
echo "::set-output name=open_pr::1"
echo "open_pr=1" >> "$GITHUB_OUTPUT"
fi

- name: Open PR
Expand Down
82 changes: 51 additions & 31 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to the versioning scheme outlined in the [README.md](RE

### Added

- New RPC endpoint `/v2/stacker_set/{cycle_number}` to fetch stacker sets in PoX-4
- New `/new_pox_anchor` endpoint for broadcasting PoX anchor block processing.
- Stacker bitvec in NakamotoBlock

Expand All @@ -18,37 +19,7 @@ and this project adheres to the versioning scheme outlined in the [README.md](RE
`stack-stx` and `stack-extend`), the signing-key parameter is removed from
`delegate-*` functions.

## [2.4.0.0.4]

This is a high-priority hotfix that addresses a bug in transaction processing which
could impact miner availability.

## [2.4.0.0.3]

This is a high-priority hotfix that addresses a bug in transaction processing which
could impact miner availability.

## [2.4.0.0.2]

This is a hotfix that changes the logging failure behavior from panicking to dropping
the log message (PR #3784).

## [2.4.0.0.4]

This is a high-priority hotfix that addresses a bug in transaction processing which
could impact miner availability.

## [2.4.0.0.3]

This is a high-priority hotfix that addresses a bug in transaction processing which
could impact miner availability.

## [2.4.0.0.2]

This is a hotfix that changes the logging failure behavior from panicking to dropping
the log message (PR #3784).

## [Unreleased]
## [2.4.0.1.0]

### Added

Expand All @@ -69,6 +40,25 @@ the log message (PR #3784).
- New RPC endpoint at /v2/block_proposal for miner to validate proposed block.
Only accessible on local loopback interface

In addition, this introduces a set of improvements to the Stacks miner behavior. In
particular:
* The VRF public key can be re-used across node restarts.
* Settings that affect mining are hot-reloaded from the config file. They take
effect once the file is updated; there is no longer a need to restart the
node.
* The act of changing the miner settings in the config file automatically
triggers a subsequent block-build attempt, allowing the operator to force the
miner to re-try building blocks.
* This adds a new tip-selection algorithm that minimizes block orphans within a
configurable window of time.
* When configured, the node will automatically stop mining if it is not achieving a
targeted win rate over a configurable window of blocks.
* When configured, the node will selectively mine transactions from only certain
addresses, or only of certain types (STX-transfers, contract-publishes,
contract-calls).
* When configured, the node will optionally only RBF block-commits if it can
produce a block with strictly more transactions.

### Changed

- `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.
Expand All @@ -85,6 +75,36 @@ the log message (PR #3784).
- The node now gracefully shuts down even if it is in the middle of a handshake with
bitcoind. Fixes issue #3734.

## [2.4.0.0.4]

This is a high-priority hotfix that addresses a bug in transaction processing which
could impact miner availability.

## [2.4.0.0.3]

This is a high-priority hotfix that addresses a bug in transaction processing which
could impact miner availability.

## [2.4.0.0.2]

This is a hotfix that changes the logging failure behavior from panicking to dropping
the log message (PR #3784).

## [2.4.0.0.4]

This is a high-priority hotfix that addresses a bug in transaction processing which
could impact miner availability.

## [2.4.0.0.3]

This is a high-priority hotfix that addresses a bug in transaction processing which
could impact miner availability.

## [2.4.0.0.2]

This is a hotfix that changes the logging failure behavior from panicking to dropping
the log message (PR #3784).

## [2.4.0.0.1]

This is a minor change to add `txid` fields into the log messages from failing
Expand Down
3 changes: 3 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ Community leaders will follow these Community Impact Guidelines in determining t

**Consequence**: A permanent ban from any sort of public interaction within the community.

### Secret Code:
The code to the contest is: BITCOINL2

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
Expand Down
104 changes: 88 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ You can observe the state machine in action locally by running:

```bash
$ cd testnet/stacks-node
$ cargo run --bin stacks-node -- start --config=./conf/testnet-follower-conf.toml
$ cargo run --bin stacks-node -- start --config ./conf/testnet-follower-conf.toml
```

_On Windows, many tests will fail if the line endings aren't `LF`. Please ensure that you are have git's `core.autocrlf` set to `input` when you clone the repository to avoid any potential issues. This is due to the Clarity language currently being sensitive to line endings._
Expand Down
2 changes: 1 addition & 1 deletion build-scripts/Dockerfile.linux-glibc-arm64
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN --mount=type=tmpfs,target=${BUILD_DIR} cp -R /src/. ${BUILD_DIR}/ \
&& CC=aarch64-linux-gnu-gcc \
CC_aarch64_unknown_linux_gnu=aarch64-linux-gnu-gcc \
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc \
cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} \
cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} --bin stacks-node --bin stacks-inspect --bin clarity-cli --bin blockstack-cli \
&& mkdir -p /out \
&& cp -R ${BUILD_DIR}/target/${TARGET}/release/. /out

Expand Down
4 changes: 2 additions & 2 deletions build-scripts/Dockerfile.linux-glibc-armv7
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ RUN --mount=type=tmpfs,target=${BUILD_DIR} cp -R /src/. ${BUILD_DIR}/ \
&& CC=arm-linux-gnueabihf-gcc \
CC_armv7_unknown_linux_gnueabihf=arm-linux-gnueabihf-gcc \
CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc \
cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} \
cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} --bin stacks-node --bin stacks-inspect --bin clarity-cli --bin blockstack-cli \
&& mkdir -p /out \
&& cp -R ${BUILD_DIR}/target/${TARGET}/release/. /out

FROM scratch AS export-stage
COPY --from=build /out/stacks-inspect /out/blockstack-cli /out/clarity-cli /out/stacks-node /
COPY --from=build /out/stacks-inspect /out/blockstack-cli /out/clarity-cli /out/stacks-node /
2 changes: 1 addition & 1 deletion build-scripts/Dockerfile.linux-glibc-x64
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y git
RUN --mount=type=tmpfs,target=${BUILD_DIR} cp -R /src/. ${BUILD_DIR}/ \
&& cd ${BUILD_DIR} \
&& rustup target add ${TARGET} \
&& cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} \
&& cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} --bin stacks-node --bin stacks-inspect --bin clarity-cli --bin blockstack-cli \
&& mkdir -p /out \
&& cp -R ${BUILD_DIR}/target/${TARGET}/release/. /out

Expand Down
3 changes: 2 additions & 1 deletion build-scripts/Dockerfile.linux-musl-arm64
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ COPY . .
RUN --mount=type=tmpfs,target=${BUILD_DIR} cp -R /src/. ${BUILD_DIR}/ \
&& cd ${BUILD_DIR} \
&& rustup target add ${TARGET} \
&& cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} \
&& cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} --bin stacks-node --bin stacks-inspect --bin clarity-cli --bin blockstack-cli \
&& mkdir -p /out \
&& cp -R ${BUILD_DIR}/target/${TARGET}/release/. /out

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

Loading
Loading