Skip to content

Commit

Permalink
Update CHANGES.md
Browse files Browse the repository at this point in the history
  • Loading branch information
limebell committed Feb 12, 2020
1 parent 44b4f3f commit 1a34671
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ To be released.

### Backward-incompatible API changes

- The existing `Swarm<T>.PreloadAsync(TimeSpan?, IProgress<PreloadState>,
IImmutableSet<Address>, EventHandler<PreloadBlockDownloadFailEventArgs>,
CancellationToken)` method has been replaced by
`Swarm<T>.PreloadAsync(TimeSpan?, IProgress<PreloadState>, IImmutableSet<Address>,
EventHandler<PreloadBlockDownloadFailEventArgs>, long, CancellationToken)`
method where `long`-typed `thickness` indicates thickness of recent states.
[[#790]]

### Backward-incompatible network protocol changes

- `BaseStore` class became to implement `IDisposable`. [[#789]]
Expand All @@ -20,9 +28,13 @@ To be released.
- Added `BlockHeader` struct. [[#785]]
- Added `IStore.GetBlockDigest(HashDigest<SHA256>)` method. [[#785]]
- Added `Block<T>.ToBlockDigest()` method. [[#785]]
- Added `IStore.PruneBlockStates<T>(Guid, Block<T>)` method. [[#790]]

### Behavioral changes

- `Swarm<T>.PreloadAsync()` became to prune states until its parameter
`thickness` if any trusted peers were given. [[#790]]

### Bug fixes

- `Swarm<T>` became not to sync the same `Block<T>`s or `Transaction<T>`s
Expand All @@ -34,6 +46,7 @@ To be released.
[#785]: https://github.com/planetarium/libplanet/pull/785
[#788]: https://github.com/planetarium/libplanet/pull/788
[#789]: https://github.com/planetarium/libplanet/pull/789
[#790]: https://github.com/planetarium/libplanet/pull/790


Version 0.8.0
Expand Down

0 comments on commit 1a34671

Please sign in to comment.