dominant-strategies / quais.js

MIT License
0 stars 3 forks source link

[Quais] - Support building mined transactions #120

Open mibuono opened 1 month ago

mibuono commented 1 month ago

User needs to be able to submit a mined transaction. Quais needs to comport to GoQuai.

When you make a transaction, you must get the previous header, and then put the transaction in the header and submit it.

After that - we will need to be able to mine it.

It is not clear on what the additional fields are for the mined transactions - is this the same or different from work objects? @kiltsonfire

rileystephens28 commented 1 month ago

Is this a duplicate of #29?

mibuono commented 4 weeks ago

Update from #30 : This allows users to specify the amount of work they want to have on a transaction being pushed through so that it can be included in the block in the correct order.

Question: Do we also need to have a field for time, so that if the work done is not done in a certain time, the transaction is canceled?

mibuono commented 4 weeks ago

From #29 👍 Requirements:

-add optional field at the end that specifies work threshold. -If a work threshold is not specified we will return a transaction that has been hashed one time