Commit graph

576 commits

Author SHA1 Message Date
Adam Gibson
77a426c504
add release notes for 0.9.12 2026-04-20 12:34:06 -03:00
Kristaps Kaupe
395050cfa4 Use coins_to_satoshi() and satoshi_to_coins() from bitcointx everywhere 2025-04-16 18:46:40 +03:00
Kristaps Kaupe
a5711bc150
Merge JoinMarket-Org/joinmarket-clientserver#1702: Handle None enter_seed_callback() response
8eb55be6e0 Handle None enter_seed_callback() response (Kristaps Kaupe)

Pull request description:

  Fixes #1698. Also added type hints.

Top commit has no ACKs.

Tree-SHA512: c5d6e9f0dd63528013c64556086b119a0b25e24f10d683f21c43bf88f794d02d8da28191f05e3bcb204ed2d43cba314962536c62e24c46334644234b458220d3
2024-05-16 21:08:19 +03:00
Kristaps Kaupe
8eb55be6e0
Handle None enter_seed_callback() response 2024-05-11 11:32:28 +03:00
Kristaps Kaupe
bc8f499fd2
Merge JoinMarket-Org/joinmarket-clientserver#1685: ob-watcher.py: Redirect back to / after /refreshorderbook and /rotateOb
8798b8bc6e Redirect back to / after /refreshorderbook and /rotateOb (Kristaps Kaupe)

Pull request description:

  Fixes #1684.

Top commit has no ACKs.

Tree-SHA512: 3f4ff430888e3cc200ab956ffc84321d54d59ebde69b49dc78ca7534833e0bb06131a6216dfa1791e3ee2998019de5ec58d0f18e03b2efc6e0b02cea3e26ca47
2024-05-10 20:11:23 +03:00
Kristaps Kaupe
8798b8bc6e
Redirect back to / after /refreshorderbook and /rotateOb 2024-05-10 18:05:51 +03:00
Kristaps Kaupe
085ef0822a
Merge JoinMarket-Org/joinmarket-clientserver#1676: Multiple (batch) payment support in direct_send()
f3f4f0a4fb Multiple (batch) payment support in `direct_send()` (Kristaps Kaupe)

Pull request description:

  Work towards #1012. Changes `direct_send()` to instead of single `amount` and `destination` to accept `dest_and_amounts` which is list of tuples of addresses and amounts instead. Haven't yet implemented and tested actual payments to multiple recipients, but tested that this doesn't break existing stuff.

Top commit has no ACKs.

Tree-SHA512: 02195a28d071c9537cb5297e63854ad2571e0ae9b5e06b850d6173c47d53caae953e9d7671ff861a6584a104d7a59da2293781d4440f7db4814f9b2fc4116c46
2024-04-25 15:49:14 +03:00
Kristaps Kaupe
9dbad65b9f
Merge JoinMarket-Org/joinmarket-clientserver#1678: Refactor: move bitcoin unit conversion functions from ob-watcher.py to jmbitcoin
6e5cdc81ae Refactor: move bitcoin unit conversion functions from ob-watcher to jmbitcoin (Kristaps Kaupe)

Pull request description:

  Get rid of `satoshi_to_unit_power()` and `satoshi_to_unit()` in `scripts/obwatch/ob-watcher.py`, move that code where it belongs, to `src/jmbitcoin/amount.py`, with the rest of bitcoin unit conversion functions.

Top commit has no ACKs.

Tree-SHA512: 5d61d6148d283607a9fd8296788d409f9c86c7ca99a47e0c99ecf8ea6504214e867f94b3f889cd0e17aee0533b50115df32a1e6a75bd1326fe0e6ce9aa19e8ef
2024-03-12 11:18:22 +02:00
Kristaps Kaupe
6e5cdc81ae
Refactor: move bitcoin unit conversion functions from ob-watcher to jmbitcoin 2024-02-28 13:33:04 +02:00
Kristaps Kaupe
f3f4f0a4fb
Multiple (batch) payment support in direct_send() 2024-02-24 02:05:50 +02:00
Kristaps Kaupe
904b780b80
Unify cli user input code where limited range of answers are allowed 2024-02-22 20:29:38 +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
Kristaps Kaupe
cde6b4ca9a
Fix no amount entered message (can be sats too, not only BTC) 2024-02-14 12:58:06 +02:00
Kristaps Kaupe
d89dcdeaf8
Remove convert_old_wallet.py script
Old wallet format isn't used for years and script is broken since
removal of pyaes dependency. If somebody still needs it, he can use
older JoinMarket version to do conversion.
2024-02-01 21:38:46 +02:00
Kristaps Kaupe
cb6077498c
Qt: Remove donation link from "About" dialog 2024-01-27 03:23:39 +02:00
Kristaps Kaupe
8319870345
Merge JoinMarket-Org/joinmarket-clientserver#1636: Allow absurd fee override when setting tx fee manually
196a097667 Allow absurd fee override when setting tx fee manually (Kristaps Kaupe)

