Files
stacks-blockchain-api/rosetta-cli-config/rosetta-config-docker.json
Asim Mehmood f764054cb8 feat: rosetta data api and construction validation with rosetta-cli
* test: added test for rosetta cli check:construction and check:data

* ci: added github workflow to test  roseta-cli:data

* ci: add github action for rosetta-cli: construction

* refactor: refactor cli tests

* fix: use localhoust for github actions in rosetta config file

* fix: github actions

* fix: rebase issue

* refactor: update rosetta-cli env files path

* refactor: remove hard coded cli container and use rosetta-cli ouput

* perf: remove unnecessary wait of 20 seconds
2021-11-16 10:18:04 -06:00

86 lines
2.5 KiB
JSON

{
"network": {
"blockchain": "stacks",
"network": "testnet"
},
"online_url": "http://host.docker.internal:3999/rosetta/v1",
"data_directory": "",
"http_timeout": 10,
"tip_delay": 500,
"data": {
"active_reconciliation_concurrency": 16,
"inactive_reconciliation_concurrency": 4,
"inactive_reconciliation_frequency": 250,
"log_blocks": true,
"log_transactions": true,
"log_balance_changes": true,
"log_reconciliations": false,
"ignore_reconciliation_error": false,
"exempt_accounts": "exempt_accounts.json",
"bootstrap_balances": "bootstrap_balances.json",
"historical_balance_enabled": true,
"reconciliation_disabled": false,
"inactive_discrepency_search_disabled": false,
"balance_tracking_disabled": false,
"end_conditions": {
"reconciliation_coverage": {
"coverage": 0.80,
"index": 100
}
},
"results_output_file": "./rosetta-output/rosetta-cli-output.json"
},
"construction": {
"offline_url": "http://host.docker.internal:3999/rosetta/v1",
"max_offline_connections": 0,
"stale_depth": 0,
"broadcast_limit": 0,
"ignore_broadcast_failures": false,
"clear_broadcasts": false,
"broadcast_behind_tip": false,
"block_broadcast_limit": 0,
"rebroadcast_all": false,
"constructor_dsl_file": "stacks.ros",
"prefunded_accounts": [
{
"privkey": "21d43d2ae0da1d9d04cfcaac7d397a33733881081f0b2cd038062cf0ccbb7526",
"account_identifier": {
"address": "ST11NJTTKGVT6D1HY4NJRVQWMQM7TVAR091EJ8P2Y"
},
"curve_type": "secp256k1",
"currency": {
"symbol": "STX",
"decimals": 6
}
},
{
"privkey": "c71700b07d520a8c9731e4d0f095aa6efb91e16e25fb27ce2b72e7b698f8127a",
"account_identifier": {
"address": "ST1HB1T8WRNBYB0Y3T7WXZS38NKKPTBR3EG9EPJKR"
},
"curve_type": "secp256k1",
"currency": {
"symbol": "STX",
"decimals": 6
}
},
{
"privkey": "e75dcb66f84287eaf347955e94fa04337298dbd95aa0dbb985771104ef1913db",
"account_identifier": {
"address": "STRYYQQ9M8KAF4NS7WNZQYY59X93XEKR31JP64CP"
},
"curve_type": "secp256k1",
"currency": {
"symbol": "STX",
"decimals": 6
}
}
],
"end_conditions": {
"create_account": 10,
"transfer": 10
},
"results_output_file": "./rosetta-output/rosetta-cli-output-const.json"
}
}