You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* cmd package refactor, contains wiring up and exec
* api layer (rest etc)
* introduction of session logic, and decoupling
* erigon node client service
* general file/dir cleaning, Docker, Make and semantic erroring
* git add all for any missed
* use of bridge middleware and removal of break line
* Update main.go
* Update helpers.go
* Update ui_handler.go
* Update helpers.go
---------
Co-authored-by: Dionysi Ntreou <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -183,7 +183,7 @@ If metrics are exposed, textual representation of metrics will be displayed in t
183
183
First, in the browser window, create a new operator session. Choose an arbitrary name. In real operations, one would choose the name
184
184
that can be easily correlate to the node being supported, for example, name or pseudonym of the person or the company operating the node.
185
185
186
-

186
+

187
187
188
188
After new session is created, it will be allocated a unique 8-digit PIN number. The pin is then displayed together with the session number on the screen.
189
189
Currently, generation of PIN numbers is not secure and always follows the same sequence, which makes testing easier. For example, the first
@@ -212,7 +212,7 @@ diagnostics system, start with `/support/` prefix, followed by the PIN of the se
212
212
Operators (those who are trying to assist the Erigon node users) also access Diagnostics system, but in the form of User Interface, built using HTML
213
213
and Javascript. The URLs used for such access, start with `ui/` prefix. In the code inside `cmd/root.go`, this corresponds to the `UiHandler` type.
214
214
215
-

215
+

216
216
217
217
# Currently implemented diagnostics
218
218
@@ -224,7 +224,7 @@ The code on the side of the diagnostics system is spread across files `cmd/ui_ha
224
224
the javascript handler), `assets/script/session.js` (function `fetchContent`), `assets/template/versions.html` (html template
225
225
for the content fetched by the `fetchContent` javascript function and inserted into the HTML div element).
226
226
227
-

227
+

228
228
229
229
## Command line arguments
230
230
@@ -234,14 +234,14 @@ The code on the side of the diagnostics system is spread across files `cmd/ui_ha
234
234
the javascript handler), `assets/script/session.js` (function `fetchContent`), `assets/template/cmd_line.html` (html template
235
235
for the content fetched by the `fetchContent` javascript function and inserted into the HTML div element).
236
236
237
-

237
+

238
238
239
239
## Flags
240
240
Operator can look at the flags that are set in cli context by the user to launch Erigon node. The corresponding code in Erigon is in the file `diagnostics/flags.go`. This is particularly useful when user launches Erigon using a config file with `--config` and [Command line arguments](#command-line-arguments) cannot fully capture the true state of the 'launch setting'. The returned flags are the result after parsing command line argument and config file by Erigon.
241
241
242
242
The code on the side of the diagnostics system is spread across files `cmd/ui_handler.go` (invocation of `processFlags` function), `cmd/flags.go`, `assets/template/session.html` (html template the part where the button `Fetch Flags` is defined with the javascript handler), `assets/script/session.js` (function `fetchContent`), `assets/template/flags.html` (html template for the content fetched by the `fetchContent` javascript function and inserted into the HTML div element).
243
243
244
-

244
+

245
245
246
246
247
247
## Logs
@@ -257,7 +257,7 @@ for the content fetched by the `fetchContent` javascript function and inserted i
257
257
for the buttons `Head`, `Tail` and `Clear` with the invocations of `fetchLogPart` and `clearLog` javascript functions, as well as construction of the
258
258
HTML link that activates the download of a log file). The download of a log file is implemented by the `transmitLogFile` function inside `cmd/logs.go`.
259
259
260
-

260
+

261
261
262
262
## Reorg scanner
263
263
@@ -277,7 +277,7 @@ in file `assets/script/session.js`, which appends them to `innerHTML` field of t
277
277
progress of the scanning for reorgs (with spacer html pieces, one for each 1000 blocks), and showing intermediate results of the scan (with block html pieces,
278
278
one for each reorged block found).
279
279
280
-

280
+

281
281
282
282
## Sync stages
283
283
@@ -289,7 +289,7 @@ The code on the side of the diagnostics system is spread across files `cmd/ui_ha
289
289
(HTML template the part where the button `Fetch Sync Stages` is defined with the javascript handler), `assets/script/session.js` (function `fetchContent`), `assets/template/sync_stages.html`
290
290
(HTML template for the content fetched by the `fetchContent` javascript function and inserted into the HTML table).
291
291
292
-

292
+

293
293
294
294
## Block Body Download
295
295
@@ -306,7 +306,7 @@ consumed by the javascript function `bodiesDownload` in the `assets/script/sessi
306
306
whenever the new HTML piece is available.
307
307
Each state is represented by a distinct colour, with the colour legend is also defined in the template file.
0 commit comments