startup-optimizations (#48)
resolves #34 Co-authored-by: johba <johba@harb.eth> Reviewed-on: https://codeberg.org/johba/harb/pulls/48
This commit is contained in:
parent
3ab2d9454a
commit
3a7162462b
12 changed files with 941 additions and 20 deletions
|
|
@ -197,14 +197,17 @@ main() {
|
|||
grant_recenter_access
|
||||
call_recenter
|
||||
seed_application_state
|
||||
prime_chain
|
||||
write_ponder_env
|
||||
write_txn_bot_env
|
||||
fund_txn_bot_wallet
|
||||
log "Bootstrap complete"
|
||||
prime_chain &
|
||||
local prime_pid=$!
|
||||
log "Bootstrap complete (mining blocks in background)"
|
||||
log "Kraiken: $KRAIKEN"
|
||||
log "Stake: $STAKE"
|
||||
log "LiquidityManager: $LIQUIDITY_MANAGER"
|
||||
wait $prime_pid
|
||||
log "Block mining complete"
|
||||
}
|
||||
|
||||
main "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue