Backports to beta v1.3.6 (#2571)

* v1.3.6

* Print backtrace on panic (#2535)

* Don't activate peers on connect; Test (#2537)

* Removing unwarps from sync module (#2551)

* Remove unwrap from client module (#2554)

* remove unwraps in client

* imporve block hash expect message

* mining perf trace

* Fixed race condition in trace import (#2555)
This commit is contained in:
Arkadiy Paronyan
2016-10-11 15:53:45 +02:00
committed by GitHub
parent 4b7c97783b
commit 8492e3e61d
13 changed files with 244 additions and 179 deletions

View File

@@ -117,6 +117,8 @@ fn start() -> Result<String, String> {
}
fn main() {
// Always print backtrace on panic.
::std::env::set_var("RUST_BACKTRACE", "1");
// just redirect to the sync::main()
if std::env::args().nth(1).map_or(false, |arg| arg == "sync") {
sync::main();