Struct ckb_testkit::Node[][src]

pub struct Node { /* fields omitted */ }

Implementations

Return the cloned node with node_name.

Get the transaction cycles via RPC dry_run_transaction.

NOTE: Transaction runs on different VM comsumes different cycles. Therefore, if a transaction triggers a script with ScriptHashType::Type, its transaction cycles depend on whether the node is fork2021 activated.

P2p listen address, without node_id. E.g. “/ip4/0.0.0.0/tcp/9003”

P2p listen address with node_id. E.g. “/ip4/0.0.0.0/tcp/9003/p2p/QmaPV8Ly4YZe2L8B11b2Rvy8YLsvKo4TtfuqhJQzfPcK5T”

The states of chain and txpool are updated asynchronously. Which means that the chain has updated to the newest tip but txpool not. get_tip_tx_pool_info wait to ensure the txpool update to the newest tip as well.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more