Commit Graph

24 Commits

Author SHA1 Message Date
nicolas.dorier
cccf3ca617 The signing context should not be passed to PSBT screen 2020-05-25 07:05:01 +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
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
Dennis Reimann
8420c74b31 Improve static asset caching
Cache static assets for one year and set the correct cache control header. Adds the cache busting version based on file content to asset references to invalidate the cache on change. ([further details on the approach](https://andrewlock.net/adding-cache-control-headers-to-static-files-in-asp-net-core/) and [why one year](https://ashton.codes/set-cache-control-max-age-1-year/))

Most of the changes are the additions of the `asp-append-version="true"` attribute, the main configuration change is in `Startup.cs`.
2020-04-18 17:56:05 +02:00
Kukks
10fcfab233 remove bpu TempData 2020-03-27 10:45:13 +01:00
Andrew Camilleri
db6a4687d2 Wallet prep work for BPU (#1331)
* Wallet prep work for BPU

This PR prepares the wallet for #1321. It makes transfers from the vault and ledger to go to their own post actions for processing (not particularly useful in this PR but is needed in BPU to propose a new tx)  It also makes the Sign with seed consistent with redirect to /psbt/ready after signing which it did not do (it stayed on the seed route)

* fix test

* add assert
2020-02-13 22:06:00 +09:00
Andrew Camilleri
8e6f43cd3a Sign with NBX Seed (#1218) 2020-01-21 17:33:12 +09:00
nicolas.dorier
1a8d6e5c05 Implement BTCPayServer vault derivation scheme import 2019-11-21 14:06:16 +09:00
nicolas.dorier
5b37a9df0b Make sure we don't pass the psbt in GET url 2019-11-08 21:21:23 +09:00
nicolas.dorier
d66e8f2d13 Removing obsolete StatusMessage 2019-10-31 15:19:38 +09:00
nicolas.dorier
cd009466b6 Make sure we don't have empty row if no StatusMessage 2019-06-06 18:47:31 +09:00
nicolas.dorier
0faf2fe83e Fix buttons in PSBT 2019-05-30 23:36:01 +09:00
nicolas.dorier
19bc511f39 Can update PSBT, fix the PSBT review page 2019-05-30 23:16:05 +09:00
nicolas.dorier
39157e6883 Fix tests 2019-05-20 00:06:03 +09:00
nicolas.dorier
87df34e064 Can actually upload PSBT file in PSBT Combine and PSBT view.
Validate transaction before allowing any broadcast and show errors nicely.
2019-05-19 23:27:18 +09:00
nicolas.dorier
a68915d6cf WalletPSBTReady show the summary of the transaction, signing with the seed respect the keypath of the wallet settings 2019-05-15 15:00:09 +09:00
Andrew Camilleri
eb54a18fcd Wallet & PSBT: Sign with seed or key (#840)
* Allow signing a PSBT with an extkey/wif or mnemonic seed

* reword things

* small text
2019-05-15 01:03:48 +09:00
nicolas.dorier
14647d5778 minor improvement to UI of PSBT 2019-05-12 15:16:40 +09:00
nicolas.dorier
3011fecf0f Add tests for PSBT 2019-05-12 14:51:24 +09:00
nicolas.dorier
6da0a9a201 Can combine PSBT 2019-05-12 13:13:52 +09:00
nicolas.dorier
cb9130fdf9 Can broadcast PSBT, can decide to export something signed by the ledger via PSBT 2019-05-12 00:05:30 +09:00
nicolas.dorier
5f1aa619cd Can sign and export arbitrary PSBT 2019-05-11 20:26:31 +09:00
nicolas.dorier
e853bddbc8 Add utility tool to decode PSBT 2019-05-11 00:29:29 +09:00