-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Have basics of a configuration generation tool for expanded testing. …
…I foresee much more expanded functionality in the future and a lot of potential. This will require some possible rework of some existing code, however, as well as integration tests to make use of this proposed functionality. Also reorganized config files into their own directory which seems neater. Also needed to fix docker stff. Might need to revert docker stuff. Not sure how that will affect others. Signed-off-by: Yiannis Karavas <[email protected]>
- Loading branch information
Showing
26 changed files
with
1,393 additions
and
22 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
2pc=1 | ||
sentinel_count=1 | ||
shard_count=1 | ||
coordinator_count=1 | ||
coordinator_max_threads=1 | ||
election_timeout_upper=4000 | ||
election_timeout_lower=3000 | ||
heartbeat=1000 | ||
raft_max_batch=100000 | ||
snapshot_distance=1000000000 | ||
batch_size=1 | ||
wait_for_followers=0 | ||
loadgen_invalid_tx_rate=0.00 | ||
loadgen_fixed_tx_rate=0.01 | ||
loadgen_sendtx_output_count=1 | ||
loadgen_sendtx_input_count=1 | ||
initial_mint_count=20000 | ||
initial_mint_value=100 | ||
tmpl_randomize_values=1 | ||
tmpl_shard_start=0 | ||
tmpl_shard_size=255 | ||
tmpl_avg_shard_start_end_overlap_percent=0.15 | ||
tmpl_default_log_level="INFO" | ||
tmpl_universal_override_log_level="WARN" | ||
tmpl_sentinel_log_level="WARN" | ||
tmpl_coordinator_log_level="DEBUG" | ||
tmpl_shard_log_level="DEBUG" |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
project(config_gen) | ||
|
||
include_directories(../../src ../../3rdparty/secp256k1/include) | ||
|
||
add_library(config_generator config_generator.cpp) | ||
|
||
add_executable(generate_config generate_config.cpp) | ||
|
||
target_link_libraries(generate_config config_generator | ||
util | ||
network | ||
common | ||
crypto | ||
secp256k1) |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
2pc=0 | ||
archiver_count=1 | ||
atomizer_count=1 | ||
shard_count=1 | ||
sentinel_count=1 | ||
watchtower_count=1 | ||
target_block_interval=3000 | ||
stxo_cache_depth=2 | ||
target_block_interval=250 | ||
election_timeout_upper=4000 | ||
election_timeout_lower=3000 | ||
heartbeat=1000 | ||
raft_max_batch=100000 | ||
snapshot_distance=1000000000 | ||
batch_size=1 | ||
wait_for_followers=0 | ||
loadgen_invalid_tx_rate=0.00 | ||
loadgen_fixed_tx_rate=0.01 | ||
loadgen_sendtx_output_count=1 | ||
loadgen_sendtx_input_count=1 | ||
initial_mint_count=20000 | ||
initial_mint_value=100 | ||
tmpl_randomize_values=1 | ||
tmpl_shard_start=0 | ||
tmpl_shard_size=255 | ||
tmpl_avg_shard_start_end_overlap_percent=0.15 | ||
tmpl_default_log_level="INFO" | ||
tmpl_sentinel_log_level="DEBUG" | ||
tmpl_shard_log_level="INFO" | ||
tmpl_watchtower_log_level="DEBUG" | ||
tmpl_archiver_log_level="DEBUG" | ||
tmpl_atomizer_log_level="DEBUG" |
Oops, something went wrong.