frostfs-node/pkg/innerring
Leonard Lyubich 68565d9617 [#938] ir/netmap: Call AddPeer method if existing candidate was updated
In previous implementation IR handler of `AddPeer` notification didn't send
registration to contract if existing peer changed has changed its
information. as a consequence, the network map members could not update the
information without going into offline.

Change `processAddPeer` handler to check if
  * candidate in the network map is a brand new
  * or information about the network map member was changed
and call `AddPeer` method if so.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-11-10 18:05:30 +03:00
..
config [#873] innerring: Reuse atomic IR's epochDuration instead of RPC call 2021-10-15 12:22:25 +03:00
internal/client [#946] ir: Refactor usage of NeoFS API client 2021-11-01 11:41:57 +03:00
processors [#938] ir/netmap: Call AddPeer method if existing candidate was updated 2021-11-10 18:05:30 +03:00
timers [#479] morph/timer: Move block timer to morph package 2021-04-19 09:35:54 +03:00
alphabet.go [#666] innerring: Make GlagoliticLetter enum public for re-use 2021-07-08 14:37:38 +03:00
bindings.go [#807] ir: Merge ContractProcessor and NotaryContractProcessor interfaces 2021-09-09 18:37:45 +03:00
blocktimer.go [#910] innerring: Make notary deposit on notification instead of timer 2021-11-02 11:28:02 +03:00
contracts.go [#936] ir: Do not require number of Alphabet contracts to be set 2021-11-10 16:11:57 +03:00
fetcher.go [#705] pkg/innerring: Add IR keys fetchers 2021-07-22 15:12:06 +03:00
indexer.go [#705] pkg/innerring: Fix disable notary mode 2021-07-22 15:12:06 +03:00
innerring.go [#910] innerring: Make notary deposit on notification instead of timer 2021-11-02 11:28:02 +03:00
locode.go [#316] locode/boltdb: Replace all references to the City with Location 2021-02-10 14:05:03 +03:00
notary.go [#910] innerring: Make notary deposit on notification instead of timer 2021-11-02 11:28:02 +03:00
rpc.go [#946] ir: Refactor usage of NeoFS API client 2021-11-01 11:41:57 +03:00
settlement.go [#766] Fix stylecheck import linter error 2021-08-26 17:57:15 +03:00
state.go [#873] innerring/notary: Change notary deposit logic 2021-10-15 12:22:25 +03:00