Commit graph

286 commits

Author SHA1 Message Date
roshii
ea9557ba69 chore(deps): bump python upper version
chore(docs): update python version requirement
2025-10-28 10:52:22 +01:00
3np
b4e3fdda47 Update minimum supported Bitcoin Core version to 28.1 2025-10-27 23:41:40 +00:00
merge-script
992d798e5c
Merge JoinMarket-Org/joinmarket-clientserver#1536: RPC-API: Implement message signing
646999179b RPC-API: Implement message signing (Kristaps Kaupe)

Pull request description:

  Resolves #1533.

  My first attempt at adding new RPC-API endpoint, there could be mistakes.

  Didn't add tests in `jmclient/test/test_wallet_rpc.py` as message signing is currently supported for mainnet only, not regtest (but I tested HTTP 400 response with regtest).

Top commit has no ACKs.

Tree-SHA512: 927b1f97ef903e48f82aa3ae70c7ead05c919a28d016d1ad4fd9c7a8299f8faa7606c30ef24af0ce3cd504e8e27b37bc55d1989bf89da88572ac79af0e60ec12
2025-10-19 21:26:01 +03:00
Kristaps Kaupe
646999179b
RPC-API: Implement message signing 2025-10-19 21:19:51 +03:00
merge-script
1b28c942be
Merge JoinMarket-Org/joinmarket-clientserver#1782: Update minimum supported Bitcoin Core version to 29.0
f952d7df2d Update minimum supported Bitcoin Core version to 29.0 (Kristaps Kaupe)

Pull request description:

  We should not recommend anything older, there have been vulnerabilty fix. https://bitcoincore.org/en/2025/04/28/disclose-cve-2024-52919/

Top commit has no ACKs.

Tree-SHA512: 398ece746c629a3a4adfc173580bc9420c450b2e7b98f657cc22c03642d116ed5b29cfe367d832de98d943f05818dcc3301a95cd2e0a329f1a0deae4f1b22d40
2025-10-17 22:38:53 +03:00
Kristaps Kaupe
f952d7df2d
Update minimum supported Bitcoin Core version to 29.0
We should not recommend anything older, there have been vulnerabilty fix. https://bitcoincore.org/en/2025/04/28/disclose-cve-2024-52919/
2025-10-17 22:32:11 +03:00
Nischal Shetty
d615688df3 Update GetAddressResponse schema to return an object with address property 2025-06-26 13:24:17 +05:30
Kristaps Kaupe
f3630dc10b
Support Bitcoin Core descriptor wallets (quick and dirty way)
Co-authored-by: laanwj <126646+laanwj@users.noreply.github.com>
2025-04-22 21:03:55 +03:00
merge-script
5fd2c99509
Merge JoinMarket-Org/joinmarket-clientserver#1696: RPC API endpoint to get wallet rescan status
5b47d1c906 RPC API endpoint to get wallet rescan status (Kristaps Kaupe)

Pull request description:

  https://github.com/JoinMarket-Org/joinmarket-clientserver/pull/1461#issuecomment-2079276604

Top commit has no ACKs.

Tree-SHA512: f2a641b8b601985d4b2d88f643f37540a7b247b01616d640c8f244c9762dcb5a8cbcffb8dc9b87889d54a5d0833a7753c7f0a3e77908a7208400d44e8262fe30
2025-04-16 18:27:12 +03:00
merge-script
59cd73c6c1
Merge JoinMarket-Org/joinmarket-clientserver#1745: Bump minimum required Bitcoin Core version from 24.0.1 to 25.1
6baf4a542d Bump minimum required Bitcoin Core version from 24.0.1 to 25.1 (Kristaps Kaupe)

Pull request description:

  Security vulnerability has been disclosed for versions older than 25.1, which are also currently EOL. https://bitcoincore.org/en/2024/11/05/cb-stall-hindering-propagation/

ACKs for top commit:
  MarnixCroes:
    ACK 6baf4a542d

Tree-SHA512: 439fe1f8ca85cbd6483b51ae2aa21046ceff2008f90b40d1c85b9dc8728c117f7a1b7be26223ee0fc6e41c0bf809a06eb64700b0d4e67c6509acea7f448ca423
2024-11-14 07:27:37 +02:00
merge-script
4e9a08d042
Merge JoinMarket-Org/joinmarket-clientserver#1744: doc: small install doc updates
6de1bab323 doc: small install doc updates (Marnix Croes)

Pull request description:

  Small doc improvements/updates

ACKs for top commit:
  kristapsk:
    ACK 6de1bab323

