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

Qi gas fee #309

Merged
merged 20 commits into from
Oct 8, 2024
Merged

Qi gas fee #309

merged 20 commits into from
Oct 8, 2024

Conversation

rileystephens28
Copy link
Member

  • Force denominating down for outputs
  • Implement gas estimation and subsequently updating inputs and outputs
  • fixes schnorr vs musig signature decision

@rileystephens28 rileystephens28 merged commit 8eb873d into alpha Oct 8, 2024
alejoacosta74 added a commit to alejoacosta74/quais-6.js that referenced this pull request Oct 8, 2024
* refactor coin selection logic to work with denomination indices

* refactor coinselector to work with UTXO objects

* add new method signature for sendTransaction using paymentCodes

* implement sendTransaction with paymentCode

* update proto schema for Qi

* WIP: add lock field and debug lines

* Fix Qi tx submission

* fix send Qi with musig

* Remove redundent tx type population

* Add qi tx fee and force denominating down for outputs

* Fix signature decision in qi tx signing

* Fix import without file ext

* Export serialized wallet types

* Remove console logs

* Update external deps reference

* Apply automatic changes

* Apply automatic changes

* Fix vulnerable dependency `rollup`

* Apply automatic changes

---------

Co-authored-by: Alejo Acosta <[email protected]>
Co-authored-by: rileystephens28 <[email protected]>
rileystephens28 added a commit that referenced this pull request Oct 9, 2024
* implement sendTransaction with paymentCode

* update proto schema for Qi

* WIP: add lock field and debug lines

* Fix Qi tx submission

* fix send Qi with musig

* bugfix: check for pubkeys equality in signTransaction

* Qi gas fee (#309)

* refactor coin selection logic to work with denomination indices

* refactor coinselector to work with UTXO objects

* add new method signature for sendTransaction using paymentCodes

* implement sendTransaction with paymentCode

* update proto schema for Qi

* WIP: add lock field and debug lines

* Fix Qi tx submission

* fix send Qi with musig

* Remove redundent tx type population

* Add qi tx fee and force denominating down for outputs

* Fix signature decision in qi tx signing

* Fix import without file ext

* Export serialized wallet types

* Remove console logs

* Update external deps reference

* Apply automatic changes

* Apply automatic changes

* Fix vulnerable dependency `rollup`

* Apply automatic changes

---------

Co-authored-by: Alejo Acosta <[email protected]>
Co-authored-by: rileystephens28 <[email protected]>

* Apply automatic changes

* Apply automatic changes

* Implement payment channel syncing mechanism and fix other syncing bugs (untested)

* Create optional interface to provide external callback for checking if an address has been used

* bugfix: missing address property

* extend validateOutpointInfo() to check in payment code maps

* bug fix in scanPaymentChannel

* Fix gap sync wip

* Make all utxos spendable and remove spent from set

* Update script to sync after send and check receiving wallet

* update Qi serialization logic

* Fix send address reuse and extra change address generation

* Improve selection process

* WIP: add lock field and debug lines

* Fix Qi tx submission

* fix send Qi with musig

* Remove console logs

---------

Co-authored-by: Alejo Acosta <[email protected]>
Co-authored-by: rileystephens28 <[email protected]>
@rileystephens28 rileystephens28 deleted the qi-gas-fee branch October 10, 2024 15:19
rileystephens28 added a commit that referenced this pull request Oct 10, 2024
* refactor coin selection logic to work with denomination indices

* refactor coinselector to work with UTXO objects

* add new method signature for sendTransaction using paymentCodes

* implement sendTransaction with paymentCode

* update proto schema for Qi

* WIP: add lock field and debug lines

* Fix Qi tx submission

* fix send Qi with musig

* Remove redundent tx type population

* Add qi tx fee and force denominating down for outputs

* Fix signature decision in qi tx signing

* Fix import without file ext

* Export serialized wallet types

* Remove console logs

* Update external deps reference

* Apply automatic changes

* Apply automatic changes

* Fix vulnerable dependency `rollup`

* Apply automatic changes

---------

Co-authored-by: Alejo Acosta <[email protected]>
Co-authored-by: rileystephens28 <[email protected]>
rileystephens28 added a commit that referenced this pull request Oct 10, 2024
* implement sendTransaction with paymentCode

* update proto schema for Qi

* WIP: add lock field and debug lines

* Fix Qi tx submission

* fix send Qi with musig

* bugfix: check for pubkeys equality in signTransaction

* Qi gas fee (#309)

* refactor coin selection logic to work with denomination indices

* refactor coinselector to work with UTXO objects

* add new method signature for sendTransaction using paymentCodes

* implement sendTransaction with paymentCode

* update proto schema for Qi

* WIP: add lock field and debug lines

* Fix Qi tx submission

* fix send Qi with musig

* Remove redundent tx type population

* Add qi tx fee and force denominating down for outputs

* Fix signature decision in qi tx signing

* Fix import without file ext

* Export serialized wallet types

* Remove console logs

* Update external deps reference

* Apply automatic changes

* Apply automatic changes

* Fix vulnerable dependency `rollup`

* Apply automatic changes

---------

Co-authored-by: Alejo Acosta <[email protected]>
Co-authored-by: rileystephens28 <[email protected]>

* Apply automatic changes

* Apply automatic changes

* Implement payment channel syncing mechanism and fix other syncing bugs (untested)

* Create optional interface to provide external callback for checking if an address has been used

* bugfix: missing address property

* extend validateOutpointInfo() to check in payment code maps

* bug fix in scanPaymentChannel

* Fix gap sync wip

* Make all utxos spendable and remove spent from set

* Update script to sync after send and check receiving wallet

* update Qi serialization logic

* Fix send address reuse and extra change address generation

* Improve selection process

* WIP: add lock field and debug lines

* Fix Qi tx submission

* fix send Qi with musig

* Remove console logs

---------

Co-authored-by: Alejo Acosta <[email protected]>
Co-authored-by: rileystephens28 <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants