Pietralberto Mazza
7f937e8418
Vars and fields renaming ( #387 )
...
* Rename asp > server
* Rename pool > round
* Consolidate naming for pubkey/prvkey vars and types
* Fix
* Fix
* Fix wasm
* Rename congestionTree > vtxoTree
* Fix wasm
* Rename payment > request
* Rename congestionTree > vtxoTree after syncing with master
* Fix Send API in SDK
* Fix wasm
* Fix wasm
* Fixes
* Fixes after review
* Fix
* Fix naming
* Fix
* Fix e2e tests
2024-11-26 15:57:16 +01:00
Louis Singer
06dd01ecb1
Change representation of taproot trees & Internal fixes ( #384 )
...
* migrate descriptors --> tapscripts
* fix covenantless
* dynamic boarding exit delay
* remove duplicates in tree and bitcointree
* agnostic signatures validation
* revert GetInfo change
* renaming VtxoScript var
* Agnostic script server (#6 )
* Hotfix: Prevent ZMQ-based bitcoin wallet to panic (#383 )
* Hotfix bct embedded wallet w/ ZMQ
* Fixes
* Rename vtxo is_oor to is_pending (#385 )
* Rename vtxo is_oor > is_pending
* Clean swaggers
* Revert changes to client and sdk
* descriptor in oneof
* support CHECKSIG_ADD in MultisigClosure
* use right witness size in OOR tx fee estimation
* Revert changes
---------
Co-authored-by: Pietralberto Mazza <18440657+altafan@users.noreply.github.com >
2024-11-20 18:51:03 +01:00
Louis Singer
dca302df69
Dynamic amount in unroll closure ( #173 )
...
* update UnrollClosure
* update TrustedOnboarding flow + add TrustedOnboarding e2e test
* fix linter: grpc.Dial
* add comment
* integration tests: faucet the ASP with 2 utxos
2024-05-28 12:13:03 +02:00
Pietralberto Mazza
6d0d03e316
Cleanup ( #121 )
...
* Cleanup common
* Cleanup client
* Cleanup server
* Renamings
* Tidy up proto
* Update ocean protos
* Fixes
* Fixes
2024-02-28 18:05:03 +01:00
Pietralberto Mazza
1650ea5935
Support onboarding & Drop faucet ( #119 )
...
* Renaming
* Add server-side support for onboarding
* add onboard --amount command
* support client side onboarding
* Drop dummy tx builder
* Drop faucet
* Fixes
* fix public key encoding
* fix schnorr pub key check in validation
* fix server/README to accomodate onboarding
---------
Co-authored-by: Louis <louis@vulpem.com >
Co-authored-by: João Bordalo <bordalix@users.noreply.github.com >
2024-02-23 16:24:00 +01:00
Louis Singer
a95a829b20
Delay unilateral exit and support send to onchain address ( #117 )
...
* add delay on redeem close + forfeit close
* increase default round lifetime (16 minutes min)
* add sequence to final pset
* update CLI and server to support delayed vtxos oncahin
* rename future to "locked"
* add configurable EXIT_DELAY variable
* renaming
* rename "close" --> "closure"
* rename "close" to "closure"
* error message config.go
2024-02-22 16:47:52 +01:00
Louis Singer
287db4e08a
Support round expiration and sweep vtxos ( #70 )
...
* sweeper base implementation
* sweeper service final implementation
* fixes
* fix CSV script
* RoundSwept event fix & test
* remove Vtxos after a sweep transaction
* ARK_ROUND_LIFETIME config
* remove TxBuilder.GetLifetime
* refactor sweeper
* use GetTransaction blocktime
* polish and comments
* fix linting
* pair programming fixes
* several fixes
* clean Println
* fixes
* linter fixes
* remove infrastructure deps from application layer
* Fixes
---------
Co-authored-by: altafan <18440657+altafan@users.noreply.github.com >
2024-02-08 16:58:04 +01:00
Louis Singer
b2e034cf0e
Refactor tx-builder/covenant ( #88 )
...
* clean tx-builder/covenant/tree.go
* rename "createRoot" --> "createBinaryTree"
* replace node.psets by an iterative function "createTreeTransactions"
* merge function
* unspendable point as bytes + remove psetWithLevel
* re-add extra leaf level in congestion tree
* polishing tx-builder/covenant
* remove emptyNonce var
* cleaning tree.go
* improve node.outputs()
* Fix var type
* Fixes
* fix linting
* Renaming and reordering
---------
Co-authored-by: altafan <18440657+altafan@users.noreply.github.com >
2024-02-08 04:51:01 +01:00
Louis Singer
d4ee064245
Send unsigned pool transactions to clients ( #85 )
...
* replace Transfer by SelectUtxos
* Wallet.SignPset: handle unset WitnessUtxo
* fix linter
* renaming variables
* add witnessUtxo while creating pool transaction
* add EstimateFees in ports.Wallet
* replace createTestPoolTx by a constant pset
2024-01-24 16:08:50 +01:00
Louis Singer
5dba216a98
Congestion tree validation ( #84 )
...
* add common/pkg/tree validation
* update noah go.mod
* cleaning and fixes
* fix builder_test.go
* Fix deferred func
* fix even number of vtxos in congestion tree
---------
Co-authored-by: altafan <18440657+altafan@users.noreply.github.com >
2024-01-23 15:38:43 +01:00