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

pobtoken deck_spawn with the -f flag #157

Open
buhtignew opened this issue Jul 16, 2024 · 1 comment
Open

pobtoken deck_spawn with the -f flag #157

buhtignew opened this issue Jul 16, 2024 · 1 comment
Labels
question Further information is requested

Comments

@buhtignew
Copy link
Collaborator

buhtignew commented Jul 16, 2024

As mentioned in #153 I've created a deck using the pobtoken deck_spawn my_first_pod_deck -m 1.5 --number_of_decimals 3 -f 490000 -e 500000 command so I was wondering what is the function of the -f flag.

My expectation was that the transaction list 1991d3d80c5df0d7c7b90afd4acf67d398cf8868f3a48b7568a96871bcc6f8e7 -x -g for instance would begin scanning from the first block of that deck, but when I've launched that command it's begun scanning from the block 0.

So my question is: does the Specify a start block to track transactions from. line in the pobtoken deck_spawn help means that the user should first check manually the first deck's block using token show 1991d3d80c5df0d7c7b90afd4acf67d398cf8868f3a48b7568a96871bcc6f8e7 -f -i command, for instance, and then launching the transaction list 1991d3d80c5df0d7c7b90afd4acf67d398cf8868f3a48b7568a96871bcc6f8e7 -x -g -f 489999 command, in this case?
Or there is some other case in which that first block data is being checked or used automatically?

@buhtignew buhtignew added the question Further information is requested label Jul 16, 2024
@d5000
Copy link

d5000 commented Aug 25, 2024

Okay, now let's tackle the spawn commands ...

First to your question: The -f flag allows you to define a start block for the token. Burn or gateway transactions before that block will not be taken into account for the token distribution. The -e flag in contrast allows to define an "end deadline" in the same way (transactions after this block cannot result in valid token claims).

My expectation was that the transaction list 1991d3d80c5df0d7c7b90afd4acf67d398cf8868f3a48b7568a96871bcc6f8e7 -x -g for instance would begin scanning from the first block of that deck, but when I've launched that command it's begun scanning from the block 0.

Your expectation here is correct. I had simply not implemented that into the transaction list -x command.

Added that feature in commit bcfb941.

Can be closed if everything works (was pre-tested).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants