Commit graph

240 commits

Author SHA1 Message Date
Kristaps Kaupe
f68ae8b9fa
Rename "sat/vkB" to "sat/kvB"
It's kilo virtual bytes, not virtual kilobytes.
2023-05-06 10:51:53 +03:00
Adam Gibson
3f7cc76080
Merge Joinmarket-Org/joinmarket-clientserver#1461: RPC-API: add ability to recover wallet
7f4eaa9846 RPC-API: add ability to recover wallet (Adam Gibson)

Pull request description:

  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.

Top commit has no ACKs.

Tree-SHA512: 7627a4107d37d47e973422fb1fab348d1e75426cbac6ac80008e08fb620e4ad6bb39c55bcd3ffdd9a727ba52797b12371ad9858a3d8ac4e4fa4d47f2a339fbf2
2023-04-06 11:04:05 -06:00
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
openoms
cb2ad2b845
docs: add restart config to directory node service 2023-02-28 14:11:07 +00:00
Kristaps Kaupe
f8af2bf1f6
Fix libsecp256k1 commit ids in docs 2023-02-05 15:34:25 +02:00
akhavr
9fe21745eb
Fix git command typos 2023-01-30 21:47:21 +00:00
Adam Gibson
9574cfc42f
release notes and version for v0.9.9 2023-01-29 13:02:31 -06:00
Kristaps Kaupe
71c0a84494
Merge JoinMarket-Org/joinmarket-clientserver#1396: Use python3's venv module instead of virtualenv
11ddec7841 docs: Remove now-confusing mentions of virtualenv (Carl Dong)
6e3b6eca5d Dockerfiles: Use Python venv instead of virtualenv (Carl Dong)
8bbca60641 install: Use python3's venv module when available (Carl Dong)

Pull request description:

  Python 3.3 and above provide a standard venv module which provides all the functionality that install.sh needs from virtualenv.

  Detect its existence and use it, fallback to virtualenv if not.

Top commit has no ACKs.

Tree-SHA512: 426ff4397e9142f991c3f091f6a17974a9f2fb694b652e40972a2323992d97c5817528d05dc1a17f7928ac7874ed7c96c076ae1818af2cd3def02cbae71ad512
2022-12-24 09:45:27 +02:00
Luke
44aea32a7c Fix typo in gettimelockaddress
Fix trivial typo in command line output and relative documentation.
Additionally, fix a couple extra typos.
2022-11-22 09:14:11 +00:00
Carl Dong
11ddec7841 docs: Remove now-confusing mentions of virtualenv 2022-11-07 13:50:39 -05:00
hellodarkness
50e31968b1 Update onion-message-channels.md
Updated to reflect that it's now required to provide a node message argument when starting the directory node.

Update onion-message-channels.md

Changed message argument to be the same in the explanation and service file for consistency.
2022-10-25 14:25:03 +01:00
Adam Gibson
b34b932679
Correction to docs: no coinjoin spends of FBs
Fixes #1369.
Prior to this commit, the docs on fidelity bonds stated that expired
fidelity bond utxos (which are spendable), can be spent in coinjoins as
a Taker, but that is not correct - they can only be spent in a
non-coinjoin transaction (direct send).
2022-10-07 15:58:37 +01:00
nyxnor
2749da174a change payjoin default binding port
avoid conflicts with onion messaging. #1371

change payjoin binding port on tests

correct payjoin documentation

