Skip to content

Release 2.0.11.2.0 #2793

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 191 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
191 commits
Select commit Hold shift + click to select a range
74ced26
feat: add lcov compatible coverage reporting to clarity-cli
kantai Apr 16, 2021
2b6fc63
make lcov output configurable
kantai Apr 21, 2021
46b87f7
chore: cleanup/refactor miner tenure information gathering
kantai May 4, 2021
092e184
chore: updates for latest bitcoind
kantai May 5, 2021
07671c2
typo
kantai May 6, 2021
14c3ede
fix: ensure microblocks mined by the node itself are emitted to the e…
zone117x May 13, 2021
5dd4172
feat: emit microblock header hash to event observer, required for mic…
zone117x May 13, 2021
a37debc
feat: include microblock parent hash in /new_microblocks event paylaod
zone117x May 14, 2021
0da6ba0
test: added test to ensure microblock hashes were properly added to t…
pavitthrap May 19, 2021
7022cf9
fix: #2668 microblock data missing from event emitter while syncing
zone117x May 21, 2021
bce80ca
Added prev burn block stats to the new_block event
pavitthrap May 21, 2021
955cffc
Merge branch 'fix/microblocks-miner-emit' of https://github.com/block…
pavitthrap May 21, 2021
10f4fec
Added burn block stats for new_microblock event; refactored variable …
pavitthrap May 24, 2021
94361b3
Switched using to using for all the burn block stats, handled getti…
pavitthrap May 25, 2021
746ddfc
Merge branch 'develop' into feat/miner-control
kantai May 26, 2021
21e278a
Add some string-ascii and string-utf8 types to the docs
May 27, 2021
c6a4662
ran format
May 28, 2021
6652849
Changed panic! to warn! statement
pavitthrap Jun 1, 2021
530570d
feat: add output_serialized to clarity-cli
hstove Jun 1, 2021
990f577
Merge branch 'master' into fix/string-docs
Jun 2, 2021
2d8bb96
added some additional examples
Jun 2, 2021
e3636e8
added all the different examples
Jun 2, 2021
afdd1bb
added concat example
Jun 2, 2021
0326386
Merge branch 'develop' into feat/clar-coverage
kantai Jun 3, 2021
23530c9
Merge remote-tracking branch 'origin/develop' into feat/clar-coverage
kantai Jun 3, 2021
bfaa9da
Merge branch 'develop' into fix/microblocks-miner-emit
pavitthrap Jun 3, 2021
d6c6d66
Merge branch 'develop' into feat/miner-control
kantai Jun 3, 2021
30530b6
feat: make eval_all function public (#2689)
reedrosenbluth Jun 4, 2021
6af9ac0
Merge branch 'develop' into feat/clarity-cli-serialized-output
pavitthrap Jun 4, 2021
b923c0c
Merge branch 'develop' into feat/miner-control
kantai Jun 4, 2021
c40a15f
Merge pull request #2647 from blockstack/feat/miner-control
kantai Jun 4, 2021
8527928
running format
Jun 4, 2021
9913e4a
Addressed comments.
Jun 4, 2021
3f6e90a
Addressed failing tests
Jun 4, 2021
5063aaf
Use a virtual type 'sequence' to condense complicated disjoined types
Jun 7, 2021
6a81b0d
Ran 'cargo fmt'
Jun 7, 2021
96e9e75
Fixed some signatures
Jun 7, 2021
f1a2546
Fixed one more signature
Jun 7, 2021
296cd72
Re-worked the types and signatures
Jun 7, 2021
9621e09
Merge branch 'develop' into fix/microblocks-miner-emit
pavitthrap Jun 8, 2021
ba9ed6e
fix: #2644 reorder UTXO staleness and RBF-limit check
kantai Jun 8, 2021
f490959
Addressing comments by @pavitthrap
Jun 8, 2021
9dce281
Fixes build warnings for 'cargo build' in 'develop' branch
Jun 9, 2021
e4356a3
Merge branch 'develop' into feat/clarity-cli-serialized-output
jcnelson Jun 9, 2021
d0ca6ab
Merge branch 'develop' into feat/clar-coverage
kantai Jun 9, 2021
f60f0c8
Added new-microblocks event to event dispatcher docs
pavitthrap Jun 9, 2021
270a697
Merge pull request #2592 from blockstack/feat/clar-coverage
kantai Jun 14, 2021
9b0078e
Merge branch 'develop' into feat/clarity-cli-serialized-output
jcnelson Jun 14, 2021
836ea70
Merge branch 'develop' into fix/string-docs
jcnelson Jun 14, 2021
865d956
Merge branch 'develop' into fix/2644-rbf-check
jcnelson Jun 14, 2021
b076b8c
chore: remove tini dependency
kantai Jun 14, 2021
4984611
Fixed a vm:docs test case
Jun 14, 2021
f24da4b
Fixed some typos
Jun 14, 2021
66ba215
Merge branch 'fix/string-docs' of github.com:blockstack/stacks-blockc…
Jun 14, 2021
662fca9
removed some files that aren't in 'develop'
Jun 14, 2021
1030b75
Trying to rever CHANGELOG.md
Jun 14, 2021
ab21f2a
Reverting files to the 'develop' branch versions
Jun 14, 2021
06d7274
fix: logic bug in mocknet/helium miner #2710
kantai Jun 14, 2021
cc0ba62
Merge pull request #2694 from blockstack/fix/2644-rbf-check
kantai Jun 14, 2021
a1ca772
Merge branch 'develop' into chore/remove-tini
kantai Jun 14, 2021
c2ade99
Merge branch 'develop' into fix/microblocks-miner-emit
kantai Jun 14, 2021
f4ce327
Merge branch 'develop' into feat/clarity-cli-serialized-output
kantai Jun 14, 2021
1efb4a9
Removed a TODO, the question it relates to is now in issue #2712
pavitthrap Jun 14, 2021
52c96dc
Merge branch 'develop' into fix/2710-mocknet
pavitthrap Jun 14, 2021
9ca70dc
Merge pull request #2653 from blockstack/fix/microblocks-miner-emit
pavitthrap Jun 14, 2021
5929f3f
Merge branch 'develop' into fix/string-docs
pavitthrap Jun 14, 2021
105cf37
Removed a trailing space character.
Jun 14, 2021
d7ea477
Merge branch 'develop' into chore/remove-tini
kantai Jun 14, 2021
b86576c
Merge pull request #2676 from blockstack/fix/string-docs
gregorycoppola Jun 14, 2021
e84e9bf
Merge branch 'develop' into fix/rust-warnings2
gregorycoppola Jun 14, 2021
3db274c
Merge branch 'develop' into chore/remove-tini
jcnelson Jun 15, 2021
f14d11e
Merge pull request #2709 from blockstack/chore/remove-tini
kantai Jun 15, 2021
5167546
Merge branch 'develop' into fix/2710-mocknet
kantai Jun 15, 2021
d8b1c97
chore: try to speed up some integration tests
kantai Jun 15, 2021
02ecae6
Merge pull request #2711 from blockstack/fix/2710-mocknet
kantai Jun 15, 2021
16a2052
chore: remove infinite loop in microblock_integration test
kantai Jun 16, 2021
de6f2be
Merge branch 'develop' into fix/rust-warnings2
gregorycoppola Jun 16, 2021
2117fe7
test: use wait_for_microblocks rather than a wait_ms
kantai Jun 16, 2021
2efe18b
Merge branch 'develop' into feat/clarity-cli-serialized-output
reedrosenbluth Jun 16, 2021
1811586
dont assert microblocks bumped -- it could have been bumped before th…
kantai Jun 16, 2021
ab54c4c
test: wait for microblock to be processed before fetching /v2/info, u…
kantai Jun 16, 2021
9aab4e3
test: oops, flip equality in /v2/info loop
kantai Jun 16, 2021
413d865
Merge branch 'develop' into chore/integration-tests
kantai Jun 16, 2021
5773665
Merge pull request #2684 from blockstack/feat/clarity-cli-serialized-…
jcnelson Jun 18, 2021
5d6cfd9
Merge branch 'develop' into fix/rust-warnings2
jcnelson Jun 18, 2021
e197cb9
Merge branch 'develop' into chore/integration-tests
jcnelson Jun 18, 2021
3782578
Merge pull request #2715 from blockstack/chore/integration-tests
kantai Jun 18, 2021
84f13f2
Merge branch 'develop' into fix/rust-warnings2
kantai Jun 18, 2021
5e82ded
docs: adding release process to README.md
kantai Jun 21, 2021
abb23d2
docs: add info on creating release candidate, and Hiro testing envs
CharlieC3 Jun 21, 2021
d183315
Merge pull request #2702 from blockstack/fix/rust-warnings2
gregorycoppola Jun 21, 2021
682148a
chore: genesis accounts key rotation
lgalabru Jun 28, 2021
e402535
chore: update magic bytes (X6 to T2)
lgalabru Jun 28, 2021
61ab6e8
chore: update POX constants
lgalabru Jun 28, 2021
51d915c
chore: update genesis anchoring (block #2000000)
lgalabru Jun 28, 2021
5051f78
chore: update testnet command
lgalabru Jun 28, 2021
3fef6de
fix: address regressions
lgalabru Jun 28, 2021
2aa17cc
chore: cargo fmt
lgalabru Jun 28, 2021
ba24e7d
chore: update readme
lgalabru Jun 28, 2021
6743190
fix: addressing regression in integration test
lgalabru Jun 28, 2021
dce90da
fix: silence non-fmt panic warnings
jcnelson Jun 28, 2021
fe5a741
fix: remove potentiall runtime panic that can arise when a sortition …
jcnelson Jun 28, 2021
dd32d3c
fix: disable non-fmt panic warnings
jcnelson Jun 28, 2021
e1343d2
fix: disable non-fmt panic warnings
jcnelson Jun 28, 2021
1d9d61d
refactor: use PeerNetwork::with_http() to expose the underlying HttpPeer
jcnelson Jun 28, 2021
316a13a
fix: when loading block headers, if we encounter an InvalidPoxSortiti…
jcnelson Jun 28, 2021
1022227
feat: query the list of bootstrap nodes distinct from always-allowed …
jcnelson Jun 28, 2021
2d97365
fix: address #2730 by considering whether or not we are in the IBD ph…
jcnelson Jun 28, 2021
6203370
fix: address #2728 by only rescanning a neighbor's inventory from jus…
jcnelson Jun 28, 2021
0624e53
fix: address #2719 by introducing a Transient(..) error type which in…
jcnelson Jun 28, 2021
8a4aed3
refactor: make the HTTP peer an Optional<..> so the PeerNetwork insta…
jcnelson Jun 28, 2021
9be7dfa
refactor: use new test API for adding peers
jcnelson Jun 28, 2021
2bae344
fix: take a PeerNetwork as an argument for handling requests, and add…
jcnelson Jun 28, 2021
08594fa
refactor: take a PeerNetwork instance as an argument instead of a hod…
jcnelson Jun 28, 2021
0f26551
fix: address #2701 by catching Transient(..) errors and simply loggin…
jcnelson Jun 28, 2021
c95bbbf
fix: address #2713 by starting processing from the first burnchain bl…
jcnelson Jun 28, 2021
80151e9
refactor: use latest rust-ism for spin loops
jcnelson Jun 28, 2021
62703d4
fix: fix compiler errors in unit tests
jcnelson Jun 29, 2021
b16e06f
fix: more compile-time errors
jcnelson Jun 29, 2021
c6da0ca
Merge branch 'develop' into feat/doc-release-process
kantai Jun 29, 2021
2279149
docs: address PR feedback
kantai Jun 29, 2021
8161a74
Merge branch 'feat/doc-release-process' of github.com:blockstack/stac…
kantai Jun 29, 2021
473da85
fix: update the cached burnchain view *before* servicing HTTP request…
jcnelson Jun 29, 2021
f2ed329
Update README.md
kantai Jun 29, 2021
aed42aa
Update README.md
kantai Jun 29, 2021
17621c8
Update README.md
kantai Jun 29, 2021
e3ad0c8
docs: add optionality on when to open develop->master PR
kantai Jun 30, 2021
262bd0d
fix: sync one more blocks inventory on PoX disagreement so we don't s…
jcnelson Jun 30, 2021
f0dea00
fix: refresh cached sortition state before doing anything else in the…
jcnelson Jun 30, 2021
c73b2df
Merge branch 'master' into fix/2725
jcnelson Jun 30, 2021
4bfdb89
fix: mask net_error::Transient in the p2p state machine so we don't a…
jcnelson Jun 30, 2021
882a914
fix: always panic on network error, now that the network masks transi…
jcnelson Jun 30, 2021
2a1e8f5
fix: re-enable non_fmt_panic lint
jcnelson Jun 30, 2021
c2784f3
style: make bufflength instance variable private
kantai Jul 1, 2021
5a25d2e
Merge pull request #2757 from blockstack/chore/bufflen-code-quality
kantai Jul 1, 2021
e0ae8f9
fix: only set the block/microblock start sortition if the downloader …
jcnelson Jul 2, 2021
82553af
fix: when starting a block inventory scan from a remote bootstrap pee…
jcnelson Jul 2, 2021
a3aac0d
fix: when starting a downloader pass, start from the sortition height…
jcnelson Jul 2, 2021
3f72854
chore: address feedbacks
lgalabru Jul 2, 2021
56c9970
fix: use constant
lgalabru Jul 2, 2021
7690fe7
Merge branch 'develop' into chore/reset-testnet
lgalabru Jul 2, 2021
c29b692
Merge branch 'develop' into fix/2725
jcnelson Jul 2, 2021
7b151c0
Merge pull request #2742 from blockstack/chore/reset-testnet
lgalabru Jul 2, 2021
344fdc6
chore: fix all warns in `cargo check --tests --workspace`
kantai Jul 6, 2021
af2e77d
Merge branch 'develop' into feat/doc-release-process
kantai Jul 6, 2021
ebe2a51
Merge branch 'develop' into fix/2725
jcnelson Jul 6, 2021
3e2da2d
Merge pull request #2746 from blockstack/fix/2725
jcnelson Jul 6, 2021
5665b0c
Merge branch 'develop' into chore/test-warns
kantai Jul 6, 2021
dd6e515
Merge branch 'develop' into feat/doc-release-process
kantai Jul 6, 2021
7b6d3ee
Merge pull request #2726 from blockstack/feat/doc-release-process
kantai Jul 6, 2021
c60169a
Merge branch 'develop' into chore/test-warns
kantai Jul 6, 2021
93a7c39
chore: simplify fmt/asserts
kantai Jul 6, 2021
ce0b8fb
Merge pull request #2758 from blockstack/chore/test-warns
kantai Jul 7, 2021
d1ec4e6
Add Changelog for 2.0.11.2.0 (#2760)
gregorycoppola Jul 7, 2021
37eaa02
fix: issue 2771
lgalabru Jul 16, 2021
9742299
fix: tests::neon_integrations::bitcoind_forking_test
lgalabru Jul 16, 2021
e611546
fix: move log
lgalabru Jul 16, 2021
3dd875b
fix: move comment
lgalabru Jul 16, 2021
9390b29
feat(docs): Add to "Non-Consensus Breaking Release Process" (#2766)
gregorycoppola Jul 19, 2021
06d13f8
fix: test + patch
lgalabru Jul 20, 2021
9c7c2e8
chore: cargo fmt
lgalabru Jul 20, 2021
87b46f8
fix: edge case
lgalabru Jul 20, 2021
5343c9c
fix: restore timeout
lgalabru Jul 20, 2021
d25b0b2
Merge branch 'develop' into fix/2771
lgalabru Jul 20, 2021
17456cf
chore: add comments
lgalabru Jul 20, 2021
70c312c
Merge branch 'fix/2771' of github.com:blockstack/stacks-blockchain in…
lgalabru Jul 20, 2021
f3cfccc
fix: revert patch
lgalabru Jul 20, 2021
1df0457
chore: cargo fmt
lgalabru Jul 20, 2021
62404d7
Update testnet/stacks-node/src/tests/neon_integrations.rs
lgalabru Jul 20, 2021
af918d7
Update testnet/stacks-node/src/tests/neon_integrations.rs
lgalabru Jul 20, 2021
b314f23
Update testnet/stacks-node/src/tests/neon_integrations.rs
lgalabru Jul 20, 2021
954c707
fix: bitcoind_forking_test assertions added
lgalabru Jul 20, 2021
2bdb7e6
Merge branch 'fix/2771' of github.com:blockstack/stacks-blockchain in…
lgalabru Jul 20, 2021
d2cdefb
fix: bitcoind_forking_test assertions added
lgalabru Jul 20, 2021
5598649
Update src/burnchains/burnchain.rs
lgalabru Jul 20, 2021
d18b0fb
Merge pull request #2773 from blockstack/fix/2771
lgalabru Jul 21, 2021
7d7479b
fix: only consider target block if relevant
lgalabru Jul 26, 2021
e9f01fd
chore: cargo fmt
lgalabru Jul 26, 2021
b510e02
chore: add log when ignoring target
lgalabru Jul 26, 2021
f67eaeb
Update src/burnchains/burnchain.rs
lgalabru Jul 27, 2021
7ceec25
Update src/burnchains/burnchain.rs
lgalabru Jul 27, 2021
56c776d
fix: log
lgalabru Jul 27, 2021
d520e83
Merge branch 'fix/graceful-restart' of github.com:blockstack/stacks-b…
lgalabru Jul 27, 2021
5a4a392
Merge branch 'develop' into fix/graceful-restart
lgalabru Jul 28, 2021
53fb9fd
Merge pull request #2780 from blockstack/fix/graceful-restart
lgalabru Jul 29, 2021
ea31eee
fix: switched all occurrences of max_value/min_value to MAX/MIN becau…
pavitthrap Jul 29, 2021
1e13b09
feat(Changelog) Add some PR's that got missed for 2.0.11.2.0 (#2789)
gregorycoppola Jul 29, 2021
f249908
Merge branch 'develop' into fix/max-value-deprecated
pavitthrap Jul 30, 2021
1eb35a6
Merge pull request #2788 from blockstack/fix/max-value-deprecated
pavitthrap Jul 30, 2021
de13f70
Add Ludo's bug fixes to the changelog
gregorycoppola Jul 30, 2021
946d34d
Merge branch 'master' into release/2.0.11.2.0
gregorycoppola Jul 30, 2021
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
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::bitcoind_
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::liquid_ustx_integration
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::stx_transfer_btc_integration_test
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::bitcoind_forking_test
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::should_fix_2771
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::pox_integration_test
RUN cargo test -- --test-threads 1 --ignored tests::bitcoin_regtest::bitcoind_integration_test
RUN cargo test -- --test-threads 1 --ignored tests::should_succeed_handling_malformed_and_valid_txs
Expand Down
42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,48 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to the versioning scheme outlined in the [README.md](README.md).

## [2.0.11.2.0]

NOTE: This change resets the `testnet`. Users running a testnet node will need
to reset their chain states.

### Added

- `clarity-cli` will now also print a serialized version of the resulting
output from `eval` and `execute` commands. This serialization is in
hexademical string format and supports integration with other tools. (#2684)
- The creation of a Bitcoin wallet with BTC version `> 0.19` is now supported
on a private testnet. (#2647)
- `lcov`-compatible coverage reporting has been added to `clarity-cli` for
Clarity contract testing. (#2592)
- The `README.md` file has new documentation about the release process. (#2726)

### Changed

- This change resets the testnet. (#2742)
- Caching has been added to speed up `/v2/info` responses. (#2746)

### Fixed

- PoX syncing will only look back to the reward cycle prior to divergence,
instead of looking back over all history. This will speed up running a
follower node. (#2746)
- The UTXO staleness check is re-ordered so that it occurs before the RBF-limit
check. This way, if stale UTXOs reached the "RBF limit" a miner will recover
by resetting the UTXO cache. (#2694)
- Microblock events were being sent to the event observer when microblock data
was received by a peer, but were not emitted if the node mined the
microblocks itself. This made something like the private-testnet setup
incapable of emitting microblock events. Microblock events are now sent
even when self-mined. (#2653)
- A bug is fixed in the mocknet/helium miner that would lead to a panic if a
burn block occurred without a sortition in it. (#2711)
- A bug that caused problems syncing during a bitcoin reorg has been fixed
(#2771).
- Syncing with the burnchain has been improved (#2780).
- Documentation is fixed in cases where string and buffer types are allowed
but not covered in the documentation. (#2676)

## [2.0.11.1.0]

This software update is our monthly release. It introduces fixes and features for both developers and miners.
Expand Down
7 changes: 0 additions & 7 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ name = "block_limits"
harness = false

[dependencies]
tini = "0.2"
rand = "=0.7.2"
rand_chacha = "=0.2.2"
serde = "1"
Expand Down
87 changes: 86 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ cargo run --bin blockstack-cli publish b8d99fd45da58038d630d9855d3ca2466e8e0f89d
You can observe the state machine in action locally by running:

```bash
cargo testnet start --config=./testnet/stacks-node/conf/testnet-follower-conf.toml
cargo stacks-node start --config=./testnet/stacks-node/conf/testnet-follower-conf.toml
```

`testnet-follower-conf.toml` is a configuration file that you can use for setting genesis balances or configuring Event observers. You can grant an address an initial account balance by adding the following entries:
Expand Down Expand Up @@ -317,6 +317,91 @@ You can automatically reformat your commit via:
cargo fmt --all
```

## Non-Consensus Breaking Release Process

For non-consensus breaking releases, this project uses the following release process:

1. The release must be timed so that it does not interfere with a *prepare
phase*. The timing of the next Stacking cycle can be found
[here](https://stacking.club/cycles/next). A release to `mainnet` should happen
at least 24 hours before the start of a new cycle, to avoid interfering
with the prepare phase. So, start by being aware of when the release can
happen.

1. Before creating the release, the release manager must determine the *version
number* for this release. The factors that determine the version number are
discussed in [Versioning](#versioning). We assume, in this section,
that the change is not consensus-breaking. So, the release manager must first
determine whether there are any "non-consensus-breaking changes that require a
fresh chainstate". This means, in other words, that the database schema has
changed. Then, the release manager should determine whether this is a feature
release, as opposed to a hot fix or a patch. Given the answers to these
questions, the version number can be computed.

1. The release manager enumerates the PRs or issues that would _block_
the release. A label should be applied to each such issue/PR as
`2.0.x.y.z-blocker`. The release manager should ping these
issue/PR owners for updates on whether or not those issues/PRs have
any blockers or are waiting on feedback.

1. The release manager should open a `develop -> master` PR. This can be done before
all the blocker PRs have merged, as it is helpful for the manager and others
to see the staged changes.

1. The release manager must update the `CHANGELOG.md` file with summaries what
was `Added`, `Changed`, and `Fixed`. The pull requests merged into `develop`
can be found
[here](https://github.com/blockstack/stacks-blockchain/pulls?q=is%3Apr+is%3Aclosed+base%3Adevelop+sort%3Aupdated-desc). Note, however, that GitHub apparently does not allow sorting by
*merge time*, so, when sorting by some proxy criterion, some care should
be used to understand which PR's were *merged* after the last `develop ->
master` release PR. This `CHANGELOG.md` should also be used as the description
of the `develop -> master` so that it acts as *release notes* when the branch
is tagged.

1. Once the blocker PRs have merged, the release manager will create a new tag
by manually triggering the [`stacks-blockchain` Github Actions workflow](https://github.com/blockstack/stacks-blockchain/actions/workflows/stacks-blockchain.yml)
against the `develop` branch, inputting the release candidate tag, `2.0.x.y.z-rc0`,
in the Action's input textbox.

1. Once the release candidate has been built, and docker images, etc. are available,
the release manager will notify various ecosystem participants to test the release
candidate on various staging infrastructure:

1. Stacks Foundation staging environments.
1. Hiro PBC regtest network.
1. Hiro PBC testnet network.
1. Hiro PBC mainnet mock miner.

The release candidate should be announced in the `#stacks-core-devs` channel in the
Stacks Discord. For coordinating rollouts on specific infrastructure, the release
manager should contact the above participants directly either through e-mail or
Discord DM. The release manager should also confirm that the built release on the
[Github releases](https://github.com/blockstack/stacks-blockchain/releases/)
page is marked as `Pre-Release`.

1. The release manager will test that the release candidate successfully syncs with
the current chain from genesis both in testnet and mainnet. This requires starting
the release candidate with an empty chainstate and confirming that it synchronizes
with the current chain tip.

1. If bugs or issues emerge from the rollout on staging infrastructure, the release
will be delayed until those regressions are resolved. As regressions are resolved,
additional release candidates should be tagged. The release manager is responsible
for updating the `develop -> master` PR with information about the discovered issues,
even if other community members and developers may be addressing the discovered
issues.

1. Once the final release candidate has rolled out successfully without issue on the
above staging infrastructure, the release manager tags 2 additional `stacks-blockchain`
team members to review the `develop -> master` PR.

1. Once reviewed and approved, the release manager merges the PR, and tags the release
via the [`stacks-blockchain` Github action]((https://github.com/blockstack/stacks-blockchain/actions/workflows/stacks-blockchain.yml))
by clicking "Run workflow" and providing the release version as the tag (e.g.,
`2.0.11.1.0`) This creates a release and release images. Once the release has been
created, the release manager should update the Github release text with the
`CHANGELOG.md` "top-matter" for the release.

## Copyright and License

The code and documentation copyright are attributed to blockstack.org for the year of 2020.
Expand Down
16 changes: 8 additions & 8 deletions deployment/helm/stacks-blockchain/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,13 @@ config:
rpc_port: 18443
peer_port: 18444
ustx_balance:
- address: STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6
- address: ST2QKZ4FKHAH1NQKYKYAYZPY440FEPK7GZ1R5HBP2
amount: "10000000000000000"
- address: ST11NJTTKGVT6D1HY4NJRVQWMQM7TVAR091EJ8P2Y
- address: ST319CF5WV77KYR1H3GT0GZ7B8Q4AQPY42ETP1VPF
amount: "10000000000000000"
- address: ST1HB1T8WRNBYB0Y3T7WXZS38NKKPTBR3EG9EPJKR
- address: ST221Z6TDTC5E0BYR2V624Q2ST6R0Q71T78WTAX6H
amount: "10000000000000000"
- address: STRYYQQ9M8KAF4NS7WNZQYY59X93XEKR31JP64CP
- address: ST2TFVBMRPS5SSNP98DQKQ5JNB2B6NZM91C4K3P7B
amount: "10000000000000000"

## Uncommenting this block will give you greater control over the settings in the configmap
Expand All @@ -262,16 +262,16 @@ config:
# peer_port = 18444

# [[ustx_balance]]
# address = "STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6"
# address = "ST2QKZ4FKHAH1NQKYKYAYZPY440FEPK7GZ1R5HBP2"
# amount = 10000000000000000
# [[ustx_balance]]
# address = "ST11NJTTKGVT6D1HY4NJRVQWMQM7TVAR091EJ8P2Y"
# address = "ST319CF5WV77KYR1H3GT0GZ7B8Q4AQPY42ETP1VPF"
# amount = 10000000000000000
# [[ustx_balance]]
# address = "ST1HB1T8WRNBYB0Y3T7WXZS38NKKPTBR3EG9EPJKR"
# address = "ST221Z6TDTC5E0BYR2V624Q2ST6R0Q71T78WTAX6H"
# amount = 10000000000000000
# [[ustx_balance]]
# address = "STRYYQQ9M8KAF4NS7WNZQYY59X93XEKR31JP64CP"
# address = "ST2TFVBMRPS5SSNP98DQKQ5JNB2B6NZM91C4K3P7B"
# amount = 10000000000000000

## Annotations to be added to the Configmap
Expand Down
70 changes: 68 additions & 2 deletions docs/event-dispatcher.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ These events are sent to the configured endpoint at two URLs:
This payload includes data related to a newly processed block,
and any events emitted from Stacks transactions during the block.

If the transaction originally comes from the parent microblock stream
preceding this block, the microblock related fields will be filled in.

Example:

```json
Expand Down Expand Up @@ -58,15 +61,21 @@ Example:
"raw_tx": "0x808000000004008bc5147525b8f477f0bc4522a88c8339b2494db50000000000000002000000000000000001015814daf929d8700af344987681f44e913890a12e38550abe8e40f149ef5269f40f4008083a0f2e0ddf65dcd05ecfc151c7ff8a5308ad04c77c0e87b5aeadad31010200000000040000000000000000000000000000000000000000000000000000000000000000",
"status": "success",
"tx_index": 0,
"txid": "0x3e04ada5426332bfef446ba0a06d124aace4ade5c11840f541bf88e2e919faf6"
"txid": "0x3e04ada5426332bfef446ba0a06d124aace4ade5c11840f541bf88e2e919faf6",
"microblock_sequence": "None",
"microblock_hash": "None",
"microblock_parent_hash": "None"
},
{
"contract_abi": null,
"raw_result": "0x03",
"raw_tx": "0x80800000000400f942874ce525e87f21bbe8c121b12fac831d02f4000000000000000000000000000003e800006ae29867aec4b0e4f776bebdcea7f6d9a24eeff370c8c739defadfcbb52659b30736ad4af021e8fb741520a6c65da419fdec01989fdf0032fc1838f427a9a36102010000000000051ac2d519faccba2e435f3272ff042b89435fd160ff00000000000003e800000000000000000000000000000000000000000000000000000000000000000000",
"status": "success",
"tx_index": 1,
"txid": "0x738e4d44636023efa08374033428e44eca490582bd39a6e61f3b6cf749b4214c"
"txid": "0x738e4d44636023efa08374033428e44eca490582bd39a6e61f3b6cf749b4214c",
"microblock_sequence": "3",
"microblock_hash": "0x9304fcbcc6daf5ac3f264522e0df50eddb5be85df6ee8a9fc2384c54274daaac",
"microblock_parent_hash": "0x4893ab44636023efa08374033428e44eca490582bd39a6e61f3b6cf749b474bd"
}
],
"matured_miner_rewards": [
Expand Down Expand Up @@ -116,6 +125,63 @@ Example:
PoX commitments during this block. These addresses may not actually receive rewards during
this block if the block is faster than miners have an opportunity to commit.

### `POST /new_microblocks`

This payload includes data related to one or more microblocks that are either emmitted by the
node itself, or received through the network.

Example:

```json
{
"parent_index_block_hash": "0x999b38d44d6af72703a476dde4cea683ec965346d9e9a7ded2d773fb4f257a3b",
"events": [
{
"event_index": 1,
"committed": true,
"stx_transfer_event": {
"amount": "1000",
"recipient": "ST31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZZ239N96",
"sender": "ST3WM51TCWMJYGZS1QFMC28DH5YP86782YGR113C1"
},
"txid": "0x738e4d44636023efa08374033428e44eca490582bd39a6e61f3b6cf749b4214c",
"type": "stx_transfer_event"
}
],
"transactions": [
{
"contract_abi": null,
"raw_result": "0x03",
"raw_tx": "0x808000000004008bc5147525b8f477f0bc4522a88c8339b2494db50000000000000002000000000000000001015814daf929d8700af344987681f44e913890a12e38550abe8e40f149ef5269f40f4008083a0f2e0ddf65dcd05ecfc151c7ff8a5308ad04c77c0e87b5aeadad31010200000000040000000000000000000000000000000000000000000000000000000000000000",
"status": "success",
"tx_index": 0,
"txid": "0x3e04ada5426332bfef446ba0a06d124aace4ade5c11840f541bf88e2e919faf6",
"microblock_sequence": "3",
"microblock_hash": "0x9304fcbcc6daf5ac3f264522e0df50eddb5be85df6ee8a9fc2384c54274daaac",
"microblock_parent_hash": "0x4893ab44636023efa08374033428e44eca490582bd39a6e61f3b6cf749b474bd"
},
{
"contract_abi": null,
"raw_result": "0x03",
"raw_tx": "0x80800000000400f942874ce525e87f21bbe8c121b12fac831d02f4000000000000000000000000000003e800006ae29867aec4b0e4f776bebdcea7f6d9a24eeff370c8c739defadfcbb52659b30736ad4af021e8fb741520a6c65da419fdec01989fdf0032fc1838f427a9a36102010000000000051ac2d519faccba2e435f3272ff042b89435fd160ff00000000000003e800000000000000000000000000000000000000000000000000000000000000000000",
"status": "success",
"tx_index": 1,
"txid": "0x738e4d44636023efa08374033428e44eca490582bd39a6e61f3b6cf749b4214c",
"microblock_sequence": "4",
"microblock_hash": "0xfcd4fc34c6daf5ac3f264522e0df50eddb5be85df6ee8a9fc2384c5427459e43",
"microblock_parent_hash": "0x9304fcbcc6daf5ac3f264522e0df50eddb5be85df6ee8a9fc2384c54274daaac"
}
],
"burn_block_hash": "0x4eaabcd105865e471f697eff5dd5bd85d47ecb5a26a3379d74fae0ae87c40904",
"burn_block_height": 331,
"burn_block_timestamp": 1651301734
}
```

* `burn_block_{}` are the stats related to the burn block that is associated with the stacks
block that precedes this microblock stream.
* Each transaction json object includes information about the microblock the transaction was packaged into.

### `POST /new_mempool_tx`

This payload includes raw transactions newly received in the
Expand Down
Loading