mirror of
https://github.com/mempool/mempool.git
synced 2026-08-18 13:08:44 +02:00
Remove block_time from indexed fields
This commit is contained in:
parent
75a99568bf
commit
086ee68b52
2 changed files with 0 additions and 3 deletions
|
|
@ -205,8 +205,6 @@ class Blocks {
|
|||
blk.extras.segwitTotalWeight = stats.swtotal_weight;
|
||||
}
|
||||
|
||||
blk.extras.blockTime = 0; // TODO
|
||||
|
||||
if (Common.indexingEnabled()) {
|
||||
blk.extras.feePercentiles = await BlocksSummariesRepository.$getFeePercentilesByBlockId(block.id);
|
||||
if (blk.extras.feePercentiles !== null) {
|
||||
|
|
|
|||
|
|
@ -764,7 +764,6 @@ class DatabaseMigration {
|
|||
private getAdditionalBlocksDataQuery(): string {
|
||||
return `ALTER TABLE blocks
|
||||
ADD median_timestamp timestamp NOT NULL,
|
||||
ADD block_time int unsigned NOT NULL,
|
||||
ADD coinbase_address varchar(100) NULL,
|
||||
ADD coinbase_signature varchar(500) NULL,
|
||||
ADD coinbase_signature_ascii varchar(500) NULL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue