OSDN Git Service

:sparkles: Add new version for version in /net-info (#1263)
authorHAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
Tue, 21 Aug 2018 11:53:04 +0000 (19:53 +0800)
committerPaladz <yzhu101@uottawa.ca>
Tue, 21 Aug 2018 11:53:04 +0000 (19:53 +0800)
commit731e393cc8d04ac8128ad68c733ac87bb9ec9050
tree7360875d289f8ea7ad13cad49a5a04da90d273ba
parenta9a4f1b37872a5636548f66403689e5739639d30
:sparkles: Add new version for version in /net-info (#1263)

* pause

* Add version control

* Merge

* Add reset for notifiedTimes

* Fix logic

* Fix bugs

* Fix infinite loops for updating maxVerSeen

* Add 1.0.3 CompatibleWith rule.

* Fix deprecate bugs.

* :shirt: clean up.

* :zap: Pause

* :zap: Use github.com/hashicorp/go-version.

* :zap: Revert to original versioning system.

* :heavy_minus_sign: Remove CheckUpdate msgs

* :heavy_minus_sign: Clean up imports.

* :construction: Debugging sw.Peers()

* :construction: Trying to fix import cycle.

* :sparkles: Versioning.

* :art: Refine

* :hammer: Reconstrcut update struct

* :art: log withfiels in version

* :lock: Add error check for CompatibleWith()

* :art: Clean up.

* :memo: Add docs for CheckUpdate

* :art: Use iota for version status

* :hammer: Add lock for version statu

* :pencil2: Fix typo

* :art: Change version status feilds to private

* :art: Refact UpdateStatus{}

* :fire: Clean up.

* :sparkles: Add VersionInfo
api/nodeinfo.go
version/version.go