Skip to content

Conversation

guibescos
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Nov 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 13, 2024 4:53pm
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 13, 2024 4:53pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 13, 2024 4:53pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
component-library ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 4:53pm
insights ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 4:53pm

import { LAMPORTS_PER_SOL } from "@solana/web3.js";

const HEALTH_CHECK_TIMEOUT_SECONDS = 60;
const MAX_JITO_TIP_LAMPORTS = LAMPORTS_PER_SOL / 100;
Copy link
Contributor Author

@guibescos guibescos Nov 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I'll make this configurable but didn't have time today

Copy link
Collaborator

@ali-behjati ali-behjati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. A few notes/questions below:

  • what is the possibility that we use this and the transaction doesn't land? should we have mechanisms to use other percentiles?
  • My worry is that we kind of end up in a worse situation. Maybe it's good to have min(max_fee, max(default_fee, dynamic_fee)) to kind of make sure we are at least never getting worse.

@guibescos guibescos merged commit c6ec886 into main Nov 13, 2024
3 of 8 checks passed
@guibescos guibescos deleted the feat/dynamic-jito-tips branch November 13, 2024 16:47
@guibescos guibescos restored the feat/dynamic-jito-tips branch November 14, 2024 13:33
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 this pull request may close these issues.

2 participants