32 Commits

Author SHA1 Message Date
softsimon
a552ab224b Fallback alias name to pubkey
fixes #2935
2023-01-10 21:27:26 +04:00
softsimon
880b5f9712 Use relative import paths 2022-09-21 17:23:45 +02:00
softsimon
2adf56dbd6 Allow address label to overflow without pushing UI
fixes #2544
2022-09-18 20:50:07 +02:00
Antoni Spaanderman
ed36554f76 move parseMultisigScript to bitcoin.util.ts 2022-07-24 18:44:27 +02:00
Antoni Spaanderman
469c561acb Add Taproot transaction feature tooltip with fee saving information 2022-07-24 00:08:53 +02:00
softsimon
f630754aa3 Label channel closes 2022-07-08 18:55:24 +02:00
softsimon
6e2b1d633b Channel pagination 2022-07-08 18:55:23 +02:00
softsimon
a8ece05f90 Link channels from Transaction page. 2022-07-08 18:55:23 +02:00
Felipe Knorr Kuhn
4b296f8d92 Remove frontend dependencies and old tests 2022-07-06 13:13:59 -07:00
Antoni Spaanderman
281d10dddb stricter multisig check + detect bare multisig when spent 2022-06-03 18:47:44 +02:00
softsimon
0bdbd1de80 Minor i18n corrections 2022-05-17 19:27:41 +04:00
softsimon
886f231f96 Restoring the Confirmed string and re-localized the Multisig tag 2022-05-12 02:42:24 +04:00
Antoni Spaanderman
195d7e9332 detect received lighting HTLC outputs 2022-05-09 17:08:59 +02:00
Antoni Spaanderman
4ed837cc21 fix lightning force close label with CSV delay <= 16 2022-05-03 17:26:32 +02:00
Antoni Spaanderman
b92ac2c499 Fix Lightning HTLC detection with options_anchors
rename `OP_CHECKSEQUENCEVERIFY` to `OP_CSV` in regex
2022-04-10 00:20:19 +02:00
Antoni Spaanderman
44a105b156 detect bare multisigs with handleVout 2022-03-29 16:16:20 +02:00
Antoni Spaanderman
e95b3885ee replace 3 seperate labels with one AddressLabelsComponent.label?: string
+ consistency: move comments in the `if` blocks
2022-03-29 15:47:48 +02:00
Antoni Spaanderman
a5db6a0d36 Detect more lightning scripts:
- expired htlc
- anchor
- swept anchor

Fix indentation what i messed up in 7565aa7

Add explanation
2022-03-27 16:13:48 +02:00
Antoni Spaanderman
394e659501 also detect uncompressed pubkeys + fix errors 2022-02-06 12:41:37 +01:00
Antoni Spaanderman
7b376da41c copy paste moment 2022-02-05 17:29:42 +01:00
Antoni Spaanderman
1542d37f94 actually test htlc, fix indentation (again) and detect multisig 2022-02-05 17:26:50 +01:00
Antoni Spaanderman
5989a275bc fix indentation + detect htlc with option_anchors 2022-02-05 16:58:41 +01:00
Antoni Spaanderman
036be3e6d1 detect lightning htlc and unilateral close 2022-02-05 16:50:10 +01:00
softsimon
54e1f38d2f Removing lightning htlc matching since it has false positives.
refs #324
2021-02-10 19:55:11 +07:00
softsimon
add901aaac Don't display multisig tag on lightning/liquid contracts.
refs #324
2021-02-03 19:03:59 +07:00
softsimon
462fc0f2a2 Type fix for contract parsing.
refs #324
2021-02-03 12:51:30 +07:00
fiatjaf
b5cc9d1b85 better identification of lightning outputs. (#320)
* better identification of lightning outputs.
* identify liquid pegouts and emergency pegouts.
fixes #324
2021-02-03 12:40:31 +07:00
wiz
46ad261d84 Implement i18n support in frontend using Angular + Transifex + NGINX
This PR adds basic i18n support into the mempool frontend, together with
a smooth workflow for developers and translators to collaborate:

* Using the existing @angular/localize module, developers add i18n
metadata to any frontend strings their new features or changes modify

* Using the new npm script `i18n-extract-from-source`, developers
extract the i18n data from source code into `src/locale/messages.xlf`

* After pushing the updated `src/locale/messages.xlf` to GitHub, the
Transifex service will update its database from the new source data

* Using the Transifex website UI, translators can work together to
translate all the mempool frontend strings into their native languages

* Using the new npm script `i18n-pull-from-transifex`, developers can
pull in completed translations from Transifex, and commit them into git.

This flow requires an API key from Transifex, which can be obtained at
https://www.transifex.com/user/settings/api/ to be used with the python
script installed by `pip install transifex-client` - after preparing
these, run the npm script which will ask you for the API key the first
time. When downloading is complete, you can test building the frontend,
and if successful, commit the new strings files into git.

This PR implements a new locale selector in the footer of the homepage
dashboard, and includes WIP translations for the following languages:

* Czech (cs)
* German (de)
* Japanese (ja)
* Norwegian (nn)
* Spanish (es)
* Swedish (sv)
* Ukrainian (uk)
* Persian (fa)
* Portugese (pt)
* Turkish (tr)
* Dutch (nl)
* French (fr)
* Chinese (zh)
* Slovenian (sl)
* Korean (ko)
* Polish (pl)

The user-agent's `Accept-Language` header is used to automatically
detect their preferred language, which can be manually overriden by the
pull-down selector, which saves their preference to a cookie, which is
used by nginx to serve the correct HTML bundle to the user.

Remaining tasks include adding i18n metadata for strings in the Bisq and
Liquid frontend code, mouseover hover tooltip strings, hard-coded og
metadata inside HTML templates, and many other places. This will be done
in a separate PR.

When upgrading to add i18n support, mempool instance operators must take
care to install the new nginx.conf and nginx-mempool.conf files, and
tweak for their specific site configuration.

Fixes #81
2020-12-02 04:19:33 +09:00
softsimon
e0a451eb05 Transition new blocks from the mempool onto the blockchain.
Chime on new blocks.
fixes #47
fixes #84
2020-06-10 23:52:14 +07:00
softsimon
7974cbbc83 Liquid and Testnet now accessable from the main site
fixes #35
2020-05-09 20:37:50 +07:00
Simon Lindh
94b7f6e0e4 Design updates. 2020-02-26 03:39:22 +09:00
Simon Lindh
43f41b8aab New base code for mempool blockchain explorerer 2020-02-26 03:19:26 +09:00