diff --git a/public/locales/en.json b/public/locales/en.json
index 709b524..ac5aa97 100644
--- a/public/locales/en.json
+++ b/public/locales/en.json
@@ -285,6 +285,7 @@
"autoRefreshTablesDescription": "Whether or not large table listings (e.g. transactions, names) should automatically refresh when a change is detected on the network.",
"subMenuAdvanced": "Advanced settings",
+ "alwaysIncludeMined": "Always include mined transactions in transaction listings (may require refresh)",
"copyNameSuffixes": "Include suffix when copying names",
"addressCopyButtons": "Show copy buttons next to all addresses",
"nameCopyButtons": "Show copy buttons next to all names",
diff --git a/src/pages/settings/SettingsPage.tsx b/src/pages/settings/SettingsPage.tsx
index 14a8a76..7a39195 100644
--- a/src/pages/settings/SettingsPage.tsx
+++ b/src/pages/settings/SettingsPage.tsx
@@ -53,6 +53,11 @@
{/* Advanced settings */}
} title={t("settings.subMenuAdvanced")}>
+ {/* Always include mined transactions */}
+
+
+
+
{/* Copy name suffixes */}
diff --git a/src/pages/transactions/TransactionsPage.tsx b/src/pages/transactions/TransactionsPage.tsx
index 593a93e..08b0190 100644
--- a/src/pages/transactions/TransactionsPage.tsx
+++ b/src/pages/transactions/TransactionsPage.tsx
@@ -91,8 +91,9 @@
export function TransactionsPage({ listingType }: Props): JSX.Element {
const { t } = useTranslation();
const { address, name } = useParams();
+ const alwaysIncludeMined = useBooleanSetting("alwaysIncludeMined");
- const [includeMined, setIncludeMined] = useState(false);
+ const [includeMined, setIncludeMined] = useState(alwaysIncludeMined);
// If there is an error (e.g. the lookup rejected the address list due to an
// invalid address), the table will bubble it up to here
const [error, setError] = useState();
diff --git a/src/utils/settings.ts b/src/utils/settings.ts
index 673b498..0a47a53 100644
--- a/src/utils/settings.ts
+++ b/src/utils/settings.ts
@@ -17,6 +17,8 @@
* when a change is detected on the network. */
readonly autoRefreshTables: boolean;
+ /** Always include mined transactions by default in transaction listings. */
+ readonly alwaysIncludeMined: boolean;
/** Whether or not to include the name suffix when copying a name. */
readonly copyNameSuffixes: boolean;
/** Show copy buttons next to all addresses. */
@@ -31,6 +33,7 @@
export const DEFAULT_SETTINGS: SettingsState = {
autoRefreshTables: true,
+ alwaysIncludeMined: false,
copyNameSuffixes: true,
addressCopyButtons: false,
nameCopyButtons: false,