Commit graph

11 commits

Author SHA1 Message Date
AdamISZ
28abddf062
Implement payjoin (p2ep) direct payment joins
- update mktx() to allow optional locktime setting (and sequence)
- add a mk_shuffled_tx method to the wallet module
- add a P2EPTaker and P2EPMaker class (inherit from Taker, Maker)
- add a -T option to sendpayment script for doing payjoins
- add a receive_payjoin script for receivers.
- add payjoin tests in jmclient/test/test_payjoin.py
- add a custom utxo selection method select_one_utxo to support.py
- support bech32 wallets (SegwitWallet, p2wpkh) with native=true
  in config POLICY for PayJoin and direct send (not Joinmarket CJ)
- add a PayJoin.md usage guide in docs/
- include version bytes in pubkey message for forward compat
- taker pays fees but controls size (utxo number and fee/kB)
- add P2WPKH fee estimator
- Enforce INFO level logging in payjoin
- refactors regtest config settings into one place
- bugfix: script_to_address vbyte argument is bytes not integer
2019-01-19 16:46:40 +01:00
James Hilliard
6dc3504f8a Convert jmclient to py3 style 2018-12-06 02:40:36 +08:00
undeath
a2c74ee563
add random-under-max order chooser 2018-11-01 23:44:54 +01:00
Kristaps Kaupe
fdd0d11919 Remove --rpcwallet CLI option
It is not working (not implemented) since 995c123eec
2018-10-21 23:06:59 +03:00
chris-belcher
b52bc06acf
Switch over to using labels instead of accounts
Bitcoin Core 0.17 deprecates the accounts feature and replaces it with
labels. The RPC functions using accounts still work for use with older
version of Core.
2018-10-09 16:49:51 +01:00
Kristaps Kaupe
4f29990526 More clear description of sendpayment -P option 2018-06-27 01:33:16 +03:00
Adam Gibson
2424104c5a
allow non-zero starting mixdepth in tumbler 2017-05-14 17:09:43 +02:00
Adam Gibson
73ebfc8ac2
add schedule syntax explanation 2017-02-14 14:30:43 +02:00
Adam Gibson
074afc3106
Permit restart of tumbler with flag, persist state of tumbler in schedule file.
Also fixes minor bug in blockr data read.
Modifies schedule syntax to include complete/incomplete flag, so if
restart is chosen then the schedule is continued from the first
incomplete transaction in the sequence.
2017-02-10 14:42:45 +02:00
Adam Gibson
5b5512865a
Taker can abort the tx and schedule
Clean up some stale comments. Small bugfix in cli-options.
2017-01-20 00:06:08 +07:00
Adam Gibson
1cec53b7d5
Implemented tumbler
Refactor parsers into separate module (more code reuse to do).
Add a tumbler schedule generator in jmclient/schedule.py.
Alter syntax of schedules; taker interprets fractional amounts
as percentage of mixdepth (for tumbler), and integers as satoshi,
zero still sweep.
TODO tumbler is only a minor delta from sendpayment, fold them together.
2016-12-27 17:01:57 +02:00