You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docker/README.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,14 +69,12 @@ To build and run the Docker container using Docker Compose, follow these steps:
69
69
make docker-up
70
70
```
71
71
72
-
Or pass it inline:
72
+
Or set the variable on one line before `make docker-up`:
73
73
```sh
74
74
MOSTRO_RELAY_LOCAL_PORT=7000 make docker-up
75
75
```
76
76
77
-
5.**Note:** Database encryption has been removed. The `MOSTRO_DB_PASSWORD` environment variable (if set in `compose.yml`) is no longer used for the database; you can omit it. For more details about environment variables, see [ENV_VARIABLES.md](ENV_VARIABLES.md).
Copy file name to clipboardExpand all lines: docs/RPC.md
+20-3Lines changed: 20 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,67 +29,84 @@ port = 50051
29
29
The RPC interface supports the following admin operations:
30
30
31
31
### 1. Cancel Order
32
+
32
33
Cancel an order as an admin.
33
34
34
35
**Request:**
36
+
35
37
-`order_id`: UUID of the order to cancel
36
38
-`request_id`: Optional request identifier
37
39
38
40
**Response:**
41
+
39
42
-`success`: Boolean indicating operation success
40
43
-`error_message`: Optional error message if operation failed
41
44
42
45
### 2. Settle Order
46
+
43
47
Settle a disputed order as an admin.
44
48
45
49
**Request:**
50
+
46
51
-`order_id`: UUID of the order to settle
47
52
-`request_id`: Optional request identifier
48
53
49
54
**Response:**
55
+
50
56
-`success`: Boolean indicating operation success
51
57
-`error_message`: Optional error message if operation failed
52
58
53
59
### 3. Add Solver
60
+
54
61
Add a new dispute solver.
55
62
56
63
**Request:**
64
+
57
65
-`solver_pubkey`: Public key of the solver to add (in bech32 format)
58
66
-`request_id`: Optional request identifier
59
67
60
68
**Response:**
69
+
61
70
-`success`: Boolean indicating operation success
62
71
-`error_message`: Optional error message if operation failed
63
72
64
73
### 4. Take Dispute
74
+
65
75
Take a dispute for resolution.
66
76
67
77
**Request:**
78
+
68
79
-`dispute_id`: UUID of the dispute to take
69
80
-`request_id`: Optional request identifier
70
81
71
82
**Response:**
83
+
72
84
-`success`: Boolean indicating operation success
73
85
-`error_message`: Optional error message if operation failed
74
86
75
87
### 5. Validate Database Password
76
-
Kept for backward compatibility. Database encryption has been removed; this RPC always succeeds and does not validate a password.
88
+
89
+
Kept for backward compatibility with older clients. The SQLite database is **not** encrypted and this RPC does **not** validate any password; it always succeeds.
77
90
78
91
**Request:**
79
-
-`password`: Ignored
80
-
-`request_id`: Optional request identifier
92
+
93
+
-`password`: Ignored (kept in the protobuf for compatibility only)
81
94
82
95
**Response:**
96
+
83
97
-`success`: Always `true`
84
98
-`error_message`: Always `None`
85
99
86
100
### 6. Get Version
101
+
87
102
Retrieve the Mostro daemon version.
88
103
89
104
**Request:**
105
+
90
106
- No parameters required
91
107
92
108
**Response:**
109
+
93
110
-`version`: String containing the daemon version (from CARGO_PKG_VERSION)
0 commit comments