diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-05-21 16:47:29 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-05-21 18:43:22 +0200 |
commit | 7d80d2e3d7ecceb5a99fef357b118949f6dd8a79 (patch) | |
tree | dba16365618a86b323e65597e51824b1b8dc8619 /src/test/rpc_tests.cpp | |
parent | 46784d0826df00d218d25a1e3df419bef36d70ce (diff) |
Reorder AppInit2
This reorders AppInit2 into 10 sections:
1) basic setup (OS stuff, signal handlers)
2) parameter interactions (softset)
3) interpreting options without side effects (just setting internal variables)
4) application initialization (datadir lock, daemonize, pidfile, log file)
5) network initialization (network params, proxy, binding)
6) load blockchain
7) load wallet
8) import blocks (-loadblock=)
9) load peers
10) start node/rpc threads
11) finished
This means invalid configurations will be detected as soon as possible
(in particular, before loading the block chain).
Diffstat (limited to 'src/test/rpc_tests.cpp')
0 files changed, 0 insertions, 0 deletions