squash payjoin binding port
2022-10-01 16:36:16 +00:00
Adam Gibson
a7e3eed318
add release notes and version for 0.9.8 2022-09-13 16:48:40 +01:00
Adam Gibson
28df2fc0e4
add release notes and version for 0.9.7 2022-08-28 13:58:16 +01:00
Adam Gibson
4f66c72441
Merge #1324: Change tumbler algo to cycle and add tests
b4e4f2a susbstantial rewrite of tumblerguide.md (Adam Gibson)
524cbda update Qt for new tumbler algo (Adam Gibson)
75c444e Update wallet_rpc for new tumbler code (Adam Gibson)
d0bf888 Remove mixdepthsrc from options, more tests (Adam Gibson)
7ffc747 fix lowest filled mixdepth algo (Adam Gibson)
e5ed7f2 remove erroneous txcount test and check destaddrs better (Adam Gibson)
c0df868 fix tumbler tweak test to account for mixdepth cycling (Adam Gibson)
d3dc9d7 Change tumbler algo to cycle and add tests (Adam Gibson)
2022-08-11 13:45:42 +01: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
Adam Gibson
32a4ac5b82
Merge #1307: rpc-api: scheduler status flag in session
190d56e fix: update schedule type in API docs (Daniel)
57d1476 fix: remove redundant else branch (Daniel)
2cb41fc review: reaqd schedule from taker object (Daniel)
521189a fix: add auth check (Daniel)
ab2803e fix: include schedule in session instead of status flag (Daniel)
12bcbe1 docs: add flag to session response spec (Daniel)
cde5cfb feat: scheduler status flag in session (Daniel)
2022-08-07 17:05:53 +01:00
Daniel
190d56e07b
fix: update schedule type in API docs 2022-08-04 16:33:40 +02:00
Adam Gibson
b4e4f2a37a
susbstantial rewrite of tumblerguide.md 2022-07-31 14:10:58 +01:00
Kristaps Kaupe
7f2c96513d
Fix "Using Tor as a Maker" table of contents link 2022-07-13 12:59:57 +03:00
Daniel
ab2803eca0
fix: include schedule in session instead of status flag 2022-06-28 14:06:33 +02:00
Adam Gibson
f8497f0a9c
add missing text to tor.md 2022-06-22 18:47:33 -06:00
Adam Gibson
9e41885823
Merge #1254: Script: Add bond-calculator.py
72bf447 Script: Add bond-calculator.py (PulpCattel)
2022-06-19 11:41:45 -06:00
Adam Gibson
adc11a134b
Add separate documentation for Tor configuration
Fixes #1277.
Adds a separate document tor.md detailing installation and configuration
requirements for both Makers and Takers, in particular details how to
configure for the serving of an ephemeral onion service.
2022-06-18 10:20:45 -06:00
PulpCattel
72bf4474dd Script: Add bond-calculator.py
Add a new helper module to calculate fidelity bonds values and stats, and a script to use it.
The goal is to give as much information as possible to the user before
committing to a fidelity bond.
2022-06-16 17:47:56 +00:00
Daniel
12bcbe1aa1
docs: add flag to session response spec 2022-06-13 11:18:49 +02:00
Kristaps Kaupe
4d4cae5f0c
docs: Creating Core wallet is required for v0.21+ 2022-05-30 23:46:52 +03:00
Adam Gibson
90fbf22990
Merge #1268: update TODO document as of 0.9.6
44b4473 update TODO document as of 0.9.6 (Adam Gibson)
2022-05-24 16:17:09 -05: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
Thebora Kompanioni
e42f8290b2
docs: fix link in SOURCING-COMMITMENTS.md
Redirect is not properly working, hence the direct link to https://reyify.com is used.
2022-05-16 12:39:10 +02:00
Thebora Kompanioni
94a43abbcf
docs: link to latest version of start-dn.py script
Also mentioned the script's name in the link again for someone doing full-text search.
2022-05-15 22:32:44 +02:00
Adam Gibson
44b44739c5
update TODO document as of 0.9.6 2022-05-11 12:41:32 +01:00
Adam Gibson
4c9c8d1f3c
Add release notes and version for 0.9.6 2022-05-07 13:40:04 +01:00
Adam Gibson
17c79f1982
Merge #1253: Change defaults for fidelity bond settings.
044bef6 Change default fidelity bond exponent settings. (Adam Gibson)
2022-05-04 14:45:03 +01:00
Adam Gibson
044bef6fff
Change default fidelity bond exponent settings.
Closes #1247.
This consists of an inclusion of the bond value exponent into the config
that the user can alter, and a change of that from 2 to default 1.3.
Also updates the fidelity bond documentation to account for those
changes, including the units used in ob-watcher, but not the calculation
of fidelity bond attack resistance (which remains a TODO).
2022-05-03 17:24:00 +01: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
3b3bd39597
Replaces test_full_coinjoin with test_e2e_coinjoin
The former was a stale test that we never got to a properly
working state, so we replace it with test/e2e-coinjoin-test.py
which does the same job more effectively, using the RPC-API.
Also removed the old file from parameters of run_tests script.
2022-04-09 19:24:26 +01:00
Adam Gibson
56402af72b
update docs for new port 2022-04-08 11:20:42 +01:00
laanwj
704ffcfb7e docs: Add required port for directory_nodes in doc
`:80` needs to be provided otherwise parsing will fail with

    Failed to load directory nodes: InvalidLocationStringError('3kxw6lf5vf6y26emzwgibzhrzhmhqiw6ekrek3nqfjjmhwznb2moonad.onion')

