-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better padding with init command sample files. (#94)
- Loading branch information
Showing
14 changed files
with
87 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
name: "file_writer" | ||
config: | ||
name: "file_writer" | ||
config: | ||
# BlocksDir is the path to a directory where block data should be stored. | ||
# The directory is created if it doesn't exist. If no directory is provided | ||
# blocks are written to the Conduit data directory. | ||
#block-dir: "/path/to/block/files" | ||
|
||
# FilenamePattern is the format used to write block files. It uses go | ||
# string formatting and should accept one number for the round. | ||
# If the file has a '.gz' extension, blocks will be gzipped. | ||
# Default: "%[1]d_block.json" | ||
filename-pattern: "%[1]d_block.json" | ||
|
||
# DropCertificate is used to remove the vote certificate from the block data before writing files. | ||
drop-certificate: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
name: noop | ||
# noop has no config | ||
config: | ||
name: noop | ||
# noop has no config | ||
config: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
name: postgresql | ||
config: | ||
name: postgresql | ||
config: | ||
# Pgsql connection string | ||
# See https://github.com/jackc/pgconn for more details | ||
connection-string: "host= port=5432 user= password= dbname=" | ||
|
||
# Maximum connection number for connection pool | ||
# This means the total number of active queries that can be running | ||
# concurrently can never be more than this | ||
max-conn: 20 | ||
|
||
# The delete task prunes old transactions according to its configuration. | ||
# By default transactions are not deleted. | ||
delete-task: | ||
# Interval used to prune the data. The values can be -1 to run at startup, | ||
# 0 to disable, or N to run every N rounds. | ||
interval: 0 | ||
|
||
# Rounds to keep | ||
rounds: 100000 | ||
# Interval used to prune the data. The values can be -1 to run at startup, | ||
# 0 to disable, or N to run every N rounds. | ||
interval: 0 | ||
# Rounds to keep | ||
rounds: 100000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
name: file_reader | ||
config: | ||
name: file_reader | ||
config: | ||
# BlocksDir is the path to a directory where block data should be stored. | ||
# The directory is created if it doesn't exist. If no directory is provided | ||
# blocks are written to the Conduit data directory. | ||
#block-dir: "/path/to/directory" | ||
|
||
# RetryDuration controls the delay between checks when the importer has | ||
# caught up and is waiting for new blocks to appear. | ||
retry-duration: "5s" | ||
|
||
# RetryCount controls the number of times to check for a missing block | ||
# before generating an error. The retry count and retry duration should | ||
# be configured according the expected round time. | ||
retry-count: 5 | ||
|
||
# FilenamePattern is the format used to find block files. It uses go string | ||
# formatting and should accept one number for the round. | ||
filename-pattern: "%[1]d_block.json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
name: filter_processor | ||
config: | ||
# Whether or not the expression searches inner transactions for matches. | ||
search-inner: true | ||
# Whether the expression searches inner transactions for matches. | ||
search-inner: true | ||
|
||
# Whether or not to include the entire transaction group when the filter | ||
# conditions are met. | ||
omit-group-transactions: true | ||
# Whether to include the entire transaction group when the filter | ||
# conditions are met. | ||
omit-group-transactions: true | ||
|
||
# The list of filter expressions to use when matching transactions. | ||
filters: | ||
- any: | ||
- tag: txn.rcv | ||
expression-type: exact | ||
expression: "ADDRESS" | ||
# The list of filter expressions to use when matching transactions. | ||
filters: | ||
- any: | ||
- tag: txn.rcv | ||
expression-type: exact | ||
expression: "ADDRESS" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
name: noop | ||
# noop has no config | ||
config: | ||
config: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters