Anoma.Node.Transaction.Mempool (Anoma v0.25.0)
Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.init/1
.
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()} }
Link to this type
tx_result()
@type tx_result() :: {:ok, any()} | :error | :in_progress
Link to this type
vm_result()
@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)
Link to this function
filter_for_mempool()
Link to this function
init(args)
@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)
@spec tx( String.t(), {Anoma.Node.Transaction.Backends.backend(), Noun.t()} ) :: :ok
Link to this function
tx(node_id, tx_w_backend, id)
@spec tx(String.t(), {Anoma.Node.Transaction.Backends.backend(), Noun.t()}, binary()) :: :ok
Link to this function
tx_dump(node_id)
@spec tx_dump(String.t()) :: [Anoma.Node.Transaction.Mempool.Tx.t()]
Link to this function
tx_event(tx_id, value, node_id)
Link to this function