Skip to content

Commit

Permalink
Remove all forms of log_level from everywhere. Smoke but no fire.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjayrush committed Jul 31, 2023
1 parent 70c8dc0 commit 55b2d10
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 49 deletions.
16 changes: 8 additions & 8 deletions docs/content/chifra/admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,14 +203,14 @@ Each of the following additional configurable command line options are available
**Configuration file:** `$CONFIG/$CHAIN/blockScrape.toml`
**Configuration group:** `[settings]`

| Item | Type | Default | Description / Default |
| ---------------------------- | ------ | ------- | ------------------------------------------------------------------------------------------------------------------------ |
| apps_per_chunk | uint64 | 200000 | the number of appearances to build into a chunk before consolidating it |
| snap_to_grid | uint64 | 100000 | an override to apps_per_chunk to snap-to-grid at every modulo of this value, this allows easier corrections to the index |
| first_snap | uint64 | 0 | the first block at which snap_to_grid is enabled |
| unripe_dist | uint64 | 28 | the distance (in blocks) from the front of the chain under which (inclusive) a block is considered unripe |
| channel_count | uint64 | 20 | number of concurrent processing channels |
| allow_missing | bool | true | do not report errors for blockchains that contain blocks with zero addresses |
| Item | Type | Default | Description / Default |
| ------------------ | ------------ | ------------ | --------- |
| apps_per_chunk | uint64 | 200000 | the number of appearances to build into a chunk before consolidating it |
| snap_to_grid | uint64 | 100000 | an override to apps_per_chunk to snap-to-grid at every modulo of this value, this allows easier corrections to the index |
| first_snap | uint64 | 0 | the first block at which snap_to_grid is enabled |
| unripe_dist | uint64 | 28 | the distance (in blocks) from the front of the chain under which (inclusive) a block is considered unripe |
| channel_count | uint64 | 20 | number of concurrent processing channels |
| allow_missing | bool | true | do not report errors for blockchains that contain blocks with zero addresses |


These items may be set in three ways, each overridding the preceeding method:
Expand Down
16 changes: 8 additions & 8 deletions docs/readmes/admin-scrape.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ Each of the following additional configurable command line options are available
**Configuration file:** `$CONFIG/$CHAIN/blockScrape.toml`
**Configuration group:** `[settings]`

| Item | Type | Default | Description / Default |
| ---------------------------- | ------ | ------- | ------------------------------------------------------------------------------------------------------------------------ |
| apps_per_chunk | uint64 | 200000 | the number of appearances to build into a chunk before consolidating it |
| snap_to_grid | uint64 | 100000 | an override to apps_per_chunk to snap-to-grid at every modulo of this value, this allows easier corrections to the index |
| first_snap | uint64 | 0 | the first block at which snap_to_grid is enabled |
| unripe_dist | uint64 | 28 | the distance (in blocks) from the front of the chain under which (inclusive) a block is considered unripe |
| channel_count | uint64 | 20 | number of concurrent processing channels |
| allow_missing | bool | true | do not report errors for blockchains that contain blocks with zero addresses |
| Item | Type | Default | Description / Default |
| ------------------ | ------------ | ------------ | --------- |
| apps_per_chunk | uint64 | 200000 | the number of appearances to build into a chunk before consolidating it |
| snap_to_grid | uint64 | 100000 | an override to apps_per_chunk to snap-to-grid at every modulo of this value, this allows easier corrections to the index |
| first_snap | uint64 | 0 | the first block at which snap_to_grid is enabled |
| unripe_dist | uint64 | 28 | the distance (in blocks) from the front of the chain under which (inclusive) a block is considered unripe |
| channel_count | uint64 | 20 | number of concurrent processing channels |
| allow_missing | bool | true | do not report errors for blockchains that contain blocks with zero addresses |


These items may be set in three ways, each overridding the preceeding method:
Expand Down
16 changes: 8 additions & 8 deletions src/apps/chifra/internal/scrape/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ Each of the following additional configurable command line options are available
**Configuration file:** `$CONFIG/$CHAIN/blockScrape.toml`
**Configuration group:** `[settings]`

| Item | Type | Default | Description / Default |
| ---------------------------- | ------ | ------- | ------------------------------------------------------------------------------------------------------------------------ |
| apps_per_chunk | uint64 | 200000 | the number of appearances to build into a chunk before consolidating it |
| snap_to_grid | uint64 | 100000 | an override to apps_per_chunk to snap-to-grid at every modulo of this value, this allows easier corrections to the index |
| first_snap | uint64 | 0 | the first block at which snap_to_grid is enabled |
| unripe_dist | uint64 | 28 | the distance (in blocks) from the front of the chain under which (inclusive) a block is considered unripe |
| channel_count | uint64 | 20 | number of concurrent processing channels |
| allow_missing | bool | true | do not report errors for blockchains that contain blocks with zero addresses |
| Item | Type | Default | Description / Default |
| ------------------ | ------------ | ------------ | --------- |
| apps_per_chunk | uint64 | 200000 | the number of appearances to build into a chunk before consolidating it |
| snap_to_grid | uint64 | 100000 | an override to apps_per_chunk to snap-to-grid at every modulo of this value, this allows easier corrections to the index |
| first_snap | uint64 | 0 | the first block at which snap_to_grid is enabled |
| unripe_dist | uint64 | 28 | the distance (in blocks) from the front of the chain under which (inclusive) a block is considered unripe |
| channel_count | uint64 | 20 | number of concurrent processing channels |
| allow_missing | bool | true | do not report errors for blockchains that contain blocks with zero addresses |


These items may be set in three ways, each overridding the preceeding method:
Expand Down
4 changes: 2 additions & 2 deletions src/dev_tools/utillib/options_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ bool COptionsBase::isBadSingleDash(const string_q& arg) const {
return true;
}

CStringArray builtInCmds = {"verbose", "fmt", "ether", "output", "append",
"raw", "wei", "version", "nocolor", "noop"};
CStringArray builtInCmds = {"verbose", "fmt", "ether", "output", "append",
"raw", "wei", "version", "nocolor", "noop"};

for (auto bi : builtInCmds) {
if (arg == ("-" + bi))
Expand Down
4 changes: 2 additions & 2 deletions src/libs/utillib/options_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ bool COptionsBase::isBadSingleDash(const string_q& arg) const {
return true;
}

CStringArray builtInCmds = {"verbose", "fmt", "ether", "output", "append",
"raw", "wei", "version", "nocolor", "noop"};
CStringArray builtInCmds = {"verbose", "fmt", "ether", "output", "append",
"raw", "wei", "version", "nocolor", "noop"};

for (auto bi : builtInCmds) {
if (arg == ("-" + bi))
Expand Down
2 changes: 1 addition & 1 deletion test/gold/apps/daemon/daemon_caps_allowed.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
chifra daemon --nocolor --noop --version --verbose --fail_on_purpose
chifra daemon --nocolor --noop --version --verbose --fail_on_purpose
Error:
unknown flag: --fail_on_purpose

Expand Down
20 changes: 0 additions & 20 deletions test/gold/tools/whenBlock/api_tests/whenBlock_verbose_level_1.txt

This file was deleted.

0 comments on commit 55b2d10

Please sign in to comment.