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

Are missing blocks and transactions forwarded downstream? #66

Open
linuskendall opened this issue Nov 6, 2023 · 3 comments
Open

Are missing blocks and transactions forwarded downstream? #66

linuskendall opened this issue Nov 6, 2023 · 3 comments

Comments

@linuskendall
Copy link
Contributor

If faithful doesn't have a block (i.e. the block is not among those available) does it forward getBlock downstream if the --proxy command is configured?

Same thing for a transaction that is not found? This is perhaps more dubious since a not found transaction might just mean it doesnt exist.

@gagliardetto
Copy link
Collaborator

Yes, if it's configured to do so.

faithful-cli rpc --proxy=/path/to/proxy/solana-proxy.json /path/to/epochs/

solana-proxy.json:

{
	"target": "https://api.mainnet-beta.solana.com",
	"headers": {
		"My-Header": "My-Value"
	},
	"proxyFailedRequests": true
}

@gagliardetto
Copy link
Collaborator

Same thing for a transaction that is not found? This is perhaps more dubious since a not found transaction might just mean it doesnt exist.

Yes. Just to be sure, anything that isn't a success, is considered a failure and retried on the fallback rpc.

@anjor
Copy link
Contributor

anjor commented Feb 18, 2025

Sounds like this is not needed anymore. Can we close it @linuskendall @gagliardetto?

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

No branches or pull requests

3 participants