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
9a54445785
Merge pull request #1439 from Kukks/monero-fix
...
monero fixes
2020-04-08 21:11:27 +09: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
Kukks
452568e740
monero fixes
2020-04-06 16:12:48 +02:00
nicolas.dorier
1e0587af26
Make sure tests use fixed fees
2020-04-06 19:18:49 +09:00
nicolas.dorier
ab120c5dcb
Fix tests
2020-04-06 17:05:03 +09:00
nicolas.dorier
9af7edf8b8
Add comments to explain the Payment's ReceivedTime
2020-04-06 12:23:56 +09:00
nicolas.dorier
01a8c20ee8
Use better time precision for time in PaymentEntity
2020-04-05 23:57:43 +09:00
nicolas.dorier
4c966e2a09
Refactor the detection of the payjoin payment
2020-04-05 22:44:34 +09:00
nicolas.dorier
a01b2e4a83
Small optimization for faster AddDerivationScheme
2020-04-05 18:35:29 +09:00
nicolas.dorier
fd026a9733
Refactor server-side
2020-04-05 12:02:36 +09:00
Kukks
e4cb1a875b
Remove tor client factory
2020-03-27 10:45:13 +01:00
Kukks
1a62ee9260
try fix tor socks5 connection
2020-03-27 10:45:12 +01:00
Kukks
56d5e6f99f
fixes
2020-03-27 10:45:12 +01:00
Kukks
f1821636db
fix tor client creator
2020-03-27 10:45:12 +01:00
Kukks
89da4184ff
BIP79 Support
2020-03-27 10:45:12 +01:00
Kukks
36bd76248b
Allow Pay Button to work on Apps
...
This PR allows you to use the pay button generator to create buttons that target apps. This means that you can generate an invoice that is linked to an item on the POS/Crowdfund (targeting the item is optional). The POS/Crowdfund item amount -> invoice creation amount validation works too so that the user cannot modify the amount of a perk using just html ( fixes #1392 )
2020-03-24 23:43:47 -05:00
Kukks
f0f05acdfd
Let 0 amount invoices pass through and allow email to be set when required but paid
...
@ketominer @Askuwheteau @IAskuwheteau
2020-03-24 23:43:19 -05:00
nicolas.dorier
318d826694
Rename Permissions.Can.. to Policies.Can..
2020-03-20 13:41:47 +09:00
nicolas.dorier
29a807696b
Refactor permissions of GreenField
2020-03-19 23:43:51 +09:00
Kukks
e99767c7e2
Greenfield API: Create User
...
Slightly big PR because I started refactoring to reduce code duplication between the UI based business logic and the api one.
2020-03-17 08:21:27 +01:00
Kukks
6f6e8ba1a1
fix duplicate key error in crowdfunding
2020-03-10 11:20:05 +01:00
Kukks
c607696230
Use proper divisibility for payments in crowdfund and do not show tooltip if identical data
...
fixes #1037 and fixes #1003
2020-02-28 12:51:15 +01:00
Andrew Camilleri
fa51180dfa
Api keys with openiddict ( #1262 )
...
* Remove OpenIddict
* Add API Key system
* Revert removing OpenIddict
* fix rebase
* fix tests
* pr changes
* fix tests
* fix apikey test
* pr change
* fix db
* add migration attrs
* fix migration error
* PR Changes
* Fix sqlite migration
* change api key to use Authorization Header
* add supportAddForeignKey
* use tempdata status message
* fix add api key css
* remove redirect url + app identifier feature :(
2020-02-24 22:36:15 +09:00
hannes
f097ecdc80
fix: remove ipn via email #1241 ( #1337 )
...
* fix: remove ipn via email #1241
* fix: remove ipn via email #1241
2020-02-24 21:21:03 +09:00
nicolas.dorier
b79b310bd5
Revert "Sort invoice list ( Fix #1329 )"
...
This reverts commit dc4f8a1fbe
.
2020-02-21 11:29:09 +09:00
nicolas.dorier
dc4f8a1fbe
Sort invoice list ( Fix #1329 )
2020-02-19 22:04:46 +09:00
Andrew Camilleri
d31bff7070
BPU Prep Work Part2 ( #1340 )
...
* BPU Prep Work Part2
* Adjust tests to use the hot wallet when registering deriv scheme
* Add amount to payment data view for onchain payments
* Make zone limits higher when in dev mode (for tests in next PR)
* Make IPaymentMethodDetails serialize/deserialize through payment type using the network
* Allow named settings through settings repo
* Refactor some extensions for next PR
* pr changes
* use json convert for now
2020-02-19 17:35:23 +09:00
Nicolas Dorier
dc7733abcd
Merge pull request #1041 from Kukks/satscurrency
...
Add sats as a native currency
2020-02-03 08:42:35 +00:00
Andrew Camilleri
54c7c0d696
Add currency precision based on network ( #1294 )
2020-01-21 22:28:13 +09:00
Kukks
71671b9e16
Add sats as a native currency
...
This will allow you to create an invoice where its primary currency is denominated in sats
2020-01-21 13:33:59 +01:00
Andrew Camilleri
025da0261d
new feature: Wallet Receive Page ( #1065 )
...
* new feature: Wallet Receive Page
closes #965
* Conserve addresses by waiting till address is spent before generating each run
* fix tests
* Filter by cryptocode before matching outpoint
* fix build
* fix edge case issue
* use address in keypathinfo directly
* rebase fixes
* rebase fixes
* remove duplicate code
* fix messy condition
* fixes
* fix e2e
* fix
2020-01-18 14:12:27 +09:00
nicolas.dorier
9410933e1c
Fix: Adding comment on wallet transactions causes 500 error ( Close #1280 )
2020-01-16 15:19:45 +09:00
Andrew Camilleri
c269dee980
Liquid changes ( #1281 )
...
Add assetid to bip21 for liquid
change liquid icons
change liquid asset name
change currency code displayed in checkout to one set in network
2020-01-16 15:01:01 +09:00
nicolas.dorier
d3408b91be
bump libraries
2020-01-12 15:32:26 +09:00
nicolas.dorier
629dfcf152
Cleanup netcore21 specific code
2020-01-12 13:30:54 +09:00
Andrew Camilleri
4d7480db15
Liquid & Liquid Assets Support ( #1118 )
2019-12-24 16:20:44 +09:00
nicolas.dorier
47eb087d1b
Rename CanGenerateWallet to CanUseHotWallet, small refactoring on generatewallet
2019-12-18 22:28:03 +09:00
Kukks
6706658377
add policy to restrict generate wallet usage
2019-12-16 09:32:43 +01:00
nicolas.dorier
23b9dfed2c
Cache balance
2019-12-10 22:17:59 +09:00