62 Commits

Author SHA1 Message Date
Marco Argentieri
1e43f4b72f Update README.md
Signed-off-by: Marco Argentieri <3596602+tiero@users.noreply.github.com>
2024-08-09 00:08:00 +02:00
42Pupusas
b97fb826e9 Updating Bitcoin and BDK crates (#10)
* Update `ark-lib` to latest `bitcoin` crate

* Updated Arkd and Noah to latest `bdk_wallet`

* Fixed linting issues
2024-07-22 10:58:25 +02:00
42Pupusas
92cb3b15bb Debugging and README Update (#5) 2024-06-10 13:43:14 +02:00
Marco Argentieri
03bebe62ec Create .gitignore (#6)
Signed-off-by: Marco Argentieri <3596602+tiero@users.noreply.github.com>
2024-06-09 12:24:06 +02:00
Steven Roose
5c9974ec52 Found out about sled multi-tree transactions 2024-04-09 18:08:27 +01:00
Steven Roose
81beeda7a6 Also update SignOptions in other places 2024-03-19 15:41:19 +00:00
benthecarman
852f241d88 Trust witness UTXOs for BDK signing 2024-03-19 15:34:16 +00:00
Steven Roose
bf9209752e Rename noah send command to send-round 2024-03-15 09:25:40 +00:00
Steven Roose
04dd383df6 Remove some arkd dep 2024-03-15 02:44:11 +00:00
Steven Roose
2c5713e487 Restructure the arkd start procedures 2024-03-15 02:03:36 +00:00
Steven Roose
0e15b252e9 Support draining ASP wallet 2024-03-15 01:38:45 +00:00
Steven Roose
409ef2b89a Add a manual round trigger using RPC 2024-03-14 18:00:51 +00:00
Steven Roose
723cb7a27c Broadcast pending txs in wallet 2024-03-14 18:00:50 +00:00
Steven Roose
e56848e798 Add TLS for the signet demo server 2024-03-14 18:00:47 +00:00
Steven Roose
fab5348898 Add fee anchors for OORs 2024-03-14 18:00:45 +00:00
Steven Roose
e38d9e381d Fix hack for fee anchor in forfeit code 2024-03-14 18:00:44 +00:00
Steven Roose
3f75fe9a2f Remove Vtxo::exit_package function 2024-03-14 18:00:43 +00:00
Steven Roose
6ce2a604f2 Redo the exit code for all vtxos 2024-03-14 18:00:41 +00:00
Steven Roose
9ece0efc64 Add Arkoor payments 2024-03-14 18:00:39 +00:00
Steven Roose
3705ec9312 Implement esplora-based sync with signet support 2024-03-14 18:00:36 +00:00
Steven Roose
25cbf4e2c0 Small rocksdb optimizations 2024-03-14 18:00:35 +00:00
Steven Roose
96d91c64e8 Remove expired rounds after they have been spent 2024-03-14 18:00:33 +00:00
Steven Roose
2e8d90779a Optimize rocksdb usage 2024-03-14 18:00:31 +00:00
Steven Roose
56bd6166cf Query fresh rounds from last height instead of all 2024-03-14 18:00:30 +00:00
Steven Roose
288bf40fc3 Change arkd db to rocksdb 2024-03-14 18:00:28 +00:00
Steven Roose
3fe3f74064 Simplify secp256k1 messages 2024-03-14 18:00:27 +00:00
Steven Roose
1328e294e0 Implement ASP spending of expired VTXO UTXOs 2024-03-14 18:00:26 +00:00
Steven Roose
378c9dac75 sled-utils: Add BucketTree for storing sets of items as sled values 2024-03-14 18:00:23 +00:00
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