Instant mining pool identification from recent blocks.

refs #59
This commit is contained in:
softsimon
2020-05-10 00:54:07 +07:00
parent 0753b11840
commit c08a4c8424
5 changed files with 5 additions and 1 deletions

View File

@@ -70,7 +70,7 @@
</ng-template>
<tr>
<td>Miner</td>
<td><app-miner [coinbaseTransaction]="transactions && transactions[0]"></app-miner></td>
<td><app-miner [coinbaseTransaction]="block.coinbaseTx || (transactions && transactions[0])"></app-miner></td>
</tr>
</tbody>
</table>

View File

@@ -92,6 +92,7 @@ export interface Block {
medianFee?: number;
feeRange?: number[];
reward?: number;
coinbaseTx?: Transaction;
}
export interface Address {

View File

@@ -19,6 +19,7 @@ export class MinerComponent implements OnChanges {
) { }
ngOnChanges() {
this.miner = '';
this.loading = true;
this.findMinerFromCoinbase();
}