Open NStal opened 4 years ago
I'm trying to answer some of your questions, 1) You can do that by specifying a receiving address when you are buying a firestone. Just take notice that if the firestone you buy for any another address which is not under your control, you are risking yourself not getting refunded if the firestone expires. 2)&3) There is a FIFO rule of the firestone consumption. 4) I'm not that sure about what you exactly need for the infomation. If you are talking about raw TXs data, the firestone is done with something like scripts in TXs. If you are a miner and you have a mining address, you can always check how much firestone you have and their status (immature, usable and overdue).
Since we scan each block of new transactions to watch relevant transactions anyway, if we could have an easy way to inspect firestone with the raw transaction, things gonna be much more performant. Or we have to do the full firestone sync with the database at each height.
But considered the sane firestone count would be under 2048, I'll stick to the full sync solution.
Thank you.