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 c171775 commit a888016
Show file tree
Hide file tree
Showing 3 changed files with 97 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

- Refactored code due to the fact that block forging credentials got extracted out of
`ProtocolInfo` type.

### Breaking

- Change numerous functions return type to include block forging credentials since
they got extracted out of `ProtocolInfo` type.
- Refactored 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

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

- Adds block forging credentials to `TestNodeInitialization`

- Changes 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.

- Added `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,38 @@
<!--
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

- `addBlockRunner` now if interrupted, will notify all blocked threads.

- Added `closeBlocksToAdd` function

### Breaking

- Removed the `pInfoBlockForging` record field from the `ProtocolInfo` type.
- Refactor code to accommodate the extraction of `pInfoBlockForging` record field from the
`ProtocolInfo` type.
- In these cases a new function containing the data was added (and exported).

- `ProtocolInfo` no longer needs the monad parameter.
- Refactor code to accommodate the fact that `ProtocolInfo` no longer needs the 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.
- Refactor code to accommodate this change

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

0 comments on commit a888016

Please sign in to comment.