Skip to content
Discussion options

You must be logged in to vote

这才是文档

class BtConfig:
    output_file: str                   # Not used
    peer_list_file: str                # Filename of peer list (including this peer)
    has_chunk_file: str                # Filename of serialized chunk dictionary
    max_conn: int                      # Maximum concurrently connections
    identity: int                      # This peer's ID
    peers: list[tuple[str, str, str]]  # List of tuple (ID, hostname, port). Peer list
    haschunks: dict[str, bytes]        # Chunks data (hash -> data)
    verbose: int                       # Verbosity
    timeout: int                       # Timeout value, default 0.
                                       # If 0, you shoul…

Replies: 2 comments 1 reply

Comment options

TANSixu
Dec 1, 2022
Maintainer Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@TANSixu
Comment options

TANSixu Dec 1, 2022
Maintainer Author

Answer selected by TANSixu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation
2 participants