Documentation
¶
Index ¶
Constants ¶
const DefaultGRPCServiceConfig = `` /* 256-byte string literal not displayed */
DefaultGRPCServiceConfig provides automatic retry configuration for transient gRPC errors. This config is applied to all remote gRPC connections to handle network flakiness in CI and other environments.
Retries on: - UNAVAILABLE: Service temporarily unavailable (e.g., node restarting) - RESOURCE_EXHAUSTED: Rate limiting from remote node - UNKNOWN: Connection failures, DNS issues, and other network errors
Note: We only retry on clearly transient network/availability errors. We do NOT retry on INTERNAL (programming errors), ABORTED (conflicts), or DEADLINE_EXCEEDED (to avoid cascading failures on slow services).
Variables ¶
This section is empty.
Functions ¶
func PrintScheduledTransactionResult ¶ added in v1.8.0
func PrintScheduledTransactionResult(logger *zerolog.Logger, result *types.TransactionResult, scheduledTxID string)
PrintScheduledTransactionResult prints a clearly labeled log entry for scheduled transactions execute transactions so they can be easily distinguished from user transactions.
func PrintScriptResult ¶
func PrintScriptResult(logger *zerolog.Logger, result *types.ScriptResult)
func PrintTransactionResult ¶
func PrintTransactionResult(logger *zerolog.Logger, result *types.TransactionResult)
Types ¶
This section is empty.