Commit Graph

34 Commits

Author SHA1 Message Date
Steven Roose
6ca279b13e Use LE bytes when possible, this is the most common arch endianness 2024-03-14 18:00:22 +00:00
Steven Roose
2adfe9754e Implement first-expiring-first coin selection 2024-03-14 18:00:20 +00:00
Steven Roose
93577f5d25 Refactor a little bit forfeit checking
But the bulk is deferred until later, would merit some bigger refactor.
2024-03-14 18:00:18 +00:00
Steven Roose
baec294454 No need to keep all cosigners around forever 2024-03-14 18:00:16 +00:00
Steven Roose
2507236682 Rename unlock tx to reveal tx 2024-03-14 18:00:15 +00:00
Steven Roose
4958af8839 Separate vtxo tree signing and forfeit tx signing 2024-03-14 18:00:14 +00:00
Steven Roose
f8e483c401 Make ASP use different cosign key for each round attempt 2024-03-14 18:00:12 +00:00
Steven Roose
27d545bc5f Check that our user cosign key is included in the vtxo tree 2024-03-14 18:00:10 +00:00
Steven Roose
5a54265996 Don't accidentally refuse payment when cached feerate is high 2024-03-14 18:00:08 +00:00
Steven Roose
7655602408 Support sending from Ark to onchain address 2024-03-14 18:00:06 +00:00
Steven Roose
308105c0b4 Implement offboarding 2024-03-14 18:00:05 +00:00
Steven Roose
6ff19ee9de fix forfeit db bug 2024-03-14 18:00:03 +00:00
Steven Roose
00d2935c31 nit: Simplify cli command variants 2024-03-14 18:00:01 +00:00
Steven Roose
c97baf086f Don't accidentally rediscover an already forfeited vtxo 2024-03-14 17:59:59 +00:00
Steven Roose
e0d74991a0 Silence some cargo warnings in noah 2024-03-14 17:59:58 +00:00
Steven Roose
5a3e0f7ff8 Print asp on-chain balance each round 2024-03-14 17:59:56 +00:00
Steven Roose
3d5079b2df Fix exit start with p2tr wallet 2024-03-14 17:59:55 +00:00
Steven Roose
bd34952a22 Add README.md and polish CLI 2024-03-14 17:59:53 +00:00
Steven Roose
e67540a6d3 Fix bug when doing multiple payments 2024-03-14 17:59:51 +00:00
Steven Roose
81416747f3 Implement receiving of vtxos 2024-03-14 17:59:50 +00:00
Steven Roose
b80192d54f Complete unilateral exit working 2024-03-14 17:59:49 +00:00
Steven Roose
0a9c1f3ce3 Confirm exit initiation txs 2024-03-14 17:59:47 +00:00
Steven Roose
28046702db Vtxo signatures accepted 2024-03-14 17:59:46 +00:00
Steven Roose
c71d61e2d2 Fix onboard vtxo exit 2024-03-14 17:59:45 +00:00
Steven Roose
aac6ddb86d Trying unilateral exits, but schnorr sigs still not working 2024-03-14 17:59:43 +00:00
Steven Roose
9761c55210 Add taptweaks to all musig signatures 2024-03-14 17:59:41 +00:00
Steven Roose
2410394514 Working round payment! 2024-03-14 17:59:40 +00:00
Steven Roose
6e24cdb76b Finish storing all round results in dbs 2024-03-14 17:59:39 +00:00
Steven Roose
85682bf055 Round payment implemented 2024-03-14 17:59:37 +00:00
Steven Roose
55bc72ffae WIP on ark txs 2024-03-14 17:59:36 +00:00
Steven Roose
a374ee250e Add connectors to lib 2024-03-14 17:59:34 +00:00
Steven Roose
560baf3d3b Vtxo storage dummy 2024-03-14 17:59:32 +00:00
Steven Roose
9933368b48 Interactive onboard implemented 2024-03-14 17:59:31 +00:00
Steven Roose
fd241ac574 Boilerplate done 2024-03-14 17:59:20 +00:00