Skip to content

Releases: nknorg/tuna

v0.1.0

19 Apr 08:09
Compare
Choose a tag to compare

What's Changed

  • Update to Gomobile compatible sdk by @yilunzhang in #4
  • Implement reverse tuna payment and geo IP filter by @yilunzhang in #9
  • Switch to new version of sdk by @yilunzhang in #10
  • Reduce payment timeout check interval and change traffic coverage time by @yilunzhang in #11
  • Rename IPFilter -> ReverseIPFilter in exit config by @yilunzhang in #12
  • Add ReverseServiceName and ReverseSubscriptionPrefix in config by @yilunzhang in #13
  • Change type byte to uint8 to avoid gomobile compile error by @yilunzhang in #14
  • Change meta service id to int type for gomobile compatibility by @yilunzhang in #15
  • retry when get err from ip2c api by @bufrr in #16
  • Fix ip2c results being ignored by @yilunzhang in #17
  • Fix exit disconnect even when price is zero by @yilunzhang in #18
  • Change config field first letter to non-capitalized by @yilunzhang in #19
  • New protocol with encryption, bandwidth triggered payment, etc by @yilunzhang in #22
  • Add UDP WIP note in readme by @yilunzhang in #23
  • Add support for 32bit arm version (v5, v6, v7) by @yilunzhang in #24
  • Add cli options to enable reverse mode by @yilunzhang in #25
  • Remove indirect dependencies that caused gomobile crash on arm64 by @yilunzhang in #26
  • Upgrade to nkn v2 import by @yilunzhang in #27
  • Change encrypted-stream version to v1.0.0 by @yilunzhang in #28
  • Will not subscribe if same subscription exists by @yilunzhang in #29
  • Entry OnConnect will fire every time conn reconnects by @yilunzhang in #30
  • Fix onconnect channel isclosed not set on close by @yilunzhang in #31
  • Shuffle subscribers to get true random order by @yilunzhang in #32
  • Prevent indefinitely trying to send nanopay if conn is closed by @yilunzhang in #33
  • add retrys if nanopay failed and relax restrictions for the payment rules by @bufrr in #34
  • Increase tolerance when checking payment amount by @yilunzhang in #35
  • Prevent reverse entry not close by @yilunzhang in #36
  • Provider will only disconnect if unpaid traffic > 1MB by @yilunzhang in #37
  • Fix wrong nanopay amount by @bufrr in #38
  • Add cli options to change seed rpc server address by @yilunzhang in #39
  • Upgrade nkn-sdk-go version by @yilunzhang in #40
  • Improve logs on accept error by @yilunzhang in #41
  • Update payment strategy to be more robust to network failure by @bufrr in #42
  • Add geo support for AWS & GCP when using IPFilter by @bufrr in #43
  • Switch to new sdk version and official pb to reduce memory usage by @yilunzhang in #44
  • Improving update geo db logs by @yilunzhang in #45
  • fix error handling when error is not nil by @bufrr in #46
  • Upgrade nkn-sdk-go version to fix nanopayclaimer not check balance by @yilunzhang in #47
  • Use geodb directory as temp dir when downloading to avoid permission issue by @yilunzhang in #48
  • Fix wrong tmp dir when geodb directory is ./ by @yilunzhang in #49
  • Use github mirror link by @yilunzhang in #50
  • check IP only if IP exist by @bufrr in #51
  • fix null pointer panic when err is nil by @bufrr in #52
  • add measurement delay by @iheron in #53
  • Fix connecting to node that fails latency measurement by @yilunzhang in #54
  • add connection close when delay measurement by @iheron in #55
  • Node selection based on bandwidth measurement by @yilunzhang in #63
  • Remove unused mutex lock by @yilunzhang in #64
  • Add config to sort measured nodes by external caller by @yilunzhang in #65
  • Add config to change measure bandwidth timeout by @yilunzhang in #66
  • Fix race condition in measurement storage by @yilunzhang in #67
  • use pointer to read json by @iheron in #69
  • Fix the bug that bandwidth measurement may take longer than timeout by @yilunzhang in #70
  • Add nanopay min flush amount to reduce near empty transactions by @yilunzhang in #71
  • Allow reverse entry to specify multiple reverse service name by @yilunzhang in #72
  • update common config by @iheron in #73
  • Upgrade nkn-sdk-go version to fix gomobile compile error by @yilunzhang in #74
  • Add limit to metadata size to prevent memory bomb by @yilunzhang in #75
  • Reduce pipeBufferSize to be compatible with c++ smux by @yilunzhang in #76
  • Delete favorite node before adding to avoid delete added node by @yilunzhang in #77
  • Reload measure storage every time to support multiple tuna instance by @yilunzhang in #78
  • Reduce measureBandwidthTopCount and favorite node size by @yilunzhang in #79
  • Fix delay measure results not sorted by @yilunzhang in #80
  • Use all delay measure results instead of first batch by @yilunzhang in #81
  • Use favorite node as seed node by @yilunzhang in #82
  • add measureBandwidth workers timeout by @iheron in #83
  • Add linger logic before close and api to set linger by @yilunzhang in #84
  • Simplify config code structure by @yilunzhang in #85
  • Use per service measurement storage to avoid mixing nodes by @yilunzhang in #86
  • Add rpc node concurrency and sync state check by @yilunzhang in #87
  • Add metadata field to nkn filter to bypass rpc call by @yilunzhang in #88
  • Add context variant to all measurement related functions by @yilunzhang in #89
  • add MetadataRaw in Node by @iheron in #90
  • Upgrade nkn-sdk-go to c39ba20 by @yilunzhang in #91
  • Fix checkNanoPayClaim goroutine leak by @yilunzhang in #92
  • Add retry interval when dial to server error by @yilunzhang in #93
  • Upgrade nkn-sdk-go to v1.3.5 by @yilunzhang in #94
  • Update default price in config example by @yilunzhang in #95
  • Use nkn client instead of wallet as rpc client by @yilunzhang in #97
  • Sample service provider faster using subscriberHashPrefix by @yilunzhang in #98
  • replace rename api to copy file for windows compatible #96 by @bufrr in #99
  • Fix empty seed rpc address when measure bandwidth is disabled by @yilunzhang in #100
  • Prevent passing empty seed rpc addr array to client by @yilunzhang in #101
  • Reduce getsubscribers api call when there are few subscribers by @yilunzhang in #102
  • Fix using 0x00 prefix hash when sub count is less than default count by @yilunzhang in #103
  • Test conn on reverse exit before choose entry node by @yilunzhang in #104
  • Close test conn on reverse exit by @yilunzhang in #105
  • NewTunaExit add NknFilter by @iheron in #106
  • Share the same client for reverse entry by @yilunzhang in #107
  • Prevent payment stream created multiple times and recipient race condition by @yilunzhang in #108
  • Add measure bandwidth timeout on server side by @yilunzhang in #109
  • Fix max msg size not checked in readvarbytes by @yilunzhang in #110
  • Fix max msg size not checked in readvarbytes by @yilunzhang in #111
  • Upgrade nkn-sdk-go to v1.3.7 to support nanopayclaimer linger by @yilunzhang in #11...
Read more