plugins.aea-test-autonomy.aea_
test_
autonomy.helpers.tendermint_
utils
Helpers for Tendermint.
TendermintNodeInfo Objects
class TendermintNodeInfo()
Data class to store Tendermint node info.
__
init__
def __init__(node_id: str, abci_port: int, rpc_port: int, p2p_port: int,
home: Path)
Initialize Tendermint node info.
rpc_
laddr
@property
def rpc_laddr() -> str
Get ith rpc_laddr.
get_
http_
addr
def get_http_addr(host: str) -> str
Get ith HTTP RCP address, given the host.
p2p_
laddr
@property
def p2p_laddr() -> str
Get ith p2p_laddr.
TendermintLocalNetworkBuilder Objects
class TendermintLocalNetworkBuilder()
Build a local Tendermint network.
__
init__
def __init__(nb_nodes: int,
directory: Path,
consensus_create_empty_blocks: bool = True) -> None
Initialize the builder.
get_
p2p_
seeds
def get_p2p_seeds() -> List[str]
Get p2p seeds.
get_
command
def get_command(i: int) -> List[str]
Get command-line command for the ith process.
http_
rpc_
laddrs
@property
def http_rpc_laddrs() -> List[str]
Get HTTP RPC listening addresses.
BaseTendermintTestClass Objects
class BaseTendermintTestClass()
MixIn class for Pytest classes.
health_
check
@staticmethod
def health_check(tendermint_net: TendermintLocalNetworkBuilder,
**kwargs: Any) -> None
Do a health-check of the Tendermint network.