Skip to content

Module BSV::Wallet::BroadcastQueue

Broadcast queue implementations. See {Interface::BroadcastQueue} for the contract.

Public Class Methods

status_for_error(error)

Maps a broadcast exception to a status string.

Shared helper so all queue adapters produce consistent status strings. - @param error [StandardError] the exception raised during broadcast - @return [String] one of +'doubleSpend'+, +'invalidTx'+, +'serviceError'+