Display block details and taproot signaling.

This commit is contained in:
softsimon
2021-05-01 03:55:02 +04:00
parent 0d03a9e6cc
commit d2fe000ad0
6 changed files with 96 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'decimal2hex'
})
export class Decimal2HexPipe implements PipeTransform {
transform(decimal: number): string {
return `0x` + decimal.toString(16);
}
}

View File

@@ -4,6 +4,7 @@ import { VbytesPipe } from './pipes/bytes-pipe/vbytes.pipe';
import { ShortenStringPipe } from './pipes/shorten-string-pipe/shorten-string.pipe';
import { CeilPipe } from './pipes/math-ceil/math-ceil.pipe';
import { Hex2asciiPipe } from './pipes/hex2ascii/hex2ascii.pipe';
import { Decimal2HexPipe } from './pipes/decimal2hex/decimal2hex.pipe';
import { AsmStylerPipe } from './pipes/asm-styler/asm-styler.pipe';
import { RelativeUrlPipe } from './pipes/relative-url/relative-url.pipe';
import { ScriptpubkeyTypePipe } from './pipes/scriptpubkey-type-pipe/scriptpubkey-type.pipe';
@@ -35,6 +36,7 @@ import { ReactiveFormsModule } from '@angular/forms';
WuBytesPipe,
CeilPipe,
ShortenStringPipe,
Decimal2HexPipe,
],
imports: [
CommonModule,
@@ -71,6 +73,7 @@ import { ReactiveFormsModule } from '@angular/forms';
WuBytesPipe,
CeilPipe,
ShortenStringPipe,
Decimal2HexPipe,
]
})
export class SharedModule {}