remove unused chia.wallet.block_record module (#17325)

* remove unused `chia.wallet.block_record` module

* missed it
This commit is contained in:
Kyle Altendorf 2024-01-16 10:24:05 -05:00 committed by GitHub
parent f604e87bf1
commit 1a30c171ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 38 deletions

View File

@ -1,37 +0,0 @@
from __future__ import annotations
from dataclasses import dataclass
from typing import List
from chia.types.blockchain_format.coin import Coin
from chia.types.header_block import HeaderBlock
from chia.util.streamable import Streamable, streamable
@streamable
@dataclass(frozen=True)
class HeaderBlockRecord(Streamable):
"""
These are values that are stored in the wallet database, corresponding to information
that the wallet cares about in each block
"""
header: HeaderBlock
additions: List[Coin] # A block record without additions is not finished
removals: List[Coin] # A block record without removals is not finished
@property
def header_hash(self):
return self.header.header_hash
@property
def prev_header_hash(self):
return self.header.prev_header_hash
@property
def height(self):
return self.header.height
@property
def transactions_filter(self):
return self.header.transactions_filter

View File

@ -19,7 +19,6 @@ chia.ssl.create_ssl
chia.timelord.timelord_api
chia.timelord.timelord_launcher
chia.types.blockchain_format.program
chia.wallet.block_record
chia.wallet.chialisp
chia.wallet.did_wallet.did_wallet
chia.wallet.key_val_store