Commit graph

3902 commits

Author SHA1 Message Date
nicolas.dorier
66206399e1
Rename LightningPrivateRouteHint =>privateRouteHints 2020-05-29 09:03:07 +09:00
Andrew Camilleri
1e3f62718d
GreenField: Cross-implemenation Lightning Node API (#1566)
* GreenField: Cross-implemenation Lightning Node API

* switch to hard unrsstricted check

* fix

* set LightningPrivateRouteHints in swagger + stores api

* add priv route hint

* rename models and add swagger defs to models
2020-05-29 09:00:13 +09:00
Nicolas Dorier
114ab98059
Merge pull request #1611 from Kukks/fix/pr-expiry-big
Fix: Paid payment requests are not marked as completed if there is an expiry date set
2020-05-29 08:58:58 +09:00
Nicolas Dorier
47baa219fd
Merge pull request #1609 from NicolasDorier/pj3
Adapt PJ implementation to latest BIP
2020-05-29 08:58:38 +09:00
Kukks
96509717cb Fix: Paid payment requests are not marked as completed if there is an expiry date set 2020-05-28 17:45:06 +02:00
Nicolas Dorier
89bbcb6092
Merge pull request #1610 from pavlenex/supporter-new
Add new supporter to readme
2020-05-29 00:05:21 +09:00
Kukks
95dbb65612 GreenField: Payment Request property missing jsonconverter 2020-05-28 16:57:03 +02:00
Kukks
7db8d52624 add missing title in swagger payment request def 2020-05-28 16:53:50 +02:00
Kukks
77073fa78c fix swagger schema 2020-05-28 16:42:47 +02:00
Kukks
16ad3ee7fe Add test for payment request payment status update in greenfield 2020-05-28 09:48:47 +02:00
Pavlenex
15d02dab4f Add new supporter to readme 2020-05-28 09:28:42 +02:00
nicolas.dorier
9503e07dc8
Adapt PJ implementation to latest BIP 2020-05-28 13:35:48 +09:00
Kukks
9b44370832 support version revision tags 2020-05-27 16:56:39 +02:00
Kukks
568015c58f add new supporter 2020-05-27 16:41:50 +02:00
Nicolas Dorier
03532e4063
Merge pull request #1604 from janoside/master
Clarify/clean up warning shown when adding a lightning node
2020-05-27 12:34:36 +09:00
Nicolas Dorier
de6081c2dc
Merge pull request #1602 from Kukks/electrum-file
Rename Coldcard to Electrum/Airgapped hardware wallets
2020-05-27 12:33:43 +09:00
Nicolas Dorier
5b4fec11ed
Merge pull request #1596 from NicolasDorier/random-rbf
Randomize RBF if the user does not care
2020-05-26 03:23:33 +09:00
Dan Janosik
0ef4602a65
Clarify/clean up warning shown when adding a lightning node 2020-05-25 13:42:58 -04:00
Kukks
c8f182f13f Rename Coldcard to Electrum/Airgapped hardware wallets
Also adds support to read the xpub from the file directly ( Cobo Vault support)
2020-05-25 15:49:44 +02:00
nicolas.dorier
36630d9586
Randomize RBF if the user does not care 2020-05-25 19:46:42 +09:00
nicolas.dorier
32f2acee53
Removed unexisting file in csproj 2020-05-25 16:08:16 +09:00
Nicolas Dorier
3be2ef5c91
Merge pull request #1599 from NicolasDorier/removeledger
Remove LedgerWallet direct integration
2020-05-25 07:50:33 +09:00
nicolas.dorier
7e5d269c39
Remove LedgerWallet direct integration 2020-05-25 07:41:30 +09:00
Nicolas Dorier
6e0c090622
Merge pull request #1597 from NicolasDorier/refactor/wallet-param
Refactor parameter passing in wallet functions
2020-05-25 07:15:52 +09:00
nicolas.dorier
cccf3ca617
The signing context should not be passed to PSBT screen 2020-05-25 07:05:01 +09:00
nicolas.dorier
9e9b5945fe
Ensure the payjoin can generate a high R signature if the payer is sending it 2020-05-25 06:47:43 +09:00
nicolas.dorier
77f6019d82
Use EnforceLowR suggestion of NBXplorer for signing 2020-05-25 06:34:49 +09:00
nicolas.dorier
35432d919c
Refactor common data structure for wallet into SigningContext 2020-05-25 06:29:06 +09:00
nicolas.dorier
25e6f82aa3
Refactor parameter passing in wallet functions 2020-05-25 04:55:28 +09:00
nicolas.dorier
d22993871f
Bump NBXplorer 2020-05-24 20:19:06 +09:00
Andrew Camilleri
80563de587
Add support for Bitpay invoice create property "paymentCurrencies" (#1589) 2020-05-24 19:11:26 +09:00
Nicolas Dorier
b5102c4269
Bump NBX (#1595) 2020-05-24 17:59:43 +09:00
Andrew Camilleri
9d215ea27d
Reuse same html and handling of commands for PSBT signing/ Wallet Send (#1587)
* Reuse same html and handling of commands for PSBT signing/ Wallet Send

* fix ledger
2020-05-24 04:31:21 +09:00
Andrew Camilleri
cdf6886c39
Require loggedin user for docs? (#1567)
* Require loggedin user for docs?

We had talked before that docs should be for authorized users only. We had it in when we had Nswag but must have lost it after we switch to manual swagger files

* fix
2020-05-24 04:18:51 +09:00
Andrew Camilleri
79b034b505
GreenField: Add properties to Store API (#1573)
* GreenField: Add properties to Store API

* Update StoreBaseData.cs

* fix api

* fix swagger
2020-05-24 04:13:18 +09:00
nicolas.dorier
bfba105aec
Update packages (may fix #1590) 2020-05-22 19:23:37 +09:00
nicolas.dorier
1bbdaa1251
Make sure replaced transactions have linethrough in the invoice list 2020-05-21 01:50:39 +09:00
Nicolas Dorier
ca462bec84
Merge pull request #1585 from btcpayserver/feat/private-route-hints
Adding private route hints based on store settings
2020-05-20 08:10:08 +09:00
rockstardev
eb5dcab32d Upgrading to BTCPayServer.Lightning to 1.1.15 2020-05-19 18:00:35 -05:00
rockstardev
ca3acdacdc Setting PriveRoute hints when creating lightning invoices 2020-05-19 16:47:26 -05:00
rockstardev
33f63508e8 Adding setting in checkout experience for inclusion of private route hints 2020-05-19 16:27:06 -05:00
Andrew Camilleri
5033cb3186
Support specifying payment method through apps (#1539)
* Support specifying payment method through apps

closes #1525
This is great if you want to offer items with an incentive to use a specific payment method without messing with the rates.
For example, you can have `Item A` which costs 25$ and your store is configured for USDT and BTC. You can create two items, with different prices, where Item A costs 20$ if you pay with bitcoin or 25$ if you paid in dirty fiat pegs

* make code cleaner

* Add Test

* fix test

* fix test
2020-05-20 03:54:24 +09:00
Nicolas Dorier
3d1122be7c
Merge pull request #1583 from NicolasDorier/refactor/serverinfo
Refactor server info data structure
2020-05-20 03:43:39 +09:00
nicolas.dorier
1d092a15fb
Refactor server info data structure 2020-05-20 03:27:06 +09:00
nicolas.dorier
501a21b89e
bump .net core on dockerfile 2020-05-20 03:10:30 +09:00
Kukks
b9006e4417 fix rebase
# Conflicts:
#	BTCPayServer.Tests/GreenfieldAPITests.cs
2020-05-19 20:09:19 +02:00
Andrew Camilleri
5b3b96b372
GreenField: Payment Requests CRUD (#1430)
* GreenField: Payment Requests CRUD

* fixes

* fix swagger

* fix swag

* rebase fixes

* Add new permissions for payment requests

* Adapt PR to archive

* fix tst

* add to contains policxy

* make decimals returned as string due to avoid shitty language parsing issues

* do not register decimal json converter as global

* fix cultureinfo for json covnerter

* pr changes

* add json convertet test

* fix json test

* fix rebase
2020-05-20 02:59:23 +09:00
Nicolas Dorier
338a0f9251
Merge pull request #1576 from dennisreimann/api-server-info
GreenField: Add Server Info API basics
2020-05-20 02:31:16 +09:00
Nicolas Dorier
29ba761d7c
Merge pull request #1581 from NicolasDorier/syncpj
Sync payjoin receiver implementation to the bip
2020-05-19 21:10:35 +09:00
nicolas.dorier
b96e668dfd
Sync payjoin receiver implementation to the bip 2020-05-19 20:57:04 +09:00