Txbox.Mapi.Queue (Txbox v0.3.3) View Source
Miner API background queue.
Once a minute the Queue process queries the database for any transactions that should be added to the mAPI queue.
Link to this section Summary
Functions
Pushes the given transaction to the end of queue.
Starts the Queue process, linked to the current process.
Link to this section Functions
Specs
push(Txbox.Transactions.Tx.t()) :: :ok
Pushes the given transaction to the end of queue.
Specs
start_link(keyword()) :: GenServer.on_start()
Starts the Queue process, linked to the current process.