Commit Graph

411 Commits

Author SHA1 Message Date
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
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
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
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
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
431147784e Merge branch 'master' into dev-lndrpc 2018-05-31 12:11:31 -05: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
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
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
6cefd9c3e7 Merge remote-tracking branch 'source/master' into dev-lndrpc 2018-05-16 04:50:46 -05: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
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
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
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
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
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
nicolas.dorier
4f9e4116a2 Point of Sale support free entry 2018-04-26 22:09:18 +09:00
nicolas.dorier
16f1791a9a Invoice filter must work with duplicated filter 2018-04-26 11:03:02 +09:00
nicolas.dorier
8a88b44e98 Add special rate provider for qudrigacx 2018-04-23 16:44:59 +09:00
nicolas.dorier
10c981b2a0 Update NBXplorer 2018-04-19 16:54:25 +09:00
nicolas.dorier
5cb8cdd511 Refactoring: Do not query database when asking for Coinaverage rates, periodically get exchange list 2018-04-18 16:38:56 +09:00
nicolas.dorier
b8bf4d99ac Bump 2018-04-15 21:29:44 +09:00
nicolas.dorier
0723eec508 Fix rate handling 2018-04-15 21:21:57 +09:00
nicolas.dorier
9da6df50b7 Add DOGECOIN 2018-04-10 19:07:57 +09:00
nicolas.dorier
325b359ff6 Add OnChainMinValue 2018-04-03 17:39:28 +09:00
nicolas.dorier
10fcc84379 Properly test PoS 2018-04-03 16:58:47 +09:00
nicolas.dorier
02163f9482 Rewrite CanParseDerivationScheme 2018-03-27 11:21:06 +09:00
nicolas.dorier
7dd88d8d8f Can send max invoice value for lightning payments 2018-03-26 01:57:44 +09:00
nicolas.dorier
8e38da80e0 Better UX to set the xpub correctly 2018-03-24 20:40:26 +09:00
nicolas.dorier
265cddc38b Change the UX to set lightning node or derivation schemes 2018-03-21 02:48:11 +09:00
nicolas.dorier
6d611d7d05 Can connect directly to CLightning via TCP or UNIX socket 2018-03-21 00:31:19 +09:00
nicolas.dorier
0d8affc68d Remove dependency on Eclair for tests 2018-03-17 17:02:47 +09:00
nicolas.dorier
0f6ad75536 Remove internal exception thrown by NBitcoin 2018-03-13 15:28:39 +09:00
nicolas.dorier
6806d96baa Listen to all derivation schemes 2018-03-12 19:02:03 +09:00
nicolas.dorier
ef431f688f Make ChargeListener use only one websocket connection per url 2018-02-26 13:29:23 +09:00
nicolas.dorier
c8923af573 Lightning Network support implementation 2018-02-26 00:48:12 +09:00
nicolas.dorier
200e259b82 Add lightning dependencies to tests and docker-compose 2018-02-23 15:21:42 +09:00
nicolas.dorier
2f3238c65e Use decimal for calculations instead of Money, and round due amount at ceil satoshi 2018-02-19 18:54:21 +09:00
nicolas.dorier
a634593903 Big refactoring renaming cryptoData => PaymentMethod 2018-02-19 15:09:05 +09:00
nicolas.dorier
af94de93d1 Add some comments 2018-02-19 11:31:34 +09:00
nicolas.dorier
aa4519ac30 Big refactoring for supporting new type of payment 2018-02-19 02:38:03 +09:00
nicolas.dorier
b898cc030c general code cleanup + add analyzers 2018-02-17 13:18:16 +09:00
nicolas.dorier
5de330b1f9 Refactoring to keep coin logic out of InvoiceWatcher 2018-02-17 01:34:40 +09:00
nicolas.dorier
59a2432af9 Better invoice loop, fix javascript 2018-01-20 14:09:57 +09:00
nicolas.dorier
198e810355 Store can customize rate source 2018-01-19 16:00:20 +09:00
nicolas.dorier
b0e9e10f7e Add extended notifications 2018-01-18 20:56:55 +09:00
nicolas.dorier
4b7b6c6327 debug 2018-01-18 18:33:26 +09:00
nicolas.dorier
5ba322ea6a Add debug messages 2018-01-18 18:12:01 +09:00
nicolas.dorier
5f6913b3a2 Can tweak the rate at store level 2018-01-17 15:59:31 +09:00
nicolas.dorier
3f9889d374 Update docker, remove tx cache, use new nbxplorer 2018-01-17 15:02:53 +09:00
nicolas.dorier
bb3d107309 Fix legacy rate not being correct for alt only payment 2018-01-14 15:26:14 +09:00
nicolas.dorier
6b4eeff3f1 add tests, do not returns bitcoinAddress field if not supported by the invoice 2018-01-13 22:01:09 +09:00
nicolas.dorier
6beb7abfd2 fix test 2018-01-12 17:04:47 +09:00
nicolas.dorier
a1ebedc0d1 Fix unit test 2018-01-12 16:54:57 +09:00
nicolas.dorier
8596e16feb make default configuration just work with multi chains 2018-01-11 22:52:28 +09:00
nicolas.dorier
3a91965187 Some refactoring improving performance, and better tests for multiple currencies 2018-01-11 17:29:48 +09:00
nicolas.dorier
0c735f4e29 Fix accounting calculation when multi crypto 2018-01-09 10:54:19 +09:00
nicolas.dorier
76d50b018b Calculate rate properly per crypto 2018-01-09 02:57:06 +09:00
nicolas.dorier
31672a2587 Add litecoin to docker-compose fix bugs when two networks generate same address 2018-01-09 01:56:37 +09:00
nicolas.dorier
e3a1eed8b3 Use Websocket for blockchain notifications 2018-01-08 02:36:41 +09:00
nicolas.dorier
80e878c2f5 Removing http callback notification system 2018-01-07 21:48:00 +09:00
nicolas.dorier
513835ed0f remove eclair dependency 2017-12-21 18:06:21 +09:00
nicolas.dorier
a863812f90 Refactor how invoice payments are computed 2017-12-21 18:01:26 +09:00
nicolas.dorier
a37fdde214 Big refactorying for supporting multi currencies 2017-12-21 15:52:04 +09:00
nicolas.dorier
24007f1515 Fix: Forgot to pass in the Rate field to the invoice DTO 2017-12-18 08:56:27 +09:00
nicolas.dorier
c6959bb0bc Can start without NBXplorer being ready 2017-12-17 01:04:20 +09:00
nicolas.dorier
1b6fa0c7d8 Prepare Eclair integration 2017-12-13 15:49:19 +09:00
nicolas.dorier
741915b1f8 Allow filtering of invoices over storeid and status 2017-12-03 23:35:52 +09:00
nicolas.dorier
f1f227b746 Index invoice in a parallel thread 2017-11-12 23:03:33 +09:00
nicolas.dorier
b042f98f0f Correctly handle RBF 2017-11-06 00:31:02 -08:00
nicolas.dorier
4deb7c3270 Adopt dotnet core editorconfig, big reformating 2017-10-27 17:53:04 +09:00
nicolas.dorier
b71f9d0a08 Use CoinAverage as rate provider + add caching to avoid hitting limits 2017-10-27 11:39:11 +09:00
nicolas.dorier
55a4c3c08d Change address if invoice get partially paid 2017-10-25 01:41:01 +09:00
nicolas.dorier
6ba6a34df2 Fix the states of invoice to match bitpay 2017-10-23 17:44:04 +09:00
lepipele
28ea694791 Extracting my tests to separate class, adding test for generating ExtPubKey 2017-10-20 16:49:13 -05:00
lepipele
45b0991841 Fixing typo in namespace 2017-10-20 14:06:37 -05:00
lepipele
da385f9295 Adding Unit Test for generating test Bitpay checkout page 2017-10-20 14:00:38 -05:00
nicolas.dorier
a7e10c0fb9 Can't pair same SIN to different store 2017-10-13 18:06:46 +09:00
nicolas.dorier
9ddceae824 Validate email in the api 2017-10-13 16:59:02 +09:00
nicolas.dorier
bae08b6966 Use callback to update invoice state instead of long polling 2017-10-12 16:33:53 +09:00
nicolas.dorier
6d3ea65e03 Refactor token handling, support server-initiated pairing 2017-10-11 12:20:44 +09:00
NicolasDorier
61b37f87dc Rely on docker for tests, move everything to the root 2017-10-03 00:41:03 +09:00
NicolasDorier
3304d11da8 Fix Token permissions (merchant facade > pos facade) + Add IPN + Add Hangfire integration 2017-09-26 01:31:43 +09:00
NicolasDorier
f8baab8138 Renaming + fix invoice display when paid and expired 2017-09-15 16:06:57 +09:00
NicolasDorier
b5c6ed3860 Init 2017-09-13 15:55:16 +09:00