Releases: nknorg/nkn-sdk-go
Releases · nknorg/nkn-sdk-go
v1.3.8
v1.3.7
- 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
- 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
- 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
- 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
- Add NextWithTimeout method in OnMessage
- Switch to new nkn version and official pb to reduce memory usage
v1.3.2
Wallet will lazy compute scrypt data to greatly reduce client ram usage
v1.3.1
- Fix potential panic on close session have errors
- NanoPay will use last height if get height failed
v1.3.0
- 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
- Expose Reconnect method to both client and multiclient
- Add Account() method to client/multiclient/wallet
- Flush before closing nanopay claimer