Skip to main content
Engineering

When a transaction’s status is unknown

A timeout can happen after a payment leaves your device. Here is why Rockpile preserves uncertainty instead of automatically signing a replacement.

You approve a payment. The app submits it. Before a response arrives, the connection drops.

The network may have received the transaction even though your computer never received a response. The connection error alone cannot establish the payment’s outcome. A wallet that immediately offers a fresh payment can turn an ordinary network failure into an accidental duplicate.

Rockpile’s Solana delivery service treats this as an unknown outcome and retains the original transaction identity. The key design decision is where that uncertainty begins: when signed bytes may have left the application, not only after a server acknowledges them.

What each transaction status establishes

StageWhat has been established
SignedThe wallet authorized the encoded transaction
SubmittedDelivery was attempted; bytes may have reached a provider
RPC acknowledgedA provider returned a response about submission
ConfirmedThe observed chain status meets the configured confirmation requirement
UnknownAvailable evidence does not establish a final outcome

An RPC provider is a server the wallet uses to query or submit data to the blockchain. A submission acknowledgment from that server does not establish that a payment completed. Solana’s confirmation documentation explains why transaction expiration and observed chain status must be considered separately from submitting a request.

Record uncertainty before dispatch

The delivery service derives the expected transaction signature locally and serializes the signed transaction. Before dispatching the network request, it marks the operation as potentially submitted.

That ordering handles a subtle failure: a request may reach the provider, but the response may never return. If the app waited for a successful response before recording submission, it could mistakenly treat the payment as never sent.

Rockpile also compares an RPC’s returned signature with the signature of the transaction it actually submitted. A different identifier cannot stand in as evidence about this payment.

Retry delivery without changing the payment

The delivery loop can rebroadcast the same serialized bytes while checking the original signature’s status. It does not automatically obtain a new blockhash and sign a new transaction after submission becomes ambiguous.

A blockhash is part of the signed Solana message. Rebuilding with a new blockhash changes that message and produces a different transaction identity. The second transaction can represent the same instruction—“pay this person”—while having a different identity. If the original already landed, the replacement can become an additional payment.

Connection drops after submission
                ↓
Keep original signed transaction
                ↓
Check original signature
                ↓
Retry same bytes when appropriate

This policy prevents the delivery service from manufacturing a second authorization merely to clear a timeout. It does not prevent someone from manually creating another payment, which is why the displayed status and recovery guidance matter too.

Expiration requires evidence, not a guess

A recent-blockhash transaction has a limited validity window. Delivery checks block-height or blockhash validity through the configured connections and monitors the transaction’s status.

An expired validity window prevents a transaction from landing for the first time after that window. It does not prove the transaction failed to land earlier. A delayed client therefore still needs to investigate the original signature. The delivery service stops with the signature and a warning to check it, rather than silently re-signing the action.

A recorded network rejection is also different from an unavailable response. The service keeps rejection, confirmation, and transport uncertainty distinct so later decisions can use the evidence actually available.

Multi-step actions make this more important

Some wallet operations contain dependent steps. A later action may assume that an earlier deposit, account creation, or withdrawal completed. Advancing on a delivery acknowledgment can make local records disagree with the chain or start an action whose prerequisites do not exist.

For a bridge, the source transaction and destination receipt need separate reconciliation. Read bridge settlement verification for that two-chain case.

The same distinction applies to Bluetooth forwarding. A courier can report submission without proving confirmation. Workflows that require a confirmed result must not treat that report as permission to advance.

An unresolved status leaves work to investigate, but preserves the distinction between an unanswered request and a failed payment. For an actual stuck payment, use transaction troubleshooting to investigate the original identifier before authorizing another transfer.