frostfs-node/pkg/innerring/processors/governance
Leonard Lyubich ad7ad12a0c [#746] morph: Implement and use multi-client
There is a need to work with a set of Neo RPC nodes in order not to depend
on the failure of some nodes while others are active.

Support "multi-client" mode of morph `Client` entity. If instance is not
"multi-client", it works as before. Constructor `New` creates multi-client,
and each method performs iterating over the fixed set of endpoints until
success. Opened client connections are cached (without eviction for now).

Storage (as earlier) and IR (from now) nodes can be configured with multiple
Neo endpoints. As above, `New` creates multi-client instance, so we don't
need initialization changes on app-side.

`Wait` and `GetDesignateHash` methods of `Client` return an error from now
to detect connection errors. `NotaryEnabled` method is removed as unused.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-09-02 11:04:38 +03:00
..
events.go [#447] innerring: Define governance processor 2021-03-26 12:38:42 +03:00
handlers.go [#502] innerring: synchronize validators on mainnet alphabet update 2021-05-25 11:10:01 +03:00
list.go [#697] governance: Make best effort traversing main chain list of keys 2021-07-15 10:49:21 +03:00
list_test.go [#697] governance: Make best effort traversing main chain list of keys 2021-07-15 10:49:21 +03:00
process_update.go [#705] innerring/governance: Delete useless sort 2021-07-22 15:12:06 +03:00
processor.go [#746] morph: Implement and use multi-client 2021-09-02 11:04:38 +03:00