Skip to content

Releases: nknorg/nkn-sdk-go

v1.3.8

25 Jan 08:59
Compare
Choose a tag to compare
  • Add github.com/nknorg/nkngomobile for gomobile

v1.3.7

24 Nov 09:13
Compare
Choose a tag to compare
  • Breaking change: add subscriberHashPrefix argument to getsubscribers[count] api
  • Breaking change: Add nanopay claimer linger parameter
  • Modify StringArray method ElemsString to Join
  • Add a StringArray method to wrapper type for gomobile compatibility
  • Handle the config when seed rpc addr is not nil but zero len
  • Fix MultiClient msgCache cleanupInterval on create
  • Fix client responseChannels cleanupInterval on create

v1.3.6

17 Apr 05:24
Compare
Choose a tag to compare
  • Remove SendRawTransaction concurrency in multiclient
  • Add MeasureSeedRPCServer
  • Add context version of MeasureSeedRPCServer function
  • Client will only use current node as rpc node if it's persist finished

v1.3.5

17 Feb 02:26
Compare
Choose a tag to compare
  • Add rpc timeout to config
  • Will try all seed nodes if rpc request fails
  • Add minFlushAmount parameter to nanopay claimer
  • Add RPC prefix to all RPCConfigInterface methods to avoid gomobile compile error
  • Add rpc concurrency config for concurrent rpc call
  • Add GetNodeState rpc api
  • Add make mobile sdk in Makefile
  • Add context version of every rpc call
  • Fix nanopayclaimer onError not closed

v1.3.4

11 Jan 02:38
Compare
Choose a tag to compare
  • Fix NanoPay amount valid check when account balance insufficient
  • Add default go test in makefile to prevent travis build failure
  • Will not return error is destination is empty

v1.3.3

17 Oct 00:11
Compare
Choose a tag to compare
  • Add NextWithTimeout method in OnMessage
  • Switch to new nkn version and official pb to reduce memory usage

v1.3.2

21 Aug 07:23
Compare
Choose a tag to compare

Wallet will lazy compute scrypt data to greatly reduce client ram usage

v1.3.1

06 Aug 22:52
Compare
Choose a tag to compare
  • Fix potential panic on close session have errors
  • NanoPay will use last height if get height failed

v1.3.0

06 Jul 03:29
Compare
Choose a tag to compare
  • Upgrade to nkn v2 imports
  • Explicitly init nanopay with random id
  • Nanopay claim will do first claim after claim interval instead of immediate
  • Change default seed node to seed.nkn.org
  • Client will be closed if created after multiclient closed

v1.2.9

12 Jun 05:34
Compare
Choose a tag to compare
  • Expose Reconnect method to both client and multiclient
  • Add Account() method to client/multiclient/wallet
  • Flush before closing nanopay claimer