227 Commits

Author SHA1 Message Date
20409c3c72 Merge branch 'research' of github.com:RoboSats/taptrade-core into research 2024-07-12 16:28:17 +05:30
4da52405a4 loading wallet to import UTXO's 2024-07-12 16:28:06 +05:30
369961a2ea refactor spawning of monitoring thread, working on spawn_blocking for sync bitcoinrpc call 2024-07-12 10:54:43 +00:00
ec05e61323 refactor monitoring and bond validation, fix tests 2024-07-11 17:41:40 +00:00
257b0d7201 refactor bond validation, use testmempoolaccept, add Bitcoinrpc backend 2024-07-11 14:44:14 +00:00
7f8866d414 add testnet4 node docker compose 2024-07-11 10:29:57 +00:00
7b43389da4 add comments 2024-07-10 16:31:36 +00:00
5540c578b5 finish verify_bond_tx_hex() unit tests 2024-07-10 14:29:35 +00:00
b56380d448 Merge branch 'research' of github.com:RoboSats/taptrade-core into research 2024-07-10 19:06:05 +05:30
6212216d21 separate unit fns 2024-07-10 19:05:48 +05:30
939487e02b added comments for generating descriptors 2024-07-10 18:54:53 +05:30
5ceea09069 add dummy tests for validate_bond_tx_hex() 2024-07-10 11:56:15 +00:00
69481c3982 Merge branch 'research' of https://github.com/RoboSats/taptrade-core into research
fix sql syntax error in fetch_and_delete_offer_from_public_offers_table()
2024-07-10 11:52:17 +00:00
dbcd9b65ba fix sql syntax error in fetch_and_delete_offer_from_public_offers_table() 2024-07-10 11:52:10 +00:00
2da03484dc Merge branch 'research' of github.com:RoboSats/taptrade-core into research
merging
2024-07-10 16:42:39 +05:30
d00a07fe87 corrected the create descriptor fn (it works on testnet now 2024-07-10 16:42:26 +05:30
3cb0c9a0a9 finish first tests for validate_bond_tx_hex 2024-07-10 11:02:03 +00:00
a48391ad73 making coordinator wallet generic, working on tests for bond verification 2024-07-10 09:13:49 +00:00
6c9b969d5e debug statements 2024-07-09 18:12:04 +00:00
43de74145d working on fixing bond validation 2024-07-09 16:54:47 +00:00
28d17c8f7e add tests for bond assemblz 2024-07-09 13:28:14 +00:00
f295731cbd fix taker bond validation endpoint 2024-07-09 11:05:18 +00:00
320d46e0f3 fix taker offer fetching, change log level for crate dependencies 2024-07-09 09:00:36 +00:00
0c8a27415a working on fixing db, switching from println to logging 2024-07-08 17:09:28 +00:00
bb249296c9 working on db debugging 2024-07-08 17:07:08 +00:00
5d39859ada merge 2024-07-08 21:07:24 +05:30
33e5aa1d63 changed descriptor 2024-07-08 20:04:20 +05:30
573990ab3a switch from println and dbg to logging 2024-07-08 14:30:58 +00:00
06dedd1b95 testing and fixing api communication [coordinator & maker] 2024-07-08 12:27:29 +00:00
648ed82c0c use tokio::spawn for monitoring function to make it run concurrent in a correct way 2024-07-08 09:06:42 +00:00
08e21d6ce0 testnet faucet comment 2024-07-07 11:27:57 +02:00
48b208f7ca added a psbt creation for coordinator and a sample path 2024-07-07 02:16:24 +05:30
4248853abd added almost complete taptree making function 2024-07-06 12:30:32 +05:30
490176ae2c completed combine_and_broadcast fn 2024-07-06 11:57:22 +05:30
958026a3e2 added main functions to be used for workflow of taproot contract 2024-07-06 03:41:41 +05:30
a068b8b0a3 add comments 2024-07-05 16:47:06 +02:00
ce34ec5c20 adding the initial version of taproot contract(not working rn 2024-07-05 01:46:11 +05:30
48ef99be4f add comment 2024-07-04 15:08:04 +00:00
72d2e51ec8 make backend synchronous again, implement simple punishment handler 2024-07-04 13:53:57 +00:00
c1083e0cc0 make chain backend async in coordinator 2024-07-04 10:47:36 +00:00
68707c2566 add electrum backend in CoordinatorWallet struct 2024-07-04 09:27:17 +00:00
279d7d167a coordinator monitoring loop 2024-07-03 17:16:47 +00:00
e7aaeab27a finish submit_maker_bond endpoint coordinator 2024-07-03 12:52:00 +00:00
b7a3522069 complete bond validation function 2024-07-03 11:25:05 +00:00
ef6ca16337 added unit tests for database (completed) 2024-07-03 04:57:04 +05:30
845e9da31d move_offer_to_active unit test 2024-07-03 04:45:17 +05:30
69aa49debc move_offer_to_active unit test 2024-07-03 03:31:53 +05:30
7afd25b445 add comment 2024-07-02 17:39:14 +00:00
78efc82f6a implementing bond verification function 2024-07-02 17:38:29 +00:00
2359da970e added unit test for fetch_maker_request 2024-07-02 19:36:15 +05:30