github Synternet/synternet-chain-releases v0.5.4

latest releases: v0.19.1, v0.14.0, v0.11.0...
pre-release5 months ago

Release v0.5.4.

Notable changes:

This release introduces many breaking changes as well as a steady development of the Bridge module.

Changes made to the Service and Profile module are affecting UX in several ways.

In general, bugs were fixed, events added.

This release is designed to upgrade from v0.2.3(current version running in Testnet) to v0.5.4 while not breaking the deployment sequence in devnet.

Bridge module

Added messages:

  • Claim CToken
  • Deposit
  • Redeem Voucher
  • Refund Voucher
  • Request EToken
  • Set Token Expiration Time
  • Withdraw

Profile module

  • JWT Validation is now much stricter:
    • Publisher's JWT exports are only matched with Services they are publishing to
    • Subscriber’s JWT imports are only matched with Services they are subscribed to
    • Unmatched imports/exports are no longer allowed
  • UpdateJwt does not activate services anymore
    • This message should be used only after publisher removed/refunded/expired their service.
    • However, it is expected that users provide an updated JWT when they subscribe/unsubscribe next time.
  • ReduceCredit is renamed to ClaimCredit and includes Subscriber’s unused credit associated with all services they subscribed to
  • It is no longer possible to AddCredit for subscriber profiles
  • New queries to get Usable/Pending/Claimable Subscriber credit
    • Claimable credit for Brokers and Publishers is available credit minus respective CreditThreshold

Service module

  • Subscribe / Unsubscribe now requires an updated JWT. No need to send UpdateJwt message
  • Retrieve, Remove, and InstantRefund now also require an updated Publisher’s JWT
  • Publish requires an updated JWT when publishing to existing Service
  • Users must use Publish on an Offer in order to activate it
    • Previously users had to call UpdateJwt instead
  • SubscriberInfo is being deprecated
    • To get Subscriber’s total credit use Profile.GetUsableCredit, Profile.GetPendingCredit, Profile.GetClaimableCredit
    • To get Specific Subscriber’s credit for specific Service, use respective queries, but in Service module

Billing module

TrivialPayout message now uses not only active subscription, but also pending credit by unsubscribed subscriber. This way it is no longer possible to subscribe, consume data and unsubscribe without paying before brokers are able to issue TrivialPayout.

Don't miss a new synternet-chain-releases release

NewReleases is sending notifications on new releases.