Antoni Spaanderman
5264738e5f
use lnd rest api
2022-07-30 21:52:58 +02:00
Antoni Spaanderman
857728a4c8
Address @Xekyo's comments on https://github.com/mempool/mempool/pull/2167
...
+ minor fixes, variable name consistency and ts types
2022-07-26 16:29:42 +02:00
Antoni Spaanderman
1d2d6e5945
add taproot badge with only privacy tooltip if no fees can be saved
2022-07-24 19:39:13 +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
Antoni Spaanderman
309040b7d5
set error correction level to low for qr codes
2022-07-05 10:38:31 +02:00
Antoni Spaanderman
281d10dddb
stricter multisig check + detect bare multisig when spent
2022-06-03 18:47:44 +02: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
1094ddd1e8
Merge branch 'master' into script-display-2
2022-04-11 21:46:06 +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
86669c2d0d
name tapscript by its name + OP_CHECKSIGADD tapscript opcode detection
2022-04-04 17:16:34 +02:00
Antoni Spaanderman
1bea953ed0
more direct opcode comparison
2022-04-03 21:58:53 +02:00
Antoni Spaanderman
dfa614ff25
Completely rewrote convertScriptSigAsm
...
it now gives identical output to esplora, tested with the following TXs (testnet):
88710a9a6751827490f260e307757543f533c0f18bcd6865794713d263d5f5a4
446b2aad074de94efa28a1e82d2e6016dcb8a8ca38aca1a5a8eac6ef54e56a2e
4cfc410092e9514c14f48b61e20d2d3baf540ae7e981a821dd8c05dd4b7cd591
4b55dde38173174ab09e5571ebffffca798ba11143d28b9770600ff376dc778a
2022-04-03 21:41:12 +02:00
Antoni Spaanderman
99f2e8d4a8
Merge branch 'master' into lightning-scripts
2022-03-29 16:26:20 +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
7183b588aa
fix and improve block time predictions
...
dce775e but then on the backed after refractor #1352
2022-03-15 20:39:25 +01:00
Antoni Spaanderman
0d65ef17a8
improve testnet block time estimations
2022-03-09 17:38:37 +01:00
Antoni Spaanderman
40804b3426
simplify if statement
2022-03-09 11:51:36 +01:00
Antoni Spaanderman
95b8a77bf1
add non null assertion
2022-03-08 20:59:46 +01:00
Antoni Spaanderman
933f34ef73
oops
2022-03-08 20:40:44 +01:00
Antoni Spaanderman
cd14a91523
revert "add network regtest" 1f0ae60
2022-03-08 19:59:18 +01:00
Antoni Spaanderman
27f6654299
Merge branch 'master' into regtest-1
2022-03-08 19:45:03 +01:00
Antoni Spaanderman
7a44705ef1
set fee_histogram to []
2022-02-13 16:13:46 +01:00
Antoni Spaanderman
8902107663
implement /api/mempool
2022-02-13 13:52:04 +01:00
Antoni Spaanderman
3c9fa6926f
Merge branch 'master' into log-priority
...
i first forgot to fetch upstream in github, conflicts are fixed
2022-02-07 09:15:42 +01:00
Antoni Spaanderman
c1e83c9c7c
Merge branch 'master' into log-priority
2022-02-07 08:59:01 +01: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
Antoni Spaanderman
f5f97806bb
add STDOUT_LOG_MIN_PRIORITY to README and docker config
2022-02-04 19:19:32 +01:00
Antoni Spaanderman
00f511cec0
Merge branch 'master' into regtest-1
...
for cla bot
2022-02-04 12:34:42 +01:00
Antoni Spaanderman
723ef1056e
Merge branch 'master' into log-priority
...
fix conflicts in backend/src/config.ts and backend/mempool-config.sample.json
2022-02-04 12:32:08 +01:00
Antoni Spaanderman
c418df9360
Merge branch 'master' into fee-visibility
...
for cla bot
2022-02-04 12:26:47 +01:00
Antoni Spaanderman
a35ac48b18
sign cla
2022-01-25 16:50:03 +01:00
Antoni Spaanderman
e4875c714a
fix 0 sat/vB not displaying
2022-01-24 21:35:13 +01:00
Antoni Spaanderman
f1a6720666
fix dashboard TXs issue
2022-01-24 20:51:30 +01:00
Antoni Spaanderman
9009dcef4a
fix dashboard blocks issue
2022-01-24 20:44:05 +01:00
Antoni Spaanderman
07477957fd
fix block height out of range on full page blocks viewer
2022-01-24 20:26:02 +01:00
Antoni Spaanderman
afcb1985ca
prefer const over let
2022-01-24 20:25:22 +01:00
Antoni Spaanderman
5a1d1a2e95
add log priority option for stdout log
2022-01-23 12:20:32 +01:00
Antoni Spaanderman
464a3aa0bb
fix error with invalid chaintips
2022-01-22 15:13:10 +01:00
Antoni Spaanderman
d9875b65e3
stop for loop after genesis block
...
prevHash == undefined for the genesis block
2022-01-20 19:24:30 +01:00
Antoni Spaanderman
3f599a895d
add regtest class
2022-01-20 19:10:36 +01:00
Antoni Spaanderman
25ce6943a6
add network regtest
2022-01-20 17:19:16 +01:00
Antoni Spaanderman
2761eb7b84
fixed arrow not pointing to genesis block
2022-01-20 15:57:53 +01:00
Antoni Spaanderman
8337d123e6
display genesis block
2022-01-19 17:11:35 +01:00
Antoni Spaanderman
9247e16583
load blocks with height under INITIAL_BLOCKS_AMOUNT
2022-01-19 16:58:56 +01:00
Antoni Spaanderman
142543cc35
rethrow the error if it wasnt the genesis coinbase
2022-01-19 08:27:51 +01:00
Antoni Spaanderman
5202e669ce
outputs of genesis coinbase are always unspent
2022-01-18 22:25:38 +01:00
Antoni Spaanderman
7ad85c33b6
dont use hardcoded genesis coinbase and block hash
...
fixes #1128
2022-01-18 21:55:09 +01:00