Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat 🛠️ / Refresh connection when validator is down #6

Open
butonium opened this issue Nov 25, 2022 · 0 comments
Open

Feat 🛠️ / Refresh connection when validator is down #6

butonium opened this issue Nov 25, 2022 · 0 comments
Assignees

Comments

@butonium
Copy link
Collaborator

If MTX client forwards txs to local validator and the validator is down, disconnect from the server (and then reconnect)

@butonium butonium self-assigned this Nov 25, 2022
janlegner pushed a commit that referenced this issue May 15, 2024
* Added rust toolchain

* Remove auth (#3)

* Remove auth

Remove need for JWT auth for internal deploy

* Remove auth from server

* Implement optional authentication

IF you don't provide the JWT public key then the server enters into non authenticated mode.

* Update domain and company name for the certs (#4)

* Fixes cert validation (#6)

* Add support for connecting to multiple servers (#7)

Adds support for connecting to multiple servers.

* Fix metrics per host (#9)

* Add support for connecting to multiple servers

Adds support for connecting to multiple servers.

* Added metrics per server

Adds source tag to metrics so metrics are reported per server.

* Formatting

* Added basic health check (#10)

* Added basic health check

* Update server/rpc_server.rs

Co-authored-by: Kirill Fomichev <[email protected]>

---------

Co-authored-by: Kirill Fomichev <[email protected]>

* Add authentication identifier (#11)

* Fix reporting name

* Get auth information from header

Get auth information from header so we can populate in metrics.

* Update server/rpc_server.rs

Co-authored-by: Kirill Fomichev <[email protected]>

* Update server/rpc_server.rs

Co-authored-by: Kirill Fomichev <[email protected]>

---------

Co-authored-by: Kirill Fomichev <[email protected]>

* Fix init metrics (#13)

Fix init metrics so we get 0 value.

* Bump version (#14)

* Grpc reconnect on disconnect (#15)

* retry logic

Signed-off-by: Wilfred Almeida <[email protected]>

* refactor: retry on disconnect

Signed-off-by: Wilfred Almeida <[email protected]>

* debugging

Signed-off-by: Wilfred Almeida <[email protected]>

* mtransaction client debugging 2

Signed-off-by: Wilfred Almeida <[email protected]>

* revert metrics changes

Signed-off-by: Wilfred Almeida <[email protected]>

* refactor(client): code cleanup

Signed-off-by: Wilfred Almeida <[email protected]>

* refactor(client): PR changes

Signed-off-by: Wilfred Almeida <[email protected]>

* Fix return value and log

* Fixed reconnection message

* Added some updates to log messages

* Removed duplicate break

---------

Signed-off-by: Wilfred Almeida <[email protected]>
Co-authored-by: linuskendall <[email protected]>

* Add unlimited retries (#16)

* Add more retries

Add unlimited retries with a delay.

* Version bump

* CLose metric channel if metric receiver is closed

* Moved metrics closed

* Update client/main.rs

Co-authored-by: Kirill Fomichev <[email protected]>

---------

Co-authored-by: Kirill Fomichev <[email protected]>

* feat: sendTransaction aliased function (#18)

Signed-off-by: Wilfred Almeida <[email protected]>

* Grpc hot reload (#19)

* feat: sendTransaction aliased function

Signed-off-by: Wilfred Almeida <[email protected]>

* feat: grpc urls file watcher

Signed-off-by: Wilfred Almeida <[email protected]>

* refactor: file watcher to signals

Signed-off-by: Wilfred Almeida <[email protected]>

* refactor: spawn management

Signed-off-by: Wilfred Almeida <[email protected]>

* refactor: task spawn/kill management

Signed-off-by: Wilfred Almeida <[email protected]>

* refactor: PR review fixes

Signed-off-by: Wilfred Almeida <[email protected]>

---------

Signed-off-by: Wilfred Almeida <[email protected]>

* Enforce preflight (#21)

* feat: sendTransaction aliased function

Signed-off-by: Wilfred Almeida <[email protected]>

* feat: grpc urls file watcher

Signed-off-by: Wilfred Almeida <[email protected]>

* refactor: file watcher to signals

Signed-off-by: Wilfred Almeida <[email protected]>

* refactor: spawn management

Signed-off-by: Wilfred Almeida <[email protected]>

* refactor: task spawn/kill management

Signed-off-by: Wilfred Almeida <[email protected]>

* refactor: PR review fixes

Signed-off-by: Wilfred Almeida <[email protected]>

* feat: enforce skipPreflight true

Signed-off-by: Wilfred Almeida <[email protected]>

---------

Signed-off-by: Wilfred Almeida <[email protected]>

---------

Signed-off-by: Wilfred Almeida <[email protected]>
Co-authored-by: Pablo Fontoura <[email protected]>
Co-authored-by: Kirill Fomichev <[email protected]>
Co-authored-by: Wilfred Almeida <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant