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

Support different chain-tip selection methods #69

Open
MartinMinkov opened this issue Mar 21, 2023 · 1 comment
Open

Support different chain-tip selection methods #69

MartinMinkov opened this issue Mar 21, 2023 · 1 comment

Comments

@MartinMinkov
Copy link
Collaborator

Suggestions to improve the best tip chain selection was made in a Discord channel, see here: https://discord.com/channels/484437221055922177/1086196859627917343/1087343997812486174

For those without Discord, the contents of the message are:

"
Potential options for the archive node api could be:
the latest finalized block by some num of confirmations n
the latest undisputed block (what I mean by that is that if there are multiple blocks proposed in a slot, the next proposer has selected a block out of those)
the latest unconfirmed block (for example the block in the latest filled slot with the lowest timestamp)
all blocks with the potential of becoming canonical

Doing it this way keeps the possibility of only retrieving confirmed data while also giving the developer the option to modify that behaviour if needed.
"

By supporting these different options, we can let the user define how they want to query the data for the Archive Node.

@rpanic
Copy link

rpanic commented Mar 31, 2023

I think a useful addition would be the retrieval of the selected tip block. That could be used to check whether the archive api already picked up a newly mined transactions

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

2 participants