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

Use Altruists as sync check backup #108

Closed
nymd opened this issue Jul 6, 2021 · 0 comments
Closed

Use Altruists as sync check backup #108

nymd opened this issue Jul 6, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@nymd
Copy link
Contributor

nymd commented Jul 6, 2021

If nodes are unable to reach a consensus of sync, the altruist system should be used to get the current blockheight and that marked as the source of truth.

Somewhere around here:

// This should never happen

@nymd nymd added enhancement New feature or request good first issue Good for newcomers labels Jul 6, 2021
@nymd nymd self-assigned this Jul 7, 2021
@nymd nymd closed this as completed in 7dcc52f Jul 7, 2021
nymd added a commit that referenced this issue Jul 7, 2021
* updating loopback 4

* pinning mongo version

* removing comment from .env line which was breaking the import

* removing comment that is breaking env example

* making scripts use diff connection strings per instance

* simplifying data import

* making gateway wait for other services

* fixes #83; lb cannot be found due to blockchain subdomain hack

* New altruist implementation (#100)

* new altruist implementation

* adding check for blank relaypath, not just undefined

* Updating example to match realities

* pushing feature branch to staging

* fixing bad subdomain parsing

* removing subdomain hack, localhost can work with subdomains

* db test for staging

* db test for staging

* db test for staging

* db test for staging

* fixing logging of debug and wrapping axios in try catch

* testing on usw2

* fixing memory reservation for fargate

* removing excess logging, vestigal interfaces

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring push on master to production files

* updating requires to imports, resolving PR comments

* reverting logger import change

* pushing to usw2

* pointing workflows back to correct branches

* Update task for e2

* feat: add local setup of relations in timescaledb

* Adding back missing allowed headers (#112)

* new altruist implementation

* adding check for blank relaypath, not just undefined

* Updating example to match realities

* pushing feature branch to staging

* fixing bad subdomain parsing

* removing subdomain hack, localhost can work with subdomains

* db test for staging

* db test for staging

* db test for staging

* db test for staging

* fixing logging of debug and wrapping axios in try catch

* testing on usw2

* fixing memory reservation for fargate

* removing excess logging, vestigal interfaces

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring push on master to production files

* updating requires to imports, resolving PR comments

* reverting logger import change

* pushing to usw2

* pointing workflows back to correct branches

* adding back origin,ua headers

* fixes #108; uses altruist system as backup for sync check

* removing leftover cache breaker and changing it to 30 second redis cache for failure sessions

Co-authored-by: Roniel Valdez <[email protected]>
nymd added a commit that referenced this issue Jul 7, 2021
* updating loopback 4

* pinning mongo version

* removing comment from .env line which was breaking the import

* removing comment that is breaking env example

* making scripts use diff connection strings per instance

* simplifying data import

* making gateway wait for other services

* fixes #83; lb cannot be found due to blockchain subdomain hack

* New altruist implementation (#100)

* new altruist implementation

* adding check for blank relaypath, not just undefined

* Updating example to match realities

* pushing feature branch to staging

* fixing bad subdomain parsing

* removing subdomain hack, localhost can work with subdomains

* db test for staging

* db test for staging

* db test for staging

* db test for staging

* fixing logging of debug and wrapping axios in try catch

* testing on usw2

* fixing memory reservation for fargate

* removing excess logging, vestigal interfaces

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring push on master to production files

* updating requires to imports, resolving PR comments

* reverting logger import change

* pushing to usw2

* pointing workflows back to correct branches

* Update task for e2

* feat: add local setup of relations in timescaledb

* Adding back missing allowed headers (#112)

* new altruist implementation

* adding check for blank relaypath, not just undefined

* Updating example to match realities

* pushing feature branch to staging

* fixing bad subdomain parsing

* removing subdomain hack, localhost can work with subdomains

* db test for staging

* db test for staging

* db test for staging

* db test for staging

* fixing logging of debug and wrapping axios in try catch

* testing on usw2

* fixing memory reservation for fargate

* removing excess logging, vestigal interfaces

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring push on master to production files

* updating requires to imports, resolving PR comments

* reverting logger import change

* pushing to usw2

* pointing workflows back to correct branches

* adding back origin,ua headers

* fixes #108; uses altruist system as backup for sync check

* removing leftover cache breaker and changing it to 30 second redis cache for failure sessions

Co-authored-by: Roniel Valdez <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant