Skip to content

Commit

Permalink
Update CHANGES.md
Browse files Browse the repository at this point in the history
  • Loading branch information
limebell committed Aug 13, 2019
1 parent ff9c258 commit 64b3ecc
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions CHANGES.md
Expand Up @@ -12,6 +12,10 @@ To be released.
- `StoreExtension.LookupStateReference<T>()` method became to return
`Tuple<HashDigest<SHA256>, long>` which is a nullable tuple of `Block<T>.Hash`
and `Block<T>.Index`. [[#350]]

- `Swarm<T>.AddPeersAsync()` method became internal method. To connect with
seed peers, use `Swarm<T>.BootstrapAsync()` method instead. [[#353]]

- Added `IBlockPolicy<T>.BlockAction` property. [[#319], [#367]]
- Removed the type parameter of `ActionEvaluation`. [[#319], [#367]]
- `ActionEvaluation.Action` became to `IAction` type. [[#319], [#367]]
Expand Down Expand Up @@ -42,6 +46,12 @@ To be released.
- Added `StoreExtension.ListAllStateReferences(this IStore, string,
HashDigest<SHA256>?, HashDigest<SHA256>?)` extension method.
[[#363], [#384], [#385]]

- Added `Swarm<T>.BootstrapAsync()` method to connect with seed peers. [[#353]]

- Added `StoreExtension.ListAllStateReferences(this IStore, string)` extension
method. [[#363]]

- `Address` class became to implement `IComparable<Address>` and
`IComparable` interfaces. [[#363]]
- Added `BlockChain<T>.BlockHashes` property. [[#389]]
Expand All @@ -55,11 +65,22 @@ To be released.

- `BlockChain<T>.PreloadAsync()` method became to omit rendering of
`IAction`s in the preloaded behind blocks. [[#272], [#343]]

- `Swarm<T>` became to have two more message types: `GetRecentStates` (`0x0b`)
and `RecentStates` (`0x0c`). [[#272], [#343]]

- Peers now connected via Kademlia protocol. Peers are now selectively connected to
each peer. [[#353]]

- TxIds and Blocks are now broadcasted to selected peers from routing table of the host
peer. [[#353]]

- `NetMQPoller` is not used anymore. [[#353]]

- `BlockChain<T>.MineBlock()` and `BlockChain<T>.GetNextTxNonce()` methods
became to ignore transactions that didn't follow `Transaction<T>.Nonce`
sequentially and treat them as pendings. [[#365]]

- `BlockChain<T>` became to evaluate `IBlockPolicy<T>.BlockAction` and set the
state when a block is appended to the chain. [[#319], [#367]]
- `BlockSet<T>.ContainsKey()` and `TransactionSet<T>.ContainsKey()` methods
Expand Down Expand Up @@ -108,6 +129,7 @@ To be released.
[#319]: https://github.com/planetarium/libplanet/issues/319
[#343]: https://github.com/planetarium/libplanet/pull/343
[#350]: https://github.com/planetarium/libplanet/pull/350
[#353]: https://github.com/planetarium/libplanet/pull/353
[#363]: https://github.com/planetarium/libplanet/pull/363
[#365]: https://github.com/planetarium/libplanet/pull/365
[#366]: https://github.com/planetarium/libplanet/pull/366
Expand Down

0 comments on commit 64b3ecc

Please sign in to comment.