Commit graph

33 commits

Author SHA1 Message Date
natsoni
517d36783f
Add P2WSH Liquid peg out to input label 2024-02-06 11:37:51 +01:00
softsimon
8ebe04baa7
Fallback alias name to pubkey
fixes #2935
2023-01-10 21:27:26 +04:00
softsimon
fa11cb0619
Use relative import paths 2022-09-21 17:23:45 +02:00
softsimon
b255f68a83
Allow address label to overflow without pushing UI
fixes #2544
2022-09-18 20:50:07 +02:00
Antoni Spaanderman
37fd1fb76d
move parseMultisigScript to bitcoin.util.ts 2022-07-24 18:44:27 +02:00
Antoni Spaanderman
eb9c6f2231
Add Taproot transaction feature tooltip with fee saving information 2022-07-24 00:08:53 +02:00
softsimon
da9834d272
Label channel closes 2022-07-08 18:55:24 +02:00
softsimon
473cb55dc4
Channel pagination 2022-07-08 18:55:23 +02:00
softsimon
67eab93129
Link channels from Transaction page. 2022-07-08 18:55:23 +02:00
Felipe Knorr Kuhn
a2e2b36a76
Remove frontend dependencies and old tests 2022-07-06 13:13:59 -07:00
Antoni Spaanderman
b930b9bf4f
stricter multisig check + detect bare multisig when spent 2022-06-03 18:47:44 +02:00
softsimon
c09c694fb1
Minor i18n corrections 2022-05-17 19:27:41 +04:00
softsimon
9d33270970
Restoring the Confirmed string and re-localized the Multisig tag 2022-05-12 02:42:24 +04:00
Antoni Spaanderman
f61b8bf0fd
detect received lighting HTLC outputs 2022-05-09 17:08:59 +02:00
Antoni Spaanderman
222696f859
fix lightning force close label with CSV delay <= 16 2022-05-03 17:26:32 +02:00
Antoni Spaanderman
b4fce5cb00
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
493b44d4b9
detect bare multisigs with handleVout 2022-03-29 16:16:20 +02:00
Antoni Spaanderman
b5ef148b82
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
56656839b3
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
9f3a3bd4d7
also detect uncompressed pubkeys + fix errors 2022-02-06 12:41:37 +01:00
Antoni Spaanderman
bb8bfa0e3a
copy paste moment 2022-02-05 17:29:42 +01:00
Antoni Spaanderman
148e340ea6
actually test htlc, fix indentation (again) and detect multisig 2022-02-05 17:26:50 +01:00
Antoni Spaanderman
7565aa7a25
fix indentation + detect htlc with option_anchors 2022-02-05 16:58:41 +01:00
Antoni Spaanderman
1f6504898a
detect lightning htlc and unilateral close 2022-02-05 16:50:10 +01:00
softsimon
181cb8e03f
Removing lightning htlc matching since it has false positives.
refs #324
2021-02-10 19:55:11 +07:00
softsimon
ccdf41c5b6
Don't display multisig tag on lightning/liquid contracts.
refs #324
2021-02-03 19:03:59 +07:00
softsimon
999163d7ad
Type fix for contract parsing.
refs #324
2021-02-03 12:51:30 +07:00
fiatjaf
276117fba9
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
4658b47007
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
36e46249b5
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
1feb985bec
Liquid and Testnet now accessable from the main site
fixes #35
2020-05-09 20:37:50 +07:00
Simon Lindh
8e52a2ba06
Design updates. 2020-02-26 03:39:22 +09:00
Simon Lindh
ac95c09ea6
New base code for mempool blockchain explorerer 2020-02-26 03:19:26 +09:00