mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-11 10:56:14 +03:00
remove unused chia.wallet.block_record
module (#17325)
* remove unused `chia.wallet.block_record` module * missed it
This commit is contained in:
parent
f604e87bf1
commit
1a30c171ea
@ -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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user