Louis Singer
bcb2b2075f
Add support for Out Of Round txs ( #359 )
...
* [common] rework address encoding
* new address encoding
* replace offchain address by vtxo output key in DB
* merge migrations files into init one
* fix txbuilder fixtures
* fix transaction events
* OOR scheme
* fix conflicts
* [sdk] OOR
* update WASM wrappers
* revert renaming
* revert API changes
* update parser.go
* fix vtxosToTxsCovenantless
* add settled and spent in Utxo and Transaction
* Fixes (#5 )
* Revert unneeded changes and rename claim to settle
* Revert changes to wasm and rename claim to settle
---------
Co-authored-by: Pietralberto Mazza <18440657+altafan@users.noreply.github.com >
2024-10-24 17:43:27 +02:00
Louis Singer
b536a9e652
New address encoding ( #356 )
...
* [common] rework address encoding
* new address encoding
* replace offchain address by vtxo output key in DB
* merge migrations files into init one
* fix txbuilder fixtures
* fix transaction events
2024-10-18 16:50:07 +02:00
Louis Singer
7606b4cd00
Drop unconditional forfeits txs in offline payment ( #344 )
...
* remove unconditionnal forfeit tx
* fix sqlite vtxo repo
* remove pendingData struct
* delete uncond_forfeits_tx table
2024-10-04 18:06:00 +02:00
Pietralberto Mazza
b15c0868b2
Drop PendingChange field ( #331 )
...
* Drop pending_change
* Fixes
* Polish
* Fallback to psbt string
2024-09-26 14:56:20 +02:00
Pietralberto Mazza
5c2065ad47
Make change of async payment spendable ( #324 )
...
* Drop unused ComputeOutputScript & use ParseTaprootScript internally
* Add pending field to vtxo domain
* Add check to handle async change as claimed vtxo & Move check to prevent spending penidng vtxos to app level
* Rename utils.go to parser.go & Fixes
* Ignore sent-and-reversible vtxos in ListVtxos
* Fixes
Co-authored-by: Louis Singer <louisinger@users.noreply.github.com >
* Fix e2e test
Co-authored-by: Louis Singer <louisinger@users.noreply.github.com >
Co-authored-by: João Bordalo <bordalix@users.noreply.github.com >
* Fix
* Add PendingChange field to vtxo
* Add PendingChange field to Transaction
* Fixes
* Remove logs
---------
Co-authored-by: Louis Singer <louisinger@users.noreply.github.com >
Co-authored-by: João Bordalo <bordalix@users.noreply.github.com >
2024-09-19 19:44:22 +02:00
Louis Singer
10ef0dbffa
Add reversible policy to pending vtxos ( #311 )
...
* [server] descriptor-based vtxo script
* [server] fix unit tests
* [sdk] descriptor based vtxo
* empty config check & version flag support
* fix: empty config check & version flag support (#309 )
* fix
* [sdk] several fixes
* [sdk][server] several fixes
* [common][sdk] add reversible VtxoScript type, use it in async payment
* [common] improve parser
* [common] fix reversible vtxo parser
* [sdk] remove logs
* fix forfeit map
* remove debug log
* [sdk] do not allow reversible vtxo script in case of self-transfer
* remove signing pubkey
* remove signer public key, craft forfeit txs client side
* go work sync
* fix linter errors
* rename MakeForfeitTxs to BuildForfeitTxs
* fix conflicts
* fix tests
* comment VtxoScript type
* revert ROUND_INTERVAL value
---------
Co-authored-by: Pietralberto Mazza <18440657+altafan@users.noreply.github.com >
Co-authored-by: sekulicd <sekula87@gmail.com >
2024-09-19 10:01:33 +02:00
Pietralberto Mazza
72a7f29bab
Add CreatePayment and CompletePayment ( #229 )
...
Co-authored-by: Marco Argentieri <tiero@users.noreply.github.com >
* Add claim command
* Persist pending data in sqlite repo
* Remove debug log
* Return pending data at interface level
* Fix unlocking btc wallet after restart
* Lint & Fix whitelist permissions
* Fix send command for covenant
* Update client/covenantless/claim.go
Signed-off-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
* Fix
* Pay for min relay fee instead of estimating fees for redeem and unconf forfeit txs
* Add support for pending payments (coventanless)
* Fixes
* Fixes
* Improve verbosity
* Fix coin selection
* Fix
---------
Signed-off-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
Co-authored-by: louisinger <louis@vulpem.com >
Co-authored-by: Marco Argentieri <tiero@users.noreply.github.com >
Co-authored-by: Marco Argentieri <3596602+tiero@users.noreply.github.com >
2024-08-10 19:18:02 +02:00
Dusan Sekulic
e45bff3c70
Sqlite - add sqlc and migration ( #217 )
2024-07-26 02:09:48 +02:00