This is correct in the auto-generated configuration file, but not in the
document.

Also mention that even for UNIX sockets, it's necessary to specify `tor_control_port`.
2022-04-07 17:37:32 +00:00
Adam Gibson
52eeeb09b9
Merge #1182: Only onion message channels
5cc1695 Disconnection logic fixes, add btcnet to handshake (Adam Gibson)
830ac22 Allow taker peers to not serve onions + bugfixes. (Adam Gibson)
fd550ee Onion-based message channels with directory nodes (Adam Gibson)
2022-04-05 17:32:14 +01:00
Adam Gibson
5cc1695154
Disconnection logic fixes, add btcnet to handshake
Also, exports JMMakerClientProtocol for custom directory node scripts
(stored in the custom-scripts repo).
Modify default config with 2 signet and mainnet directory nodes to
start.
Handles unreachable directory nodes with a human readable error and
adjusts connection timeouts to be realistic.
Changes wording in Qt notifications from "IRC" to message channel.
Updates docs, new directory node information.
2022-04-03 14:54:46 +01:00
Kristaps Kaupe
90ec479422
Document wallet creation for old Core versions 2022-04-02 21:02:04 +03:00
W. J. van der Laan
2bca836569
doc: Document use of legacy wallet in USAGE.md
Mention the creation of a legacy wallet in USAGE.md. This is currently
important because of the use of `importmulti` RPC which doesn't exist for
the new descriptor wallets.
2022-04-02 21:01:47 +03:00
Adam Gibson
830ac22934
Allow taker peers to not serve onions + bugfixes.
In the previous commit, all peers served an onion.

After this commit, taker client instances will automatically
send a config var to the jmdaemon backend that instructs
the OnionMessageChannel instance to not start an onion service,
and the handshake messages sent by these peers replace the
onion location with a placeholder string NOT-SERVING-ONION.
Directories and maker peers will not therefore to connect outbound
to them, but privmsging still happens p2p with connections from
takers to makers after the directory has communicated their
reachable .onion addresses.
This change reduces the configuration requirement for takers and
is better for their privacy and security (without sacrificing
the gain we get from having p2p connections).
The above comments re: takers also apply to ob-watcher bots.

This commit also fixes a large number of minor bugs and errors in
documentation, as well as many Python cleanups after review from
@PulpCattel. A few concrete items are:
It fixes the ob-watcher functionality to work with the new subclass
of MessageChannel (OnionMessageChannel).
It corrects the on_nick_leave trigger to make dynamic nick switching
between MessageChannels (as implemented in MessageChannelCollection)
work correctly.
It corrects the order of events in the add_peer workflow to ensure that
a handshake can always be sent so that the activation of the connection
always works.
It sets a default messaging config with onion, 2 active IRC servers and
one inactive IRC server. The onion config has 2 signet directory nodes,
so this will change to mainnet after the PR is merged to master.
2022-03-29 12:15:46 +01:00