diff options
Diffstat (limited to 'eth/downloader/modes.go')
-rw-r--r-- | eth/downloader/modes.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/eth/downloader/modes.go b/eth/downloader/modes.go index ec339c074..c2ce0cfef 100644 --- a/eth/downloader/modes.go +++ b/eth/downloader/modes.go @@ -24,3 +24,11 @@ const ( FastSync // Quickly download the headers, full sync only at the chain head LightSync // Download only the headers and terminate afterwards ) + +// syncModeLabels contains a mapping of sync modes to textual label used by the +// logging system. +var syncModeLabels = map[SyncMode]string{ + FullSync: "full", + FastSync: "fast", + LightSync: "light", +} |