Skip to content

Commit

Permalink
Added Changelog entries
Browse files Browse the repository at this point in the history
  • Loading branch information
bolt12 committed Jun 22, 2023
1 parent 7685788 commit 85a2441
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!--
A new scriv changelog fragment.
Uncomment the section that is right (remove the HTML comment wrapper).
-->

<!--
### Patch
- A bullet item for the Patch category.
-->

### Non-Breaking

- Refactor code because block forging credentials got extracted out of
`ProtocolInfo` type.

### Breaking

- Change the return type of numerous functions to include block forging credentials since
they got extracted out of `ProtocolInfo` type.
- Refactor the type signatures to accommodate the fact that `ProtocolInfo` does not
need monad type variable.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!--
A new scriv changelog fragment.
Uncomment the section that is right (remove the HTML comment wrapper).
-->

<!--
### Patch
- A bullet item for the Patch category.
-->

### Non-Breaking

- Change how diffusion initializes block forging credentials: now there's a `TMVar` that
monitors so we can enable/disable block forging dynamically.
- There's also a `blockForgingController` that keeps an eye at this `TMVar`.

- Adds new trace `TraceAdoptionThreadDied SlotNo blk` to `TraceForgeEvent`

### Breaking

- Add a new argument to `RekeyM` type, due to the extraction of the block forging
credentials over at `ouroboros-consensus`.
- Refactor to accommodate this change

- Add block forging credentials to `TestNodeInitialization`

- Change the type signature of most functions to receive the block forging credentials as
an argument, since it now doesn't come in the usual bundle.

- Add `setBlockForging` to `NodeKernel` which must be used to set / control
block forging of the consensus layer.

Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!--
A new scriv changelog fragment.
Uncomment the section that is right (remove the HTML comment wrapper).
-->

<!--
### Patch
- A bullet item for the Patch category.
-->
### Non-Breaking

- Change the behaviour of `addBlockRunner` so that it notifies all blocked threads if interrupted.

- Add `closeBlocksToAdd` function

### Breaking

- Remove the `pInfoBlockForging` record field from the `ProtocolInfo` type.

- Remove `ProtocolInfo` monad parameter

- Change `AddBlockPromise` API
- `blockProcessed` now wraps the return value in a new `Processed` type. This is needed
for improving the async exception safety.

- Change `BlockToAdd` API
- `varBlockProcessed` now wraps the return value in a new `Processed` type. This is needed
for improving the async exception safety.

0 comments on commit 85a2441

Please sign in to comment.