Commit Graph

1455 Commits

Author SHA1 Message Date
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
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
2e4b0daa48 add french translation, bump NBitcoin 2018-04-14 13:18:56 +09:00
nicolas.dorier
6f827c86a4 Update images and bump 2018-04-13 14:34:29 +09:00
nicolas.dorier
9da6df50b7 Add DOGECOIN 2018-04-10 19:07:57 +09:00
nicolas.dorier
ac9b8d03d7 Fix slow invoice creation 2018-04-09 16:25:31 +09:00
nicolas.dorier
b1da136f77 Update packages and remove hangfire hack 2018-04-09 14:31:39 +09:00
nicolas.dorier
be49c60e83 Update lightning-charge 2018-04-08 12:29:20 +09:00
nicolas.dorier
42f44327f0 Update NBitcoin and NBXplorer 2018-04-07 02:23:12 +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
39b34ff4ed Can invite user to manage your store 2018-03-23 16:24:57 +09:00
nicolas.dorier
48eaf906b0 Update text in AddLightningNode 2018-03-21 23:51:28 +09:00
nicolas.dorier
f42fde970a bump 2018-03-21 15:07: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
21b91ac8f7 Add btc.lightning and ltc.lightning 2018-03-21 02:09:25 +09:00
nicolas.dorier
e8730f74be update docker-compose 2018-03-21 01:10:10 +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
2b2e12b290 Abstract ChargeClient to prepare for support of other lightning implementation 2018-03-20 11:59:43 +09:00
nicolas.dorier
b8a4f0c012 fix tests 2018-03-18 01:59:16 +09:00
nicolas.dorier
57bb3b231c Add linux script for manual testing 2018-03-17 19:40:23 +09:00
nicolas.dorier
e5d626e0fd Remove useless stuff in command line for tests 2018-03-17 19:35:37 +09:00
nicolas.dorier
e2c4c913ff Remove hard coded container names in test docker-compose 2018-03-17 19:33:36 +09:00
nicolas.dorier
09f97915d6 Fix charge listener bug, and decouple charge from clightning in test docker compose 2018-03-17 19:26:30 +09:00
nicolas.dorier
81328b2667 Update charge in tests and fix two build time warnings 2018-03-17 17:49:42 +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
303a617f9e Improve invoice.cshtml display if offchain payment is present 2018-03-06 16:37:25 -05:00
nicolas.dorier
3116ec9cb8 Fix bitcoin logo for internet explorer, update nbxplorer 2018-03-06 10:41:41 -05:00
nicolas.dorier
b67a962d12 Make sure the txrelayfee is correctly set 2018-03-02 14:16:16 -05:00
nicolas.dorier
2d5a861df0 Update to work with 0.16.0 2018-02-28 17:01:10 +09:00
nicolas.dorier
856249d52c Update test sdk 2018-02-26 19:06:02 +09:00
nicolas.dorier
309d6fdfe0 Can configure an internallightningnode to make things easier 2018-02-26 18:58:02 +09:00
nicolas.dorier
adc6bea4dc make tests bit more resilient 2018-02-26 13:36:00 +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
82d38da18e FAQ 2018-02-23 15:31:19 +09:00
nicolas.dorier
200e259b82 Add lightning dependencies to tests and docker-compose 2018-02-23 15:21:42 +09:00
nicolas.dorier
7fe64612ad bump nbxplorer 2018-02-21 11:56:30 +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
e97c15578d bump nbxplorer 2018-02-13 12:42:03 +09:00
nicolas.dorier
cd0a650df4 Ledger wallet support 2018-02-13 03:27:36 +09:00
nicolas.dorier
6d6b9e2ba6 disable test not passing because of bitpay 2018-02-10 22:24:50 +09:00
nicolas.dorier
fd915fdc5c fix test 2018-02-10 22:21:52 +09:00
nicolas.dorier
59be813fe9 bump 2018-02-10 22:10:36 +09:00
nicolas.dorier
d873a1a545 Set a longer timeout for the cache for /rates, update NBXPlorer, bump 2018-02-01 21:24:13 +01:00
nicolas.dorier
59a2432af9 Better invoice loop, fix javascript 2018-01-20 14:09:57 +09:00
nicolas.dorier
ea4fa8d5d4 Mock rate provider 2018-01-20 12:30:22 +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
af16e1db69 update docker test 2018-01-17 16:17:27 +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
c9b5f89f17 Make sure BTCPayServer exit cleanly in case of crash during startup, see https://github.com/aspnet/Hosting/issues/1194 2018-01-15 14:42:51 +09:00
nicolas.dorier
ecb82f2cc9 do not send IPN if not set 2018-01-15 00:22:40 +09:00
nicolas.dorier
f340c6eb7f Add more events to invoice 2018-01-14 22:06:06 +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
e3cc589ebb fix nbxplorer 2018-01-13 21:07:04 +09:00
nicolas.dorier
d54a9474d1 Fixing exception thrown when invoice is paid and supporting only LTC 2018-01-13 17:23:09 +09:00
nicolas.dorier
4f39a8060c Fixing bug of uncorrectly unassigned addresses 2018-01-13 01:48:19 +09:00
nicolas.dorier
df7bb9e2f8 Add info about nbxplorer synching 2018-01-13 01:05:38 +09:00
nicolas.dorier
02a039d695 Fixing bug when targetting testnet 2018-01-12 22:36:13 +09:00
nicolas.dorier
2b7c70622f bump 2018-01-12 21:55:13 +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
d5ad0cdb39 Fix a edge case "The instance of entity type 'HistoricalAddressInvoiceData'" 2018-01-12 16:42:10 +09:00
nicolas.dorier
58194cb060 Fix tests, clean code of Options 2018-01-12 16:00:31 +09:00
nicolas.dorier
ef165e15bf Fix config discovery when datadir is set 2018-01-12 13:45:25 +09:00
nicolas.dorier
bf871c46ec update nbxplorer 2018-01-12 13:32:27 +09:00
nicolas.dorier
52331e057f update nbxplorer 2018-01-12 13:16:17 +09:00
nicolas.dorier
b59021a0be Cleanup the design for multi currencies support, use a single nbxplorer instead of two 2018-01-12 11: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
223558c01d Adding transaction caching 2018-01-11 21:01:00 +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
cb4468d3b3 Fixing payment in different crypto 2018-01-10 18:30:45 +09:00
nicolas.dorier
842e083ebe bump nbxplorer 2018-01-10 12:18:34 +09:00
nicolas.dorier
1c510df3fc bump 2018-01-10 02:41:33 +09:00
nicolas.dorier
863752a471 update nbxplorer (fix ltc testnet) 2018-01-09 12:53:58 +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
c3d37b1f78 Can set derivation scheme for a specific crypto currency 2018-01-08 22:45:09 +09:00
nicolas.dorier
e3a0122eb3 make sure to not crash whole process if nbxplorer unavailable 2018-01-08 18:18:34 +09:00
nicolas.dorier
1cda0eff16 bump nbxplorer 2018-01-08 17:17:39 +09:00
nicolas.dorier
e3a1eed8b3 Use Websocket for blockchain notifications 2018-01-08 02:36:41 +09:00
nicolas.dorier
eb44203475 Remove internal url 2018-01-07 21:58:46 +09:00
nicolas.dorier
80e878c2f5 Removing http callback notification system 2018-01-07 21:48:00 +09:00
nicolas.dorier
28ac5608a5 Update NBxplorer, bump version 2018-01-04 22:43:28 +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
395b550c21 add more doc for contributing 2017-12-19 11:47:43 +09:00
nicolas.dorier
774565b121 fix test README 2017-12-19 11:43:52 +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
84bb6056d3 Use EventAggregator to decouple several classes 2017-12-17 14:17:42 +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
a5b732e197 Update NBitcoin, NBxplorer and bump 2017-12-03 01:56:26 +09:00
nicolas.dorier
6950a06532 break line in yaml for increased readability 2017-11-27 17:01:11 +09:00
nicolas.dorier
f1f227b746 Index invoice in a parallel thread 2017-11-12 23:03:33 +09:00
nicolas.dorier
7a173a6692 Update NBXplorer 2017-11-06 00:54:03 -08:00
nicolas.dorier
b042f98f0f Correctly handle RBF 2017-11-06 00:31:02 -08:00
nicolas.dorier
024ab8ff69 Update NBXplorer 2017-11-04 16:02:00 -07:00
nicolas.dorier
50cb61f3bd Update nbxplorer 2017-11-02 15:38:52 -07:00
nicolas.dorier
dd80263490 update nbxplorer 2017-11-01 02:17:39 -07: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
nicolas.dorier
67f5d497d5 helper script for using cli on regtest 2017-10-21 20:20:06 +09:00
nicolas.dorier
3cc614c024 Add command line so no need of bitcoin-cli in dev 2017-10-21 19:56:55 +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
505d9904af Merge remote-tracking branch 'source/master'
# Conflicts:
#	BTCPayServer.Tests/UnitTest1.cs
2017-10-20 14:04:40 -05:00
lepipele
da385f9295 Adding Unit Test for generating test Bitpay checkout page 2017-10-20 14:00:38 -05:00
nicolas.dorier
94e9ab7f67 In server-initiated situation, the server can set the label 2017-10-18 18:44:24 +09:00
nicolas.dorier
06a96e8b77 README, prevent a nullreferenceexception 2017-10-18 10:40:59 +09: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
016db76306 Add page for viewing the Invoice details 2017-10-13 00:25:45 +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
783132a012 Add balance of the store in the stores page 2017-10-06 11:07:22 +09:00
NicolasDorier
f456d62d3c Properly map addresses to invoice, use new nbxplorer 2017-10-06 10:37:38 +09:00
NicolasDorier
8b4e572e16 Allow flexible derivation scheme for the store 2017-10-05 00:05:38 +09:00
NicolasDorier
51ef3ec656 Update to NBXplorer supporting several scheme 2017-10-04 19:29:39 +09:00
NicolasDorier
35a3618a42 Add launchSettings, fix docker-compose version 2017-10-03 01:29:35 +09:00
NicolasDorier
aa59725176 Doc how to run tests 2017-10-03 01:01:21 +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
ce055dece9 .NET 2.0sify, use the same configuration framework as NBXplorer 2017-09-23 01:31:29 +09:00
NicolasDorier
f8baab8138 Renaming + fix invoice display when paid and expired 2017-09-15 16:06:57 +09:00
NicolasDorier
d86e8695a0 Redirect to Stores page if creating invoice before creating a store 2017-09-15 13:49:36 +09:00
NicolasDorier
467ecd0923 Decouple User from Store 2017-09-13 23:50:36 +09:00
NicolasDorier
95b45da25a Fix vs adding repo as submodule 2017-09-13 16:25:33 +09:00
NicolasDorier
b5c6ed3860 Init 2017-09-13 15:55:16 +09:00