Commit Graph

1024 Commits

Author SHA1 Message Date
binarybaron
7193866c30 dprint fmt 2023-08-10 00:15:16 +02:00
binarybaron
75bc64d248 Merge branch 'master' into rpc-server 2023-08-09 22:52:14 +02:00
binarybaron
96cc194b46 Pass server_address properly to RpcServer 2023-08-09 22:49:13 +02:00
binarybaron
186b242db5 Add called api method and swap_id to tracing for context, reduced boilerplate 2023-08-09 22:30:41 +02:00
Lorenzo Tucci
41399ab015 set server listen address manually and return file locations in JSON on Config 2023-08-04 21:49:05 +02:00
Byron Hambly
5e192acac2
feat(asb): allow asb to register with mulitple rendezvous nodes 2023-08-04 15:04:58 +02:00
Byron Hambly
acdba8474b
build(deps): update rust-toolchain to 1.67 and bump uuid to 1.4
some of the dependency updates are requiring a higher version of the
rust toolchain. bump to 1.67 and fix new clippy lints.

also fix dprint to 0.39.1 because 0.40 has breaking changes.
2023-07-31 11:49:28 +02:00
Byron Hambly
00cfce57c7
chore: fix dprint config and run fmt 2023-03-15 14:19:57 +02:00
Lorenzo Tucci
dc8982731c
fix: add data_dir to config to make config command work 2023-01-24 20:54:37 +01:00
Byron Hambly
43f06f0705
build(deps): bump base64 to 0.21
closes #1271
2023-01-11 19:52:14 +02:00
Lorenzo Tucci
250764ed30
fix missing import in test 2023-01-11 18:42:31 +01:00
Lorenzo Tucci
9d1a39b2ff
fixing formatting and cargo clippy warnings 2023-01-11 14:52:42 +01:00
Lorenzo Tucci
925c7bc179
merging master changes 2023-01-11 13:36:03 +01:00
Lorenzo Tucci
b5396798e4
fixing warnings 2023-01-11 13:07:11 +01:00
Byron Hambly
4ca1f8da5e
ci: update msrv and github actions toolchains 2023-01-10 14:57:09 +02:00
Byron Hambly
9346cb7baf
fix: add debug log for opening monero wallet error 2023-01-10 13:49:32 +02:00
Byron Hambly
f39e1de964
feat(swap): merge cancel/refund commands into one command 2023-01-08 12:53:56 +02:00
Lorenzo Tucci
d416095146
Merge branch 'comit-network:master' into rpc-server 2023-01-08 09:07:38 +01:00
binarybaron
b6201192c2 Allow asb to set a bitcoin address that is controlled by the asb itself to redeem/punish Bitcoin to 2022-12-31 00:52:53 +01:00
binarybaron
39895a176f
Merge branch 'master' into monero-unlocked-balance 2022-12-28 18:41:35 +01:00
Lorenzo Tucci
88aee1966d
adding new unfinished RPC tests 2022-12-14 17:17:43 +01:00
Lorenzo Tucci
cf5efa8ad0
add broadcast channel to handle shutdowns gracefully and prepare for RPC server test 2022-12-09 22:33:52 +01:00
Lorenzo Tucci
aeeffccda2
moving methods to api and validating addresses for rpc 2022-12-05 20:11:58 +01:00
Lorenzo Tucci
a26822d85b
split api module and propagate errors with rpc server 2022-12-05 19:26:47 +01:00
Byron Hambly
98296d8fa6
feat(asb): allow config overrides from env vars
- upgrades config crate to 0.13.2 #1087
- adds environment source for config overrides
2022-12-05 11:27:47 +02:00
Lorenzo Tucci
500684a43e
uncommenting and fixing more tests 2022-12-04 22:12:33 +01:00
Lorenzo Tucci
f5b62f967c
fixing tests in cli module 2022-12-04 20:50:53 +01:00
Byron Hambly
55e7d3f425
Merge branch 'master' into monero-unlocked-balance 2022-12-03 20:57:16 +02:00
binarybaron
e1983d5639 Cleanup, formatting, add get_seller, get_swap_start_date RPC endpoints 2022-12-02 21:46:27 +01:00
binarybaron
0df5af16b8 Print RPC server address 2022-11-30 16:35:39 +01:00
binarybaron
54c89217f6 Respond with bitcoin withdraw txid 2022-11-30 16:35:39 +01:00
Lorenzo Tucci
beec7ac9c0 saving: cleaning up and initial work for tests 2022-11-30 16:35:39 +01:00
Lorenzo Tucci
f4f6ec4239 cleaning up, renamed Init to Context 2022-11-30 16:35:39 +01:00
Lorenzo Tucci
f26b27c266 writing async rpc methods and using arc for shared struct references 2022-11-30 16:35:39 +01:00
Lorenzo Tucci
da3307d4d6 updating wip 2022-11-30 16:35:39 +01:00
Lorenzo Tucci
22deb6b47e saving to wip 2022-11-30 16:35:39 +01:00
Lorenzo Tucci
87e5dd8b53 saving to wip 2022-11-30 16:35:39 +01:00
Lorenzo Tucci
4413a8d489 saving: implementing internal api shared by cli and rpc server 2022-11-30 16:35:39 +01:00
Lorenzo Tucci
229ee5a65b saving to wip branch 2022-11-30 16:34:57 +01:00
Byron Hambly
08426d8171
fixup! fix(asb): use unlocked monero balance for quotes 2022-11-29 14:18:42 +02:00
bors[bot]
e5e7de757e
Merge #1225
1225: fix(cli, asb): print update warning correctly formatted r=delta1 a=binarybaron



Co-authored-by: binarybaron <86064887+binarybaron@users.noreply.github.com>
2022-11-25 13:45:12 +00:00
binarybaron
52871c9fc8 Print update warning correctly formatted 2022-11-25 13:58:58 +01:00
Byron Hambly
cd3ba4905a
feat: add wallet database migration from older bdk
- upgrades to bdk 0.24 #1198
- adds a regression test for opening older wallets #1183
- adds a migration for older wallets that encounter the ChecksumMismatch
  error #1182
2022-11-23 12:23:21 +02:00
binarybaron
4f89b3d768 Add monero-wallet-rpc DOWNLOAD_URL for M1, M2 Mac 2022-11-12 15:31:53 +01:00
binarybaron
f09b237e15
Immediately fetch transaction status upon subscription
Immediately fetch transaction status upon subscription instead of waiting 1 minute

(cherry picked from commit 5662f7fe81)
2022-11-07 09:56:27 +02:00
Byron Hambly
3d12631d69
feat: upgrade monero images to v0.18.1.2 2022-11-07 09:53:50 +02:00
Byron Hambly
f224c49584
fix(asb): use unlocked monero balance for quotes 2022-11-07 09:52:58 +02:00
Byron Hambly
fb42ca13cc
chore: clippy fix 2022-10-19 15:02:46 +02:00
Byron Hambly
2c2fb7f350
deps(build): upgrade ecdsa_fun and sigma_fun
- #1139
- #1140
2022-09-13 14:19:58 +02:00
Byron Hambly
6e7e39eea4
build(deps): upgrade bdk, ecdsa_fun, sigma_fun, sha2, bitcoin-harness, serde
- bdk to 0.22.0 #1126
- ecdsa_fun to 7c3d592 #1127
- sigma_fun to 7c3d592 #1128
- sha2 to 0.10.2 #948
- serde to 1.0.144 #1115
- bitcoin-harness to bff9a64

Revert "ci: specify previous dprint version until fixed"
This reverts commit 11eb1737ce.
2022-09-12 12:03:24 +02:00