Commit graph

17 commits

Author SHA1 Message Date
Adam Gibson
7f4eaa9846
RPC-API: add ability to recover wallet
Fixes #1082:

This commit allows recovery of a wallet from a seedphrase
with a new endpoint wallet/recover. 4 parameters are passed in,
the same three as for wallet/create but also a bip39 seedphrase
as the fourth argument.

This commit also adds a rescanblockchain RPC call and status:

This adds a new endpoint /rescanblockchain which is (Core) wallet specific
(due to underlying JM architecture). This action is spawned in a thread,
since the bitcoind RPC call is blocking and can take a very long time.
To monitor the status of the rescan, an extra field `rescanning` is
added to the /session endpoint.

Also adds test of rpc wallet recovery
2023-03-23 10:47:12 -06:00
Adam Gibson
b2ab4db95a
add nickname field to session response 2022-08-08 14:13:18 +01:00
Adam Gibson
8ee6b39d13
Report offerlist in /session call if possible
This partially addresses #1326. If the maker service is running,
we return the offerlist in the /session API call, as suggested there.
2022-08-08 12:11:15 +01:00
Daniel
190d56e07b
fix: update schedule type in API docs 2022-08-04 16:33:40 +02:00
Daniel
ab2803eca0
fix: include schedule in session instead of status flag 2022-06-28 14:06:33 +02:00
Daniel
12bcbe1aa1
docs: add flag to session response spec 2022-06-13 11:18:49 +02:00
Adam Gibson
ea6c34d81c
update yaml for new available_balance fields 2022-05-17 20:27:22 +01:00
Adam Gibson
d16f16e879
Merge #1260: Allow specifiying options for taker/schedule API endpoint
3f358ed Add options to scheduler API endpoint (Daniel)
2022-05-16 16:48:43 +01:00
Daniel
3f358edf8f
Add options to scheduler API endpoint 2022-05-16 16:33:35 +02:00
Adam Gibson
930c25fa27
Merge #1252: Add RPC API endpoint for tumbler
1d5728f Fix duplicated log issue (Daniel)
43b4eca Add api docs (Daniel)
a2d6f40 Add rpc endpoint for tumbler (Daniel)
2022-05-03 13:32:33 +01:00
theborakompanioni
7e4d2b1002
docs: clarify handling of optional auth token in session endpoint 2022-04-20 15:21:55 +02:00
Daniel
43b4eca8ec
Add api docs 2022-04-20 11:53:21 +02:00
Adam Gibson
beaa8b0170
fixes to API and return format 2022-01-30 16:22:05 +00:00
Adam Gibson
89896e0d74 Add yieldgen report endpoint to API
Fixes #1122. An RPC client can request the list
of coinjoins as shown in the file datadir/logs/yigen-statement.csv.
Authentication is not required, nor a specific wallet, as this is
a global list of all coinjoins done so far. A 404 is returned if
the file has not yet been created (no maker operations).
2022-01-30 13:08:24 +00:00
Adam Gibson
16cc17c180
address linting complaints of openapi for RPC spec file 2022-01-28 13:37:03 +00:00
Dennis Reimann
1acadb77ae
Self-host redoc js 2022-01-27 17:09:50 +01:00
Dennis Reimann
91c2c480f8
API documentation via ReDoc 2022-01-26 16:04:00 +01:00