mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-01-12 16:53:19 +08:00
* 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
96 lines
2.4 KiB
JSON
96 lines
2.4 KiB
JSON
{
|
|
"network": {
|
|
"blockchain": "stacks",
|
|
"network": "testnet"
|
|
},
|
|
"online_url": "http://localhost:3999/rosetta/v1",
|
|
"data_directory": "",
|
|
"http_timeout": 10,
|
|
"sync_concurrency": 8,
|
|
"transaction_concurrency": 16,
|
|
"tip_delay": 300,
|
|
"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": "rosetta-cli-config/exempt_accounts.json",
|
|
"bootstrap_balances": "rosetta-cli-config/bootstrap_balances.json",
|
|
"historical_balance_disabled": true,
|
|
"interesting_accounts": "",
|
|
"reconciliation_disabled": false,
|
|
"inactive_discrepency_search_disabled": false,
|
|
"balance_tracking_disabled": false,
|
|
"end_conditions": {
|
|
"reconciliation_coverage": 0.4
|
|
}
|
|
},
|
|
"construction": {
|
|
"offline_url": "http://localhost:3999/rosetta/v1",
|
|
"currency": {
|
|
"symbol": "STX",
|
|
"decimals": 6
|
|
},
|
|
"minimum_balance": "0",
|
|
"maximum_fee": "10000000000000000",
|
|
"curve_type": "secp256k1",
|
|
"accounting_model": "account",
|
|
"scenario": [
|
|
{
|
|
"operation_identifier": {
|
|
"index": 0
|
|
},
|
|
"type": "NATIVE_TRANSFER",
|
|
"status": "",
|
|
"account": {
|
|
"address": "{{ SENDER }}"
|
|
},
|
|
"amount": {
|
|
"value": "{{ SENDER_VALUE }}",
|
|
"currency": {
|
|
"symbol": "STX",
|
|
"decimals": 6
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"operation_identifier": {
|
|
"index": 1
|
|
},
|
|
"related_operations": [
|
|
{
|
|
"index": 0
|
|
}
|
|
],
|
|
"type": "NATIVE_TRANSFER",
|
|
"status": "",
|
|
"account": {
|
|
"address": "{{ RECIPIENT }}"
|
|
},
|
|
"amount": {
|
|
"value": "{{ RECIPIENT_VALUE }}",
|
|
"currency": {
|
|
"symbol": "STX",
|
|
"decimals": 6
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"confirmation_depth": 5,
|
|
"stale_depth": 30,
|
|
"broadcast_limit": 3,
|
|
"ignore_broadcast_failures": false,
|
|
"change_scenario": null,
|
|
"clear_broadcasts": false,
|
|
"broadcast_behind_tip": false,
|
|
"block_broadcast_limit": 5,
|
|
"rebroadcast_all": false,
|
|
"new_account_probability": 0.5,
|
|
"max_addresses": 200
|
|
}
|
|
}
|