From 4bb81255b326269798880ad11a55fe63ff75f6f7 Mon Sep 17 00:00:00 2001 From: Emil Lai Date: Thu, 16 Nov 2023 09:57:47 +0100 Subject: [PATCH 1/2] Update storage folders descriptions in troubleshooting guides and remove image from windows troubleshooting. --- source/mainnet/net/nodes/troubleshoot-docker.rst | 3 +++ source/mainnet/net/nodes/troubleshoot-macos.rst | 1 + source/mainnet/net/nodes/troubleshoot-ubuntu.rst | 5 ++++- source/mainnet/net/nodes/troubleshoot-windows.rst | 3 +-- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/source/mainnet/net/nodes/troubleshoot-docker.rst b/source/mainnet/net/nodes/troubleshoot-docker.rst index 3c6feb3236..f48a150bd3 100644 --- a/source/mainnet/net/nodes/troubleshoot-docker.rst +++ b/source/mainnet/net/nodes/troubleshoot-docker.rst @@ -15,6 +15,7 @@ Your node state directory should look something like this: .. code-block:: console + accountmap blockstate-0.dat blockstate-1.dat blockstate-2.dat @@ -26,6 +27,7 @@ But because of the error it might look like this: .. code-block:: console + accountmap blockstate-0.dat blockstate-1.dat blockstate-2.dat @@ -55,6 +57,7 @@ The database directory should contain matching pairs of ``blockstate-$i.dat`` an .. code-block:: console + accountmap blockstate-0.dat blockstate-1.dat blockstate-2.dat diff --git a/source/mainnet/net/nodes/troubleshoot-macos.rst b/source/mainnet/net/nodes/troubleshoot-macos.rst index 518b143c83..e0eb4386e7 100644 --- a/source/mainnet/net/nodes/troubleshoot-macos.rst +++ b/source/mainnet/net/nodes/troubleshoot-macos.rst @@ -21,6 +21,7 @@ The database directory should contain matching pairs of ``blockstate-$i.dat`` an .. code-block:: console + accountmap blockstate-0.dat blockstate-1.dat blockstate-2.dat diff --git a/source/mainnet/net/nodes/troubleshoot-ubuntu.rst b/source/mainnet/net/nodes/troubleshoot-ubuntu.rst index 9c75365ce4..39bde1e979 100644 --- a/source/mainnet/net/nodes/troubleshoot-ubuntu.rst +++ b/source/mainnet/net/nodes/troubleshoot-ubuntu.rst @@ -14,7 +14,8 @@ This error occurs due to the node running out of memory during the protocol upda Your node state directory should look something like this: .. code-block:: console - + + accountmap blockstate-0.dat blockstate-1.dat blockstate-2.dat @@ -26,6 +27,7 @@ But because of the error it might look like this: .. code-block:: console + accountmap blockstate-0.dat blockstate-1.dat blockstate-2.dat @@ -55,6 +57,7 @@ The database directory should contain matching pairs of ``blockstate-$i.dat`` an .. code-block:: console + accountmap blockstate-0.dat blockstate-1.dat blockstate-2.dat diff --git a/source/mainnet/net/nodes/troubleshoot-windows.rst b/source/mainnet/net/nodes/troubleshoot-windows.rst index a9364c868f..aef60d0e9e 100644 --- a/source/mainnet/net/nodes/troubleshoot-windows.rst +++ b/source/mainnet/net/nodes/troubleshoot-windows.rst @@ -26,10 +26,9 @@ The solution is to delete the relevant portion of the database. The database directory should contain matching pairs of ``blockstate-$i.dat`` and ``treestate-$i`` files for some number of consecutive i's starting at 0. The number of the files differs depending on which protocol version is current. -.. image:: ../images/run-node/windows-node-db-files.png - .. code-block:: console + accountmap blockstate-0.dat blockstate-1.dat blockstate-2.dat From f8457101d008548c92ccab562c6aec09ed7488f6 Mon Sep 17 00:00:00 2001 From: Emil Lai Date: Thu, 16 Nov 2023 10:05:25 +0100 Subject: [PATCH 2/2] lint fix. --- source/mainnet/net/nodes/troubleshoot-ubuntu.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/mainnet/net/nodes/troubleshoot-ubuntu.rst b/source/mainnet/net/nodes/troubleshoot-ubuntu.rst index 39bde1e979..c25df721fa 100644 --- a/source/mainnet/net/nodes/troubleshoot-ubuntu.rst +++ b/source/mainnet/net/nodes/troubleshoot-ubuntu.rst @@ -14,7 +14,7 @@ This error occurs due to the node running out of memory during the protocol upda Your node state directory should look something like this: .. code-block:: console - + accountmap blockstate-0.dat blockstate-1.dat