Pull request description:

  When user manually specifies `--txfee` with `sendpayment.py`, he likely knows what he is doing. So allow there fees above `absurd_fee_per_kb` setting. But still ask for user confirmation as he could possible made a mistake, for example, added some extra zeros to the value.

Top commit has no ACKs.

Tree-SHA512: 2155c38a483fd6392153bf42b2ea87cb9395f0da289cc2743602493df9e924a1d621688704a46d179e3e574ce41e82ced26b62331157ac2c3d1481931a334ace
2024-01-22 15:49:33 +02:00
Kristaps Kaupe
3d568376a9
Remove unnecessary check for Python 3.7+ 2024-01-20 11:22:31 +02:00
Kristaps Kaupe
196a097667
Allow absurd fee override when setting tx fee manually 2024-01-17 16:45:23 +02:00
Kristaps Kaupe
c990a4da6b
Allow fee bump tx not signalling BIP125 if mempoolfullrbf is enabled 2023-11-24 12:38:15 +02:00
Kristaps Kaupe
b65a5f35af
Update version to 0.9.11dev 2023-08-30 01:07:49 +03:00
Kristaps Kaupe
9f10af3adf
Release notes and version for v0.9.10 2023-08-28 22:55:22 +03:00
roshii
4e5d894007 Remove imports from future and past 2023-08-07 07:58:28 +02:00
roshii
dd0176e68d Check wallet lock file before asking for password
Co-authored-by: Wukong <BitcoinWukong@proton.me>
2023-08-03 10:39:46 +02:00
Kristaps Kaupe
34c0c451d5
Add -l/--label-change option to sendpayment.py to automatically label change address 2023-04-12 23:11:28 +03:00
Kristaps Kaupe
2c4c3d3eb9
Merge JoinMarket-Org/joinmarket-clientserver#1457: Signal BIP125 opt-in RBF for non-cj sends by default
907f1b0603 Signal BIP125 opt-in RBF for non-cj sends by default (Kristaps Kaupe)

Pull request description:

  This seems to be direction where everybody is going. Wasabi Wallet 2.0 does this, Electrum does this. I see no downsides here.

  Before this you could signal opt-in RBF only from `sendpayment.py`, but not Qt GUI.

  Will be more useful after #1019 is merged, but power users already can use other tools to construct replacement transactions.

ACKs for top commit:
  AdamISZ:
    tACK https://github.com/JoinMarket-Org/joinmarket-clientserver/pull/1457/commits/907f1b060353dfbbfdf31ebc85f2ecb3c3b209fe

Tree-SHA512: 8909263e983fb17bac8cfea17532b391ad502f1a69e3079b1e1361177659628ede5de2eb85ed8fbbb7395bfd270a8b5f3d8916817033baa0b81561787bffe876
2023-03-25 21:43:44 +02:00
Kristaps Kaupe
907f1b0603
Signal BIP125 opt-in RBF for non-cj sends by default 2023-03-20 01:52:13 +02:00
Tim Akinbo
eeb362be6c
added bumpfee.py script for bumping fees for rbf transactions
refactoring to improve readability and testing

added support for taking the fee from multiple owned outputs as needed

added unit tests

removed same mixdepth restriction for inputs

added option for specifying which output to deduct fees from

added additional test cases

refactoring: moved tx_vsize to jmbitcoin package

added a sanity check to ensure that the transaction id supplied belongs to our wallet

