nicolas.dorier
254db22063
Change test trait name
2018-10-28 22:51:02 +09:00
nicolas.dorier
8be4256278
Fix unreliable tests
2018-10-28 22:46:03 +09:00
nicolas.dorier
4625ff92f1
Run unreliable tests, attempt to make them a bit more reliable
2018-10-28 22:10:37 +09:00
nicolas.dorier
6aa84326af
Make sure tests run sequentially
2018-10-28 21:46:12 +09:00
nicolas.dorier
7f16aa8c7e
Run only fast tests on CI
2018-10-28 20:59:59 +09:00
nicolas.dorier
c46c15c258
Fix changelly tests
2018-10-28 01:10:07 +09:00
nicolas.dorier
ae152c3ffa
bump NBXplorer
2018-10-27 23:30:57 +09:00
nicolas.dorier
e2ff33d7db
Document how to test mysql
2018-10-27 23:20:50 +09:00
Aaron Clauson
ce94c05fd3
MySQL Support ( #345 )
...
* MySQL EF support added using Pomelo MySQL provider.
* MySQL EF support added using Pomelo MySQL provider.
2018-10-27 23:15:21 +09:00
nicolas.dorier
9cde4dc7e2
Restart containers if crash
2018-10-27 23:14:26 +09:00
Andrew Camilleri
3bb059ab74
refactor changelly & improve tests ( #366 )
2018-10-27 22:41:07 +09:00
nicolas.dorier
2896a9b26f
Add ScanUTXOSet support
2018-10-26 23:07:39 +09:00
nicolas.dorier
9267a45449
Remove useless test
2018-10-26 19:07:19 +09:00
nicolas.dorier
c430d470c4
Fix warnings and bump nbxplorer
2018-10-26 19:06:06 +09:00
nicolas.dorier
3921a3ca22
Fix warnings, update libs
2018-10-26 18:36:58 +09:00
Andrew Camilleri
4b976c13c1
Changelly v2 ( #343 )
...
* Disable shapeshift and use changelly
* UI to manage changelly payment method
* wip on changelly api
* Add in Vue component for changelly and remove target currency from payment method
* add changelly merhcant id
* Small fixes to get Conversion to load
* wip fixing the component
* fix merge conflict
* fixes to UI
* remove debug, fix fee calc and move changelly to own partials
* Update ChangellyController.cs
* move original vue setup back to checkout
* Update core.js
* Extracting Changelly component to js file
* Proposal for loading spinner
* remove zone
* imrpove changelly ui
* add in changelly config checks
* try new method to calculate amount + remove to currency from list
* abstract changelly lofgic to provider and reduce dependency on js component
* Add UTs for Changelly
* refactor changelly backend
* fix failing UT
* add shitcoin tax
* pr changes
* pr changes
* WIP: getting rid of changelly dependency
* client caching, compiling code, cleaner code
* Cleaner changelly
* fiat!
* updat i18n, css and error styler
* default keys
* pr changes part 1
* part2
* fix tests
* fix loader alignment and retry button responsiveness
* final pr change
2018-10-24 14:52:19 +09:00
nicolas.dorier
f68d4efcdd
update to 0.17.0
2018-10-19 19:05:12 +09:00
nicolas.dorier
f419c56a3c
Revert "Changelly Support ( #267 )"
...
This reverts commit a5fca7a1c4
.
2018-10-18 12:27:46 +09:00
Andrew Camilleri
a5fca7a1c4
Changelly Support ( #267 )
...
* Disable shapeshift and use changelly
* UI to manage changelly payment method
* wip on changelly api
* Add in Vue component for changelly and remove target currency from payment method
* add changelly merhcant id
* Small fixes to get Conversion to load
* wip fixing the component
* fix merge conflict
* fixes to UI
* remove debug, fix fee calc and move changelly to own partials
* Update ChangellyController.cs
* move original vue setup back to checkout
* Update core.js
* Extracting Changelly component to js file
* Proposal for loading spinner
* remove zone
* imrpove changelly ui
* add in changelly config checks
* try new method to calculate amount + remove to currency from list
* abstract changelly lofgic to provider and reduce dependency on js component
* Add UTs for Changelly
* refactor changelly backend
* fix failing UT
* add shitcoin tax
* pr changes
* pr changes
2018-10-18 12:13:39 +09:00
Esky33
e18d0b5d51
Updating Yaml ( #336 )
2018-10-17 13:30:43 +09:00
nicolas.dorier
e1751c4d91
[Fix] Querying rate with authenticated request should be successfull
2018-10-15 18:11:20 +09:00
nicolas.dorier
f05614f4da
bump
2018-10-11 00:51:43 +09:00
nicolas.dorier
a10c382bd4
[Tests] return WalletId when registering scheme
2018-10-10 00:13:37 +09:00
nicolas.dorier
a28814bc0e
Fix RateRules crash if dups
2018-10-09 23:43:03 +09:00
nicolas.dorier
3cff8261ae
Set the id for apps only to 20 bytes, and output the Id in the controller so we can use it in tests
2018-10-09 23:38:56 +09:00
nicolas.dorier
57ab001c0c
[Tests] Pass Port to the fake http context
2018-10-09 23:32:47 +09:00
nicolas.dorier
3d85dace38
Move currency display method into CurrencyNameTable
2018-10-09 23:30:26 +09:00
nicolas.dorier
f94ff4cc74
Update dotnet version + nbxplorer
2018-10-02 19:33:25 +09:00
nicolas.dorier
b750663a1f
update lnd/clightning
2018-09-28 17:08:51 +09:00
rockstardev
92ea923c03
Updating reference to Bitcoin docker image
2018-09-22 01:11:14 -05:00
nicolas.dorier
15c29f8419
Update dependencies
2018-09-09 23:04:16 +09:00
rockstardev
e39d9067f2
Updating Unit tests
2018-09-08 14:53:41 +09:00
nicolas.dorier
f5d81334f8
Remove Lightning Specific logic from BTCPay, and use BTCPayServer.Lightning packages instead
2018-08-30 12:24:00 +09:00
nicolas.dorier
24979a0af2
add lnd trickledelay
2018-08-28 18:13:28 +09:00
nicolas.dorier
be1a44f018
Fix bug in LND client
2018-08-28 18:06:07 +09:00
nicolas.dorier
6c51d83f61
Fix tests
2018-08-25 15:49:04 +09:00
nicolas.dorier
29af07b3f9
Make sure we do not return outdated rates
2018-08-23 13:47:56 +09:00
nicolas.dorier
f12114f9aa
Poll and cache rates in parallel
2018-08-23 00:24:33 +09:00
nicolas.dorier
87d384dba5
Decouple RateProviderFactory with RateFetcher
2018-08-22 16:53:40 +09:00
nicolas.dorier
4f5a8f7953
Use direct provider for Kraken, update packages
2018-08-21 15:59:57 +09:00
nicolas.dorier
8728356698
Use HttpClientFactory for coinaverage
2018-08-21 14:33:13 +09:00
nicolas.dorier
9c30476fc8
Making BTCPayServer a bit faster when creating invoices
2018-08-21 13:54:52 +09:00
nicolas.dorier
214b2d1c1c
Fix SSH fingerprint checking
2018-08-13 09:43:59 +09:00
nicolas.dorier
39b018fdf3
fix test
2018-08-01 18:42:28 +09:00
nicolas.dorier
83304de1c6
Remove the concept of "Rate multiplier" and replace it with the concept of "Spread"
2018-08-01 18:38:46 +09:00
nicolas.dorier
7a32f692d1
Add test for Disabling PaymentMethod
2018-07-31 00:18:58 +09:00
nicolas.dorier
3775317047
Fix CanGetRates test, and fix #178
2018-07-30 23:22:26 +09:00
Andrew Camilleri
faabd68f6f
Merge remote-tracking branch 'origin/master' into feature/bitpayrates
2018-07-27 11:16:52 +02:00
nicolas.dorier
0dcda0f289
Fix: Inverse rule was not found in BTCPay with X_X
2018-07-27 18:04:41 +09:00
Andrew Camilleri
f3edaf5160
Merge remote-tracking branch 'btcpayserver/master' into feature/bitpayrates
2018-07-27 05:57:25 +02:00
nicolas.dorier
7afa726ddc
Fix, macaroonfilepath should be read in order to create the qr code
2018-07-23 12:20:11 +09:00
nicolas.dorier
ce17e3212a
Can delete stores
2018-07-19 19:31:17 +09:00
nicolas.dorier
1ee4bd9c92
Fix tests, and make sure Listen does not block for LND
2018-07-19 14:49:30 +09:00
nicolas.dorier
0c8925d2a2
Correctly dispose the session when listening lightning invoices
2018-07-14 01:45:14 +09:00
nicolas.dorier
94a6f20a05
Refactor the LndInvoiceClient which might solve memory leak
2018-07-13 19:45:50 +09:00
nicolas.dorier
563e931468
simplify the docker-compose
2018-07-11 10:42:20 +09:00
nicolas.dorier
3113097c4f
Update to https, use new dockerfile
2018-07-10 19:33:54 +09:00
nicolas.dorier
1a1078782e
Suppoort macaroonfilepath in connection string
2018-07-10 12:46:04 +09:00
nicolas.dorier
9eb36a8b40
Clean the LND listener, and make sure it correctly ends.
2018-07-08 22:20:59 +09:00
nicolas.dorier
6307aa8665
Use SHA256 cert thumprint in connection string, allowInsecure=true
2018-07-08 20:58:37 +09:00
nicolas.dorier
b9e8408db5
Simplify LND implementation
2018-07-08 18:55:48 +09:00
nicolas.dorier
0879895678
Fix tests and rename type=lnd to type=lnd-rest
2018-07-08 15:34:19 +09:00
rockstardev
25dbf6445f
LND Support
2018-07-01 21:45:21 +09:00
nicolas.dorier
34deb17f3d
Fix tests
2018-07-01 16:10:17 +09:00
nicolas.dorier
b7abc08c27
Create a new format for LightningConnectionString
2018-07-01 15:45:08 +09:00
rockstardev
1784c30787
Merge remote-tracking branch 'source/master' into dev-lndrpc
...
# Conflicts:
# BTCPayServer.Tests/UnitTest1.cs
2018-06-26 01:08:01 -05:00
nicolas.dorier
3d8c5195ae
Update CLightning and charge
2018-06-26 14:18:47 +09:00
rockstardev
9a5259510b
Merge remote-tracking branch 'source/master' into dev-lndrpc
2018-06-25 22:31:42 -05:00
rockstardev
d34ffc0d9a
Refactoring conditional method, separating into two properties
2018-06-23 22:50:50 -05:00
nicolas.dorier
db24ab792f
update clightning
2018-06-18 23:07:55 +09:00
rockstardev
42475ec7b7
Switching to lnd image from Docker Hub
2018-06-15 18:28:01 -05:00
rockstardev
4972f0ab7b
Labeling issue with rapid testing of lightning payments
2018-06-15 18:27:37 -05:00
rockstardev
07e13747cf
Merge remote-tracking branch 'source/master' into dev-lndrpc
2018-06-15 17:21:21 -05:00
rockstardev
2465eb7e36
Revering debug param
2018-06-15 17:20:56 -05:00
rockstardev
4ddcd7a4c8
Will depend on lnd bitcoin.defaultremotedelay=720 param
...
Ref: https://github.com/lightningnetwork/lnd/pull/788
2018-06-15 17:14:20 -05:00
rockstardev
66ecb32538
Need param so that funding channels can be opened between LND and CL
2018-06-15 16:29:09 -05:00
rockstardev
a22576da0a
Streamlining flow of interaction between test lnd customer / merchant
2018-06-15 15:56:02 -05:00
rockstardev
69bd888bab
Refactoring ServerTester so that ClightningRPCClient can use LND
2018-06-15 15:02:40 -05:00
rockstardev
9b540273fc
Parsing of node info and returning it for GetInfo
2018-06-15 13:57:39 -05:00
rockstardev
cfd083bed5
Providing port for peer-to-peer connection for local tests
2018-06-15 11:53:53 -05:00
rockstardev
55c9314cdd
Reference to lnd docker image updated to point to latest
...
Also helps with building image locally for debugging
2018-06-15 11:53:34 -05:00
Andrew Camilleri
8cafa8a483
Merge remote-tracking branch 'origin/master' into feature/bitpayrates
2018-06-12 15:34:09 +02:00
nicolas.dorier
04174b7431
Fix authentication
2018-06-06 16:02:37 +09:00
nicolas.dorier
b7c58c2083
Fix bug of authentication caused by previous refactoring on authentication
2018-06-06 14:46:41 +09:00
Andrew Camilleri
724af44e41
Merge branch 'master' into feature/bitpayrates
2018-06-04 15:09:14 +02:00
rockstardev
f8c88bd44f
Providing ability to increase lightning timeout for tests/debugging
2018-05-31 16:31:39 -05:00
rockstardev
d1fb51b412
Reactivating LND end to end test
2018-05-31 16:07:59 -05:00
rockstardev
ce9189caf8
Listen / WaitInvoice for Lnd
2018-05-31 15:08:22 -05:00
rockstardev
431147784e
Merge branch 'master' into dev-lndrpc
2018-05-31 12:11:31 -05:00
nicolas.dorier
0697b8bf86
update images
2018-05-31 23:54:03 +09:00
nicolas.dorier
665cf4c3b1
Updating BTCPayServer to .NET Core 2.1
2018-05-31 18:41:03 +09:00
Andrew Camilleri
bac9ef4f93
add some UT and fix error message + bump Nbitpayclient
2018-05-29 17:12:07 +02:00
rockstardev
e634700913
Changing the way we signal that LightningConnectingString is Lnd
2018-05-25 12:18:47 -05:00
rockstardev
ce81136c88
Adding LndMockTester for passing end to end tests
2018-05-25 10:44:59 -05:00
nicolas.dorier
a97ef2eee8
MinerFee matching Bitpay API
2018-05-25 22:49:49 +09:00
nicolas.dorier
dec5dbc0d2
Ability to pass fields to POS app #181
2018-05-24 23:54:48 +09:00
nicolas.dorier
4e32dad1ea
Can solve inverses at exchange level
2018-05-23 19:29:01 +09:00
nicolas.dorier
127ca7582f
Make sure inverse rules have priority
2018-05-23 19:13:12 +09:00
nicolas.dorier
ba3d13d56c
Make sure the rate of the merchant is using the ask of a divided exchange
2018-05-23 02:18:38 +09:00
rockstardev
a063f10778
Checking for nulls during channel opening in tests
2018-05-20 10:27:11 -05:00
rockstardev
6cefd9c3e7
Merge remote-tracking branch 'source/master' into dev-lndrpc
2018-05-16 04:50:46 -05:00
Nicolas Dorier
a1ffda0151
Merge pull request #168 from Kukks/feature/extended-invoice
...
[WIP] Feature/extended invoice
2018-05-16 10:21:52 +09:00
nicolas.dorier
1747414a57
update clightning of docker compose
2018-05-16 01:37:20 +09:00
nicolas.dorier
3a02f16c6e
Fix bug where exchange name in rate rules were uncorrectly considered a currency
2018-05-16 01:27:15 +09:00
Andrew Camilleri
a6ee337ed0
more coverage
2018-05-15 16:25:43 +02:00
Andrew Camilleri
559f535257
add some coverage for bitpay fields
2018-05-15 16:18:37 +02:00
rockstardev
a0243fa569
Lnd support for passing macaroon and tls as hex
2018-05-14 22:18:08 -05:00
rockstardev
789b9168ad
Adding Lnd to connection types and supporting parsing
2018-05-14 15:54:44 -05:00
Andrew Camilleri
de48fb4077
add direct file test cases
2018-05-14 09:34:19 +02:00
Andrew Camilleri
bcd79c5882
use alternative uri validation
2018-05-14 09:32:04 +02:00
nicolas.dorier
f7fe855274
Do not roundup rates
2018-05-13 15:09:17 +09:00
nicolas.dorier
449738414b
Add cryptopia
2018-05-12 19:37:32 +09:00
rockstardev
f97173e9e7
Testing invoice payment with Lnd
2018-05-12 00:43:13 -05:00
rockstardev
8fc1b0c856
Ensuring lightning channel is open for testing
2018-05-12 00:23:10 -05:00
rockstardev
cabd7c4e64
Lnd requires zmqpubrawblock setting, and port 9735 for peer connections
2018-05-12 00:19:26 -05:00
rockstardev
f8540dc78c
Providing merchant_lnd and customer_lnd for testing
2018-05-11 16:59:24 -05:00
rockstardev
b03d271f85
Refactoring LndClient, enabling passing of Swagger instance
2018-05-11 14:07:46 -05:00
nicolas.dorier
af3dee95de
round up rates sent back by the RateProviderFactory
2018-05-11 23:31:50 +09:00
nicolas.dorier
9afc143801
Use decimals and fix invoices
2018-05-11 22:38:31 +09:00
nicolas.dorier
d41a5a65a2
Update posgres and clightning in tests
2018-05-10 11:56:46 +09:00
nicolas.dorier
b3385bf901
update tests image
2018-05-08 18:09:12 +09:00
nicolas.dorier
bba268b5e2
Upgrade to .NET Core 2.1
2018-05-08 17:57:53 +09:00
nicolas.dorier
b96f464e39
Add "unusual:" filter to invoice list
2018-05-06 13:16:39 +09:00
nicolas.dorier
7872b3ec55
Add a new invoice event: expiredPaidPartial and fix some corner case for tolerance
2018-05-06 00:40:44 +09:00
Andrew Camilleri
9a92646d4d
add test and refactor for PR
2018-05-05 16:07:22 +02:00
nicolas.dorier
0290a5eacd
update clightning
2018-05-05 22:46:07 +09:00
nicolas.dorier
29f662f87c
bump NBXplorer
2018-05-05 22:05:22 +09:00
nicolas.dorier
c2dad08fef
Can solve inverse of currency pair
2018-05-05 00:40:54 +09:00
nicolas.dorier
14360bde78
Use rate directly from some exchanges, fix bug in ServerSettings
2018-05-04 15:36:10 +09:00
nicolas.dorier
6dc4bfaefe
Make rate calculation scriptable
2018-05-04 01:46:52 +09:00
nicolas.dorier
f460837f96
Make sure RateRules do not remove comments
2018-05-03 04:33:21 +09:00
nicolas.dorier
34d0d3e011
make sure we can calculate the rate of default currencies
2018-05-03 03:40:10 +09:00
nicolas.dorier
e57a488371
Refactor the RateProvider
2018-05-03 03:32:42 +09:00
nicolas.dorier
43be1e191f
Create the RateRules class for parsing rate calculation rules
2018-05-02 18:37:53 +09:00
rockstardev
cfbcf0947a
Switching to using Dockerfile from Docker Hub
2018-05-01 21:12:04 -05:00
rockstardev
fcfba7f5e1
Refactoring connection to Lnd now there is HTTP support
2018-05-01 20:33:43 -05:00
rockstardev
f4f9fabfd3
Building docker compose with our custom lnd
2018-05-01 19:02:57 -05:00
nicolas.dorier
eb975bf8fc
Isolate Bitpay's code outside of middleware inside BitpayClaimsFilter
2018-04-30 22:28:00 +09:00
nicolas.dorier
21bbf49640
Rewrite authorization enforcement and simplify the code
2018-04-30 22:00:43 +09:00
nicolas.dorier
1fc9a1a54b
Move to a Claim based security
2018-04-30 02:33:42 +09:00
nicolas.dorier
2848caff2e
Support Legacy API Key authentication to Bitpay Invoice API
2018-04-29 18:28:04 +09:00
lepipele
75f4a39ef2
Adding script to build lnd Docker container for testing
...
Obviously when we publish to Docker Hub this whole folder is bye-bye
2018-04-29 02:57:08 -05:00
lepipele
f9f4d93191
Lnd Dockerfile that integrates with BtcPayServer
2018-04-29 02:52:33 -05:00
lepipele
69050f7a56
Lnd sends some integers as strings, testing invoice creation
2018-04-28 12:49:56 -05:00
lepipele
131328b42c
Foundation integration with Lnd
2018-04-27 23:36:58 -05:00
lepipele
ad3b605148
Adding ZMQ settings Lnd needs
2018-04-27 23:36:58 -05:00
nicolas.dorier
8ff81f1648
Use claim based authentication
2018-04-28 02:09:24 +09:00
nicolas.dorier
4f9e4116a2
Point of Sale support free entry
2018-04-26 22:09:18 +09:00
nicolas.dorier
82d8fda05f
update clightning in tests
2018-04-26 15:30:52 +09:00
nicolas.dorier
16f1791a9a
Invoice filter must work with duplicated filter
2018-04-26 11:03:02 +09:00