Tree-SHA512: 8b09046b7835a51a324e3e7b44fe71e4ef57d707342bc24ee38505a0bdfe2e1ddaf33d38de67ed368b6c1b5f72d178438335916cc91b26ea9893ab6a59345b9f
2024-11-05 22:22:37 +02:00
Kristaps Kaupe
6baf4a542d
Bump minimum required Bitcoin Core version from 24.0.1 to 25.1
Security vulnerability has been disclosed for versions older than 25.1, which are also currently EOL. https://bitcoincore.org/en/2024/11/05/cb-stall-hindering-propagation/
2024-11-05 22:18:17 +02:00
Marnix Croes
6de1bab323 doc: small install doc updates 2024-11-04 20:51:44 +01:00
Kristaps Kaupe
d53b9026b3
doc: Tor control auth cookie file must be group readable 2024-11-04 03:19:14 +02:00
Kristaps Kaupe
b456968c8f
Bump minimum required Bitcoin Core version from 22.0 to 24.0.1
Security vulnerability has been disclosed for versions older than 24.0.1, which are also currently EOL. https://bitcoincore.org/en/2024/09/18/disclose-headers-oom/
2024-09-19 16:12:21 +03:00
Kristaps Kaupe
ee4a3fa75f
Bump minimum required Bitcoin Core version from 0.18 to 22.0
There have been multiple vulnerabilities disclosed for older versions, we should not recommend people using them.

* Disclosure of memory DoS due to malicious P2P message - https://bitcoincore.org/en/2024/07/03/disclose-inv-buffer-blowup/
* Disclosure of CPU DoS due to malicious P2P message - https://bitcoincore.org/en/2024/07/03/disclose-getdata-cpu/
* Disclosure of crash due to malicious BIP72 URI - https://bitcoincore.org/en/2024/07/03/disclose-bip70-crash/
* Disclosure of netsplit due to malicious P2P messages by first 200 peers - https://bitcoincore.org/en/2024/07/03/disclose-timestamp-overflow/
* Disclosure of CPU/memory DoS due to many malicious peers - https://bitcoincore.org/en/2024/07/03/disclose-unbounded-banlist/
* Disclosure of censoring unconfirmed transactions to a specific victim - https://bitcoincore.org/en/2024/07/03/disclose_already_asked_for/
* Security advisories for bugs fixed as of Bitcoin Core v22.0 - https://github.com/bitcoin-core/bitcoincore.org/pull/1049
2024-08-09 12:19:30 +03:00
Simon Castano
12d6b5aa06 Bump compatible Python version to 3.12
Signed-off-by: Simon Castano <roshii@riseup.net>
2024-05-19 18:09:51 +02:00
Kristaps Kaupe
5b47d1c906
RPC API endpoint to get wallet rescan status 2024-04-28 14:28:52 +03:00
Marnix
4040aced18 update sourcing commitments link 2024-03-28 10:43:47 +01:00
Marnix
26c157d2f9 small fixes/updates in tumblerguide doc 2024-03-28 10:38:12 +01:00
Kristaps Kaupe
f5da629139
Merge JoinMarket-Org/joinmarket-clientserver#1683: update installation doc
6e33686ccb update Installation on Linux (Marnix)

Pull request description:

  .

ACKs for top commit:
  kristapsk:
    ACK 6e33686ccb

Tree-SHA512: 62d200dee12d6f076367d18fa3978d16be5e5c65687de764eef904f7f4d4a53a37e010d7f1cb243c2acd0da7129d849202d0ea9692a7a5c429f18c808257e176
2024-03-08 14:42:11 +02:00
Marnix
6e33686ccb update Installation on Linux 2024-03-08 12:50:43 +01:00
Kristaps Kaupe
24feda79d3
Fix / remove broken links 2024-02-25 20:53:02 +02:00
Kristaps Kaupe
053e9d882c
Release notes and version for v0.9.11
Co-authored-by: Marnix <93143998+MarnixCroes@users.noreply.github.com>
2024-02-20 21:48:33 +02:00
Marnix
a5a5132160 update payjoin doc
remove old dead links
2024-02-14 16:46:55 +01:00
Kristaps Kaupe
658bb00982
Merge JoinMarket-Org/joinmarket-clientserver#1639: Drop Python 3.7 support
204f1171c2 Drop Python 3.7 support (Kristaps Kaupe)