fixed a linting error
2023-03-08 17:39:09 +00:00
Adam Gibson
55285e3847
update version 0.9.10dev 2023-02-02 09:34:22 -06:00
Adam Gibson
9574cfc42f
release notes and version for v0.9.9 2023-01-29 13:02:31 -06:00
Kristaps Kaupe
4f0eebc68d
Apply all current shellcheck suggestions to rest of the scripts 2022-12-29 08:52:36 +02:00
Carl Dong
11ddec7841 docs: Remove now-confusing mentions of virtualenv 2022-11-07 13:50:39 -05:00
Adam Gibson
501b5f0dac
Merge #1301: ob-watcher: tackle stale orders by first removing all of them
ace9996 ob-watcher: tackle stale orders by first removing all of them (Tim Akinbo)
2022-10-08 14:55:27 +01:00
Kristaps Kaupe
d6d40df606
Allow amounts below DUST_THRESHOLD (0.00027300 BTC) for non-cj direct sends 2022-09-28 17:20:29 +03:00
Kristaps Kaupe
9d9035b43f
Fix sendpayment without amount argument, BIP21 only
Fixes bug introduced with 83c6bc053a
2022-09-25 15:08:24 +03:00
Kristaps Kaupe
46013d2ef4
chmod +x scripts/jmwalletd.py 2022-09-17 20:56:49 +03:00
Adam Gibson
f1f3972aa1
update version to 0.9.9dev 2022-09-15 14:53:57 +01:00
Adam Gibson
a7e3eed318
add release notes and version for 0.9.8 2022-09-13 16:48:40 +01:00
Adam Gibson
ed6f745372
update version for 0.9.8dev 2022-08-28 18:17:46 +01:00
Adam Gibson
28df2fc0e4
add release notes and version for 0.9.7 2022-08-28 13:58:16 +01:00
theborakompanioni
2b277b0ff2
fix(ob-watcher): consistent orderbook.json response 2022-08-18 23:26:02 +02:00
Adam Gibson
524cbda886
update Qt for new tumbler algo 2022-07-31 12:29:01 +01:00
Adam Gibson
75c444e9b2
Update wallet_rpc for new tumbler code 2022-07-29 17:53:43 +01:00
Adam Gibson
d0bf888971
Remove mixdepthsrc from options, more tests 2022-07-29 13:01:59 +01:00
Adam Gibson
d3dc9d7bbd
Change tumbler algo to cycle and add tests
Prior to this commit, the tumbler algorithm assumed that destination
mixdepths of INTERNAL transactions were incremented by 1, but the
underlying taker code uses (mod maxmixdepth) logic always. This commit
takes the decision to make the usage of the wallet "purely" cyclic, that
is, not only the Taker object but also the tumbler algorithm now always
treat the wallet as a cycle. This is not problematic in a tumbler
algorith (or any other schedule generation algorithm), as long as we use
the strict rule of "always exit each mixdepth with a sweep", which the
tumbler always did and this commit does not change.
Also, and importantly, several much more detailed tests of the tumbler
schedule generation have been added.
2022-07-25 22:02:55 +01:00
Kristaps Kaupe
83c6bc053a
Allow bitcoin: prefix for addresses with sendpayment.py 2022-07-08 17:21:43 +03: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
Tim Akinbo
ace9996d8e ob-watcher: tackle stale orders by first removing all of them
when checking for timed-out counterparties (or refreshing the
orderbook), stale entries are preserved because those peers
disconnected prematurely. This fix prevents that issue by
first removing all entries before requesting for the orderbook.
2022-06-07 06:36:17 +00:00
Adam Gibson
5b38ea509c
Merge #1266: Display the account xpub in QT interface
d95e279 Display the account xpub in QT interface (Wukong)
2022-05-24 17:02:24 -05:00
Wukong
d95e279d98 Display the account xpub in QT interface 2022-05-16 18:59:20 -07:00
Wukong
015cb4aa20 If there is unavailable fund, display 2 balances: total balance and unlocked balance.
For frozen balances, display a label "FROZEN" in the status notes.
For unconfirmed balances, display a label "PENDING" in the status notes.

Both FROZEN and LOCKED balances are considered unavailable balances, while PENDING balance is considered available balance.
Because it is possible to broadcast a transaction that spends unconfirmed balance, while a user has to manually unfreeze
the balance or wait until the timelock has expired before they can use FROZEN or LOCKED balances.
2022-05-12 18:05:08 -07:00