Anoma.Node.Transaction.Mempool (Anoma v0.25.0)

Summary

Types

@type t() :: %Anoma.Node.Transaction.Mempool{
  node_id: String.t() | nil,
  round: non_neg_integer(),
  transactions: %{required(binary()) => Anoma.Node.Transaction.Mempool.Tx.t()}
}
@type tx_result() :: {:ok, any()} | :error | :in_progress
@type vm_result() :: {:ok, Noun.t()} | :error | :in_progress

Functions

Link to this function

block_event(id_list, round, node_id)

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

consensus_event(id_list, node_id)

Link to this function

execute(node_id, ordered_list_of_txs)

@spec execute(String.t(), [binary()]) :: :ok
Link to this function

filter_for_mempool()

@spec init([startup_options()]) :: {:ok, t()}

Callback implementation for GenServer.init/1.

Link to this function

start_link(args \\ [])

@spec start_link([startup_options()]) :: GenServer.on_start()
Link to this function

tx(node_id, tx_w_backend)

Link to this function

tx(node_id, tx_w_backend, id)

Link to this function

tx_dump(node_id)

Link to this function

tx_event(tx_id, value, node_id)

Link to this function

worker_module_filter()