Skip to content

Libplanet 5.3.0-alpha.3

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 06 Sep 07:22
· 8 commits to main since this release
3731ca4

To be released.

Deprecated APIs

Backward-incompatible API changes

  • Removed threshold parameter from BlockChain.GetBlockLocator(). [#3913]
  • (Libplanet.Net) Removed SwarmOptions.BranchpointThreshold property. [#3913]
  • (Libplanet.Store) Removed unused HashNode.Serialize() method. [#3922, #3924]
  • (Libplanet.Net) Removed Header property and added BlockExcerpt property to BlockDemand. [#3934]
  • Removed BlockLocator.Create(). [#3942]
  • Changed BlockLocator() to take a single BlockHash. [#3942]
  • Changed BlockLocator() to no longer implemnet IEnumerable<BlockHash>. [#3942]
  • (Libplanet.Net) Changed BlockHashDownloadState and BlockDownloadState to be Obsolete. [#3943]
  • Removed Fork() method from BlockChain. [#3948]
  • Changed the return type for BlockChain.FindNextHashes() to IReadOnlyList<BlockHash>. [#3949]

Backward-incompatible network protocol changes

  • (Libplanet.Net) Changed the encoding for GetBlockHashesMsg and BlockHashesMsg. [#3949]

Backward-incompatible storage format changes

Added APIs

Behavioral changes

  • Changed BlockChain.FindBranchPoint() to only check for the first BlockHash in a given BlockLocator. [#3913]
  • (Libplanet.Store) Optimized HashNode.ToBencodex() method. [#3922, #3924]
  • (Libplanet.Store) Optimized internal conversions to KeyBytes. [#3926]
  • (Libplanet.Net) Changed to no longer report BlockHashDownloadState and BlockDownloadState during preloading. It is strongly advised not to rely on these to track the progress of preloading. [#3943]

Bug fixes

Dependencies

CLI tools