Commit Graph

29 Commits

Author SHA1 Message Date
nicolas.dorier
067b977ec8
Do not include maxadditionalfeecontribution if there is no change. (#2007) 2020-10-23 11:57:06 +09:00
Andrew Camilleri
e2eb26eb93
Use base65 instead of hex for BIP78 (#1985)
fixes #1984
2020-10-14 12:01:21 +02:00
rockstardev
f88c02cccd Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
rockstardev
b6c7af32de Cleaning up bom from cs files 2020-06-28 21:44:35 -05:00
nicolas.dorier
24a88fcfb5
Adapt payjoin for BIP78 2020-06-22 13:57:42 +09:00
nicolas.dorier
9503e07dc8
Adapt PJ implementation to latest BIP 2020-05-28 13:35:48 +09:00
nicolas.dorier
b96e668dfd
Sync payjoin receiver implementation to the bip 2020-05-19 20:57:04 +09:00
nicolas.dorier
de3753d04e
Rename payjoin optional parameters, implement sender minFeeRate 2020-05-19 20:57:03 +09:00
Nicolas Dorier
8d1ff01ee8
Adapt payjoin implementation to the BIP (#1569) 2020-05-17 05:07:24 +09:00
nicolas.dorier
f7d70daff3
Add invalid-transaction as wellknown error 2020-05-12 21:42:51 +09:00
nicolas.dorier
b0f820e95a
Implement noadjustfee, feebumpindex and v parameters for payjoin 2020-05-09 21:22:00 +09:00
nicolas.dorier
da588380ed
Remove httpCode from error message 2020-05-09 19:33:48 +09:00
Kukks
0077105a2d remove hacks 2020-04-18 08:29:07 +02:00
Kukks
51db617584 fixes 2020-04-18 08:09:49 +02:00
Kukks
161850150a fix p2sh detection input 2020-04-18 08:09:49 +02:00
Kukks
03458efea4 Change payjoin endpoint key to pj 2020-04-13 11:52:22 +02:00
nicolas.dorier
95644f8884
Fix tests 2020-04-09 19:44:16 +09:00
nicolas.dorier
6927d81175
Implement Http Tor proxy as a internal http proxy 2020-04-09 17:38:55 +09:00
Andrew Camilleri
e183714475
Add Tor Http Client Factory (#1445)
* WIP: Add Tor Http Client Factory

This PR adds a Tor Http Client Factory so that we can do HTTP requests over socks5( which we usually use tor's socks5).
Using it for payjoin when possible.

Currently have an issue where a 503 is always returned.  Must be something wrong with my tor config or the socks proxy lib Im using

* fix

* remove external dependency

* make payjoin client use tor client if available

* fix docker test

* use tor client only if available and necessary

* remove bip 79 mention
2020-04-08 22:40:41 +09:00
nicolas.dorier
6602823067
Refactor the input type detection 2020-04-08 22:14:16 +09:00
Kukks
624e6e4744 adapt 2020-04-08 14:32:29 +02:00
Kukks
73b13c750d add P2sh support 2020-04-08 14:32:29 +02:00
Kukks
148b04e9ba allow changing the payjoin key easily later 2020-04-08 14:32:29 +02:00
nicolas.dorier
b203d369fb
Fix payjoin tests 2020-04-08 18:24:04 +09:00
nicolas.dorier
b1cc30d25d
Fix sequence check on client 2020-04-08 17:51:22 +09:00
nicolas.dorier
72e64885be
Fix sequence check on client 2020-04-08 17:42:50 +09:00
nicolas.dorier
ba2184e21a
Do not remove outputs in payjoin tx 2020-04-07 15:10:19 +09:00
nicolas.dorier
9fc451c9ca
Make stronger check on fee, let the merchant make bigger transaction if he pays the fee 2020-04-06 23:24:51 +09:00
nicolas.dorier
fd026a9733
Refactor server-side 2020-04-05 12:02:36 +09:00