Pull request description:

  It's EOL since 27 Jun 2023 and 3.8+ is required for #1637.

  Also mentioned in docs that JoinMarket is currently not compatible with 3.12 (#1589).

ACKs for top commit:
  AdamISZ:
    utACK https://github.com/JoinMarket-Org/joinmarket-clientserver/pull/1639/commits/204f1171c21cb40654eca73380ae7885f859e88d
  roshii:
    utACK 204f1171c2

Tree-SHA512: 39ee96aca5e305b894e97a2a843d748a645becbfca1bc9e35f02f33c4634a4f7fee37fd36115510cc052e1d11497dceee2d0fafa12d006dd005d050e5ea1cc9f
2024-01-30 19:15:35 +02:00
Kristaps Kaupe
adc73e9bed
Merge JoinMarket-Org/joinmarket-clientserver#1645: Qt: Remove donation link from "About" dialog
9ab8ad632e Remove mention of donations from JoinMarketQt guide (Kristaps Kaupe)
cb6077498c Qt: Remove donation link from "About" dialog (Kristaps Kaupe)

Pull request description:

  Donation address link was removed from README in #1611, as it is not in control of any of the current active developers. This removes it also from JoinMarketQt "About" dialog.

Top commit has no ACKs.

Tree-SHA512: 5ea77093dbc94d08f7757eac75a32cabe46272d080fc931194840886d63bd7d5d337be8564a2755df3a32ea34632641e7a42068d41cd87a525801bd66df35827
2024-01-30 19:10:53 +02:00
Kristaps Kaupe
9ab8ad632e
Remove mention of donations from JoinMarketQt guide 2024-01-27 13:05:46 +02:00
Kristaps Kaupe
ab1481d814
RPC API: Add optional txfee property for single joins 2024-01-27 01:13:36 +02:00
Kristaps Kaupe
204f1171c2
Drop Python 3.7 support 2024-01-20 11:43:16 +02:00
d11n
13661f515e
Docs: Fix links in Docker install section 2023-12-18 18:14:26 +01:00
Kristaps Kaupe
79e5c3d0a7
Document Core wallet creation for v26 2023-12-07 06:48:09 +02:00
Kristaps Kaupe
d8f1fc42d4 Add optional txfee property for direct-send wallet RPC 2023-11-19 10:18:41 +02:00
roshii
c2a6b3d6c6 Rephrase hidden service dir config, lint 2023-11-04 15:16:20 +01:00
theborakompanioni
638200d346
feat(rpc): add block height to session response 2023-10-15 18:32:24 +02:00
roshii
c88429d41a JWT authority fixes 2023-10-06 20:39:39 +02:00
roshii
c8eef50e93 Migrate to modern packaging and src layout 2023-10-05 19:32:20 +02:00
Adam Gibson
d72cafd61b
Merge Joinmarket-Org/joinmarket-clientserver#1556: Update release-notes-0.9.10.md
c9c4648ee1 Update release-notes-0.9.10.md (Bitcoin Belly Button)

Pull request description:

  Added instructions on how to recreate the joinmarket.cfg when upgrading,

Top commit has no ACKs.

Tree-SHA512: 2fb03e049972371514ba4e58b71bf3b55967f2d0f338c7bbadec1df33beb70c5605b403dc2962c908b931abfd0972be115b216d45b8f0d329a0c3323f6c00277
2023-09-28 09:08:04 -06:00
Bitcoin Belly Button
c9c4648ee1
Update release-notes-0.9.10.md
Added instructions on how to recreate the joinmarket.cfg when upgrading,
2023-09-20 10:18:30 -04:00
roshii
ef29982e54 remove bearer authentication errors 2023-09-20 11:50:01 +02:00
theborakompanioni
af9f462690
fix(docs): remove duplicate keys in wallet-rpc.md 2023-09-19 14:03:57 +02:00
Adam Gibson
6e6e68b1ca
Merge Joinmarket-Org/joinmarket-clientserver#1480: Decode JWT token for validation
b2822ddb95 Implement wallet RPC's JWT token authority (roshii)

Pull request description:

  Implement `jmclient.auth` module to manage JWT.

  Upon successful authentication (e.g. unlock wallet), response includes both a `token` and a `refresh_token`. The former can be used for call authentication, valid for 30 min. After expiration, user can call `/token/refresh` endpoint with his expired access token in header and refresh token in POST call payload to get both a new access and refresh token. Refresh token is valid for 4 hours.

  Anytime a new access token is issued, refresh token signature key is re-initialized, invalidating any previously issued token.
  Tokens are scoped to a specific `wallet_name` and a generic `walletrpc` category, and should allow future upgrades such as authorization granularity.

  Fixes https://github.com/JoinMarket-Org/joinmarket-clientserver/issues/1297

Top commit has no ACKs.

Tree-SHA512: 44dd4338ceace04f838e92dae35b0df16b7d01d92599af57eb2652a9dcea0a41663128eec88f3e76efa0b6729a4b202122760b9ee0920863c128c0ec0ab2c83d
2023-09-04 11:53:32 -06:00
roshii
b2822ddb95 Implement wallet RPC's JWT token authority 2023-08-29 21:34:53 +02:00
Kristaps Kaupe
9f10af3adf
Release notes and version for v0.9.10 2023-08-28 22:55:22 +03:00
Adam Gibson
c9f6ac8610
RPC-API: add getinfo endpoint.
This commit creates a new endpoint /getinfo which currently returns only
the version of Joinmarket (JM_CORE_VERSION) running in the backend
joinmarketd. In future commits the returned dict may add more
information, for example the current block height of the connected
Bitcoin Core node.

Additionally, this commit fixes the response type of the
/rescanblockchain endpoint as defined in the OpenAPI spec.
2023-08-11 08:50:56 -06:00
Kristaps Kaupe
9f4da21172
Document requirement of Python 3.7 or newer 2023-08-05 19:46:53 +03:00
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