Commit graph

17 commits

Author SHA1 Message Date
Adam Gibson
b6e2576c3a
BIP78 sender protocol via daemon
This PR creates a client-daemon protocol for
the BIP78 sender, using the base protocol
`HTTPPassThrough` which provides tor and non-tor
agents with POST and GET request functionality.
As for Joinmarket coinjoins, the use of an in-process
daemon is the default option, but it can be isolated
by changing the `[DAEMON]` section of the config.
The receiver side of BIP78 will be addressed in a
future PR.
2021-03-14 11:53:51 +00:00
Adam Gibson
53a1822fa6
Adds SNICKER functionality
For detailed description of functionality in
this commit, see the newly created docs/SNICKER.md
2021-02-18 11:05:54 +00:00
Adam Gibson
c7ee7ecf71
bugfix: remove P2EP factory from joinmarketd 2020-10-14 15:48:01 +01:00
Kristaps Kaupe
3876c1cf97 Change shebang to python3 and +x for scripts 2020-05-04 23:48:19 +03:00
nixbitcoin
c8d10e5d85
Add python shebangs to joinmarketd.py and wallet-tool.py 2020-04-28 16:02:00 +02:00
James Hilliard
4bf1f50d4e Remove Python 2 compatibility imports and disable Python 2 installation in setuptools. 2020-01-19 11:31:57 -07:00
AdamISZ
0c967bca7d
Support payjoin when daemon run separately (joinmarketd)
Prior to this commit, running joinmarketd as an isolated
process only supported serving the Joinmarket protocol;
attempting PayJoin would result in silent failure as the
receiver would reject the !pubkey message.
After this commit, the joinmarketd daemon serves both
protocols with the PayJoin protocol being served at port+1
2019-01-20 15:56:45 +01:00
James Hilliard
6dc3504f8a Convert jmclient to py3 style 2018-12-06 02:40:36 +08:00
undeath
1451c9e3ae remove unused imports 2018-08-19 18:21:28 +02:00
undeath
467053beb9 fix standalone joinmarketd listening on all interfaces 2017-11-17 19:49:28 +01:00
Adam Gibson
5d3fbe9a74
Optional TLS client-server comms
Still primitive in that key and cert must be added in a subdirectory
'ssl'; self-signed is fine, so easy if openssl is available. But this
must be wrapped up for users before it can be a default (it is not
the default for now). Could be hard on e.g. Windows.
2016-12-26 17:59:17 +02:00
Adam Gibson
68aec9c3dd
Refactor daemon protocol to jmdaemon package in prep. for binary.
Change default port to 27183.
Fix ref to location of commands module.
2016-11-26 17:50:08 +02:00
Adam Gibson
c1805408e3
remove orderbook size limit 2016-11-26 01:16:51 +02:00
Adam Gibson
027a7643fd
schedules read from files; joinmarketd state bugfix on ioauth receipt
New module jmclient.schedule currently only parses schedule files,
and returns an array of tuples as a schedule.
Option added to sendpayment (-S) to pass in a schedule file, instead
of using command line arguments (still valid for single joins).
Added intermediate state to daemon to track whether ioauths have been
already sent, to prevent duplicate sending on timeout.
2016-11-25 15:49:18 +02:00
Adam Gibson
473cf2e217
catch connection lost failures in default errbacks for daemon and client 2016-11-25 00:14:25 +02:00
Adam Gibson
1597b75b00
Bugfix in taker sign_tx for "wallet" type.
Re-add needed encode/decode fns in btc.py
joinmarketd now has correct logic for timeout of on_ioauth wait.
2016-11-24 17:08:06 +02:00
Adam Gibson
47fe98169c
move joinmarketd to scripts, update instructions 2016-11-23 20:19:51 +02:00
Renamed from joinmarketd.py (